Enum Class DashboardIcon

java.lang.Object
java.lang.Enum<DashboardIcon>
io.jmix.dashboardsui.DashboardIcon
All Implemented Interfaces:
Icons.Icon, Serializable, Comparable<DashboardIcon>, Constable

public enum DashboardIcon extends Enum<DashboardIcon> implements Icons.Icon
  • Enum Constant Details

    • VERTICAL_LAYOUT_ICON

      public static final DashboardIcon VERTICAL_LAYOUT_ICON
    • HORIZONTAL_LAYOUT_ICON

      public static final DashboardIcon HORIZONTAL_LAYOUT_ICON
    • GRID_LAYOUT_ICON

      public static final DashboardIcon GRID_LAYOUT_ICON
    • CSS_LAYOUT_ICON

      public static final DashboardIcon CSS_LAYOUT_ICON
    • TRASH_ICON

      public static final DashboardIcon TRASH_ICON
    • GEAR_ICON

      public static final DashboardIcon GEAR_ICON
  • Field Details

    • source

      protected String source
  • Method Details

    • values

      public static DashboardIcon[] 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 DashboardIcon 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
    • source

      public String source()
      Specified by:
      source in interface Icons.Icon
      Returns:
      icon source: "font-icon:ADD", "theme://createIcon", etc
    • iconName

      public String iconName()
      Specified by:
      iconName in interface Icons.Icon
      Returns:
      icon name: "ADD", "CREATE", etc