D - the specialized type of DockAction that uses this typepublic class ActionType<D extends DockAction> extends Object
DockAction is to be used. The
ActionType is needed by the ActionViewConverter to create a view
for a particular DockAction. Client code may create new ActionTypes,
but must ensure that the ActionViewConverter knows these new types.| Modifier and Type | Field and Description |
|---|---|
static ActionType<ButtonDockAction> |
BUTTON
The action behaves like a button: it can be triggered, some
action happens, and the original state is reestablished.
|
static ActionType<SelectableDockAction> |
CHECK
The action behaves like a checkbox: when it is triggered,
it changes it's state from selected to unselected, or vice versa.
|
static ActionType<DropDownAction> |
DROP_DOWN
Represents a drop down action.
|
static ActionType<MenuDockAction> |
MENU
The action is a group of other actions which are shown as soon
as someone triggers the action.
|
static ActionType<SelectableDockAction> |
RADIO
The action behaves like a radiobutton: when it is triggered,
it changes to the selected-state, but some other actions
may change to the unselected-state
|
static ActionType<SeparatorAction> |
SEPARATOR
Represents a separator.
|
| Constructor and Description |
|---|
ActionType(String id)
Creates a new ActionType.
|
public static final ActionType<ButtonDockAction> BUTTON
public static final ActionType<SelectableDockAction> CHECK
public static final ActionType<SelectableDockAction> RADIO
public static final ActionType<MenuDockAction> MENU
public static final ActionType<SeparatorAction> SEPARATOR
public static final ActionType<DropDownAction> DROP_DOWN
public ActionType(String id)
id - a unique identifierCopyright © 2017 Docking Frames. All rights reserved.