Package com.iizix.prop.ui.device
Enum Class UIThemes.Name
- All Implemented Interfaces:
- Serializable,- Comparable<UIThemes.Name>,- Constable
- Enclosing class:
- UIThemes
The names of available themes for the Client. One desktop theme is always used, and can be combined with a mobile theme (or none).
- Author:
- Christopher Mindus
- Nested Class Summary- Nested classes/interfaces inherited from class java.lang.Enum- Enum.EnumDesc<E extends Enum<E>>
- Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionDesktop theme: DBOOTSTRAP ("dbootstrap").Desktop theme: FLAT ("flat").Mobile theme: MOBILE_IOS_7 ("ios7") iOS 7 and better.
- Field SummaryFields
- Method SummaryModifier and TypeMethodDescription- String[]Gets the full path names of the theme CSS files array that is needed for the theme in question.- String[]Gets the short path names of the theme CSS files array that is needed for the theme in question.- static UIThemes.NameReturns the enum constant of this class with the specified name.- static UIThemes.Name[]- values()Returns an array containing the constants of this enum class, in the order they are declared.
- Enum Constant Details- DESKTOP_FLATDesktop theme: FLAT ("flat").
- DESKTOP_DBOOTSTRAPDesktop theme: DBOOTSTRAP ("dbootstrap").
- MOBILE_IOS_7Mobile theme: MOBILE_IOS_7 ("ios7") iOS 7 and better.
 
- Field Details- nameThe name.
- descriptionThe description.
- isMobilepublic boolean isMobileFlag for mobile.
- prioritypublic final int priorityPriority based: the higher the number to higher priority.
 
- Method Details- valuesReturns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
 
- valueOfReturns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum class has no constant with the specified name
- NullPointerException- if the argument is null
 
- getShortCSSGets the short path names of the theme CSS files array that is needed for the theme in question.- Returns:
- An array of strings, starting with "D/" or "M/" that should be replaced with "/$[release.]dojo.root$/dijit/themes/" and "/$[release.]dojo.root$/dojox/mobile/themes/" respectively.
 
- getFullPathCSSGets the full path names of the theme CSS files array that is needed for the theme in question.- Returns:
- An array of path file names to CSS files located in the web server root.