com.extjs.gxt.ui.client.util
Class Theme

java.lang.Object
  extended by com.extjs.gxt.ui.client.data.BaseModelData
      extended by 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 com.extjs.gxt.ui.client.data.BaseModelData
get, get, getProperties, getPropertyNames, isAllowNestedValues, remove, set, setAllowNestedValues, setProperties
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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').

Constructor Detail

Theme

public Theme(java.lang.String id,
             java.lang.String name,
             java.lang.String file)
Method Detail

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()