|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.extjs.gxt.ui.client.data.BaseModelData
com.extjs.gxt.ui.client.util.Theme
public class Theme
A UI theme. Themes should be registered via the @link ThemeManager
as
soon as the application module is loaded (onModuleLoad).
BLUE
,
GRAY
,
Serialized FormField Summary | |
---|---|
static Theme |
BLUE
Default GXT blue theme. |
static Theme |
GRAY
GXT gray theme (default path is 'gxt/css/gxt-gray.css'). |
Fields inherited from class com.extjs.gxt.ui.client.data.BaseModelData |
---|
allowNestedValues, map |
Constructor Summary | |
---|---|
protected |
Theme()
|
|
Theme(java.lang.String id,
java.lang.String name,
java.lang.String file)
Creates a new theme. |
Method Summary | |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
asMap()
|
java.lang.String |
getFile()
Returns the theme's CSS file. |
java.lang.String |
getId()
Returns the theme id. |
java.lang.String |
getName()
Returns the theme name. |
void |
init()
Well be called when theme is initialized. |
Methods inherited from class com.extjs.gxt.ui.client.data.BaseModelData |
---|
get, get, getProperties, getPropertyNames, isAllowNestedValues, remove, set, setAllowNestedValues, setProperties |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static Theme BLUE
public static Theme GRAY
Constructor Detail |
---|
protected Theme()
public Theme(java.lang.String id, java.lang.String name, java.lang.String file)
id
- the theme idname
- the theme namefile
- the CSS fileMethod Detail |
---|
public java.lang.String getId()
public java.lang.String getName()
public java.lang.String getFile()
public java.util.Map<java.lang.String,java.lang.Object> asMap()
public void init()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |