|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Skins
Properties used to manage to the the overall appearance of the application.
A "skin" consists of
skin_styles.css
: a .css file defining the set of
classes to apply to SmartGWT components' visual elementsimages/
: a directory of image files used as part of visual
componentsload_skin.js
: a .js file containing overrides for various
SmartGWT component properties that affect the appearance of those components.skin
attribute of the loadISCTag or
by including the appropriate load_skin.js
source file with a standard script
include tag.
To create a custom skin, we suggest making a complete copy of an existing skin, then modifying the media, css class definitions and component property overrides you wish to change.
Note that the load_skin.js
file contains a Page.setSkinDir()
directive to set up the skin dir (used to ensure media is retrieved from the appropriate
directory), and a Page.loadStyleSheet(java.lang.String)
directive to load the .css file.
See the 'Skinning Overview'
for more information.
Page.setSkinDir()
,
Page.loadStyleSheet(java.lang.String)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |