Enum Class AttributeWidget.WidgetType

java.lang.Object
java.lang.Enum<AttributeWidget.WidgetType>
se.conciliate.extensions.attribute.AttributeWidget.WidgetType
All Implemented Interfaces:
Serializable, Comparable<AttributeWidget.WidgetType>, Constable
Enclosing interface:
AttributeWidget

public static enum AttributeWidget.WidgetType extends Enum<AttributeWidget.WidgetType>
The widget type determines where it is suitable to place the widget.
  • Enum Constant Details

    • CELL

      public static final AttributeWidget.WidgetType CELL
      Widgets of type cell can be placed, for example, in tables, trees, lists, combo boxes and menus.
    • CANVAS

      public static final AttributeWidget.WidgetType CANVAS
      Widgets of type canvas can be placed, for example, in tabs, popups, dialogs, windows and sidebars. They are not suitable to place in for example a table or tree (because they are generally too big).
    • WINDOW

      public static final AttributeWidget.WidgetType WINDOW
      Widgets of type window cannot be placed inside other widgets, but rather they display their own window such as a dialog or popup.
  • Method Details

    • values

      public static AttributeWidget.WidgetType[] 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 AttributeWidget.WidgetType 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