Enum Class UIThemes.Name

java.lang.Object
java.lang.Enum<UIThemes.Name>
com.iizix.prop.ui.device.UIThemes.Name
All Implemented Interfaces:
Serializable, Comparable<UIThemes.Name>, Constable
Enclosing class:
UIThemes

public static enum UIThemes.Name extends Enum<UIThemes.Name>
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
  • Enum Constant Details

    • DESKTOP_FLAT

      public static final UIThemes.Name DESKTOP_FLAT
      Desktop theme: FLAT ("flat").
    • DESKTOP_DBOOTSTRAP

      public static final UIThemes.Name DESKTOP_DBOOTSTRAP
      Desktop theme: DBOOTSTRAP ("dbootstrap").
    • MOBILE_IOS_7

      public static final UIThemes.Name MOBILE_IOS_7
      Mobile theme: MOBILE_IOS_7 ("ios7") iOS 7 and better.
  • Field Details

    • name

      public final String name
      The name.
    • description

      public final String description
      The description.
    • isMobile

      public boolean isMobile
      Flag for mobile.
    • priority

      public final int priority
      Priority based: the higher the number to higher priority.
  • Method Details

    • values

      public static UIThemes.Name[] 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

      public static UIThemes.Name valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getShortCSS

      public String[] 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

      public String[] 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.