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 Summary
Enum ConstantDescriptionDesktop theme: DBOOTSTRAP ("dbootstrap").Desktop theme: FLAT ("flat").Mobile theme: MOBILE_IOS_7 ("ios7") iOS 7 and better.Field Summary
Method Summary
Modifier and TypeMethodDescriptionString[]
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.Name
Returns 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_FLAT
Desktop theme: FLAT ("flat").DESKTOP_DBOOTSTRAP
Desktop theme: DBOOTSTRAP ("dbootstrap").MOBILE_IOS_7
Mobile theme: MOBILE_IOS_7 ("ios7") iOS 7 and better.
Field Details
name
The name.description
The description.isMobile
public boolean isMobileFlag for mobile.priority
public final int priorityPriority based: the higher the number to higher priority.
Method Details
values
Returns 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
valueOf
Returns 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 nameNullPointerException
- if the argument is null
getShortCSS
Gets 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.
getFullPathCSS
Gets 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.