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 Link icon

    • DESKTOP_FLAT Link icon

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

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

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

    • name Link icon

      public final String name
      The name.
    • description Link icon

      public final String description
      The description.
    • isMobile Link icon

      public boolean isMobile
      Flag for mobile.
    • priority Link icon

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

    • values Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      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.