com.extjs.gxt.ui.client.util
Class Theme
java.lang.Object
com.extjs.gxt.ui.client.data.BaseModelData
com.extjs.gxt.ui.client.util.Theme
All Implemented Interfaces: ModelData , java.io.Serializable
Direct Known Subclasses: Slate
public class Theme extends BaseModelData
A UI theme. Themes are identified by there an id. The CSS stylesheet(s)
should be included in the host HTML file and given a class = the id. See
below for an example of the "gray" theme. Note the class name for each link
matches the id "gray":
See Also: BLUE ,
GRAY ,
Serialized Form
Field Summary
static Theme
BLUE
Default GXT blue theme.
static Theme
GRAY
GXT gray theme (default path is 'gxt/css/gxt-gray.css').
Constructor Summary
Theme (java.lang.String id,
java.lang.String name,
java.lang.String file)
Method Summary
java.util.Map<java.lang.String,java.lang.Object>
asMap ()
java.lang.String
getFile ()
java.lang.String
getId ()
java.lang.String
getName ()
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
BLUE
public static Theme BLUE
Default GXT blue theme.
GRAY
public static Theme GRAY
GXT gray theme (default path is 'gxt/css/gxt-gray.css').
Theme
public Theme (java.lang.String id,
java.lang.String name,
java.lang.String file)
getId
public java.lang.String getId ()
getName
public java.lang.String getName ()
getFile
public java.lang.String getFile ()
asMap
public java.util.Map<java.lang.String,java.lang.Object> asMap ()