Enum Class SwingFormViewMode

java.lang.Object
java.lang.Enum<SwingFormViewMode>
de.espirit.firstspirit.ui.gadgets.swing.SwingFormViewMode
All Implemented Interfaces:
Serializable, Comparable<SwingFormViewMode>, Constable

public enum SwingFormViewMode extends Enum<SwingFormViewMode>
View mode for gadgets. Beside the default mode there is a toolbar view mode for which gadgets may optionally render themselves in a more compact way.
Since:
5.2.900
See Also:
  • Enum Constant Details

    • DEFAULT

      public static final SwingFormViewMode DEFAULT
      Default mode.
      Since:
      5.2.900
    • TOOLBAR

      public static final SwingFormViewMode TOOLBAR
      Toolbar mode. Gadgets may optionally render themselves in a more compact way when this mode is provided.
      Since:
      5.2.900
  • Method Details

    • values

      public static SwingFormViewMode[] 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 SwingFormViewMode 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