|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.gui.dock.action.ActionType<D>
D
- the specialized type of DockAction
that uses this typepublic class ActionType<D extends DockAction>
The ActionType manly defines, how a 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.
Field Summary | |
---|---|
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 Summary | |
---|---|
ActionType(String id)
Creates a new ActionType. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
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
Constructor Detail |
---|
public ActionType(String id)
id
- a unique identifierMethod Detail |
---|
public String toString()
toString
in class Object
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |