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
The widget type determines where it is suitable to place the widget.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionWidgets of type canvas can be placed, for example, in tabs, popups, dialogs, windows and sidebars.Widgets of type cell can be placed, for example, in tables, trees, lists, combo boxes and menus.Widgets of type window cannot be placed inside other widgets, but rather they display their own window such as a dialog or popup. -
Method Summary
Modifier and TypeMethodDescriptionstatic AttributeWidget.WidgetType
Returns the enum constant of this class with the specified name.static AttributeWidget.WidgetType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CELL
Widgets of type cell can be placed, for example, in tables, trees, lists, combo boxes and menus. -
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
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
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
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 nameNullPointerException
- if the argument is null
-