Package | Description |
---|---|
bibliothek.gui.dock.action |
The components dealing with the logic of
DockAction s. |
bibliothek.gui.dock.action.actions |
Contains a set of different
DockAction s
and supporting classes.The actions in this package will create views, which show Icon s,
text, tooltips and other gimmicks. |
bibliothek.gui.dock.action.view |
Classes to create a views for
DockAction s.This package does not contain any views, only the mechanism to create some. |
Modifier and Type | Field and Description |
---|---|
static ActionType<ButtonDockAction> |
ActionType.BUTTON
The action behaves like a button: it can be triggered, some
action happens, and the original state is reestablished.
|
static ActionType<SelectableDockAction> |
ActionType.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> |
ActionType.DROP_DOWN
Represents a drop down action.
|
static ActionType<MenuDockAction> |
ActionType.MENU
The action is a group of other actions which are shown as soon
as someone triggers the action.
|
static ActionType<SelectableDockAction> |
ActionType.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> |
ActionType.SEPARATOR
Represents a separator.
|
Constructor and Description |
---|
GroupedSelectableDockAction(GroupKeyGenerator<? extends K> generator,
ActionType<SelectableDockAction> type)
Creates a new action.
|
SimpleSelectableAction(ActionType<SelectableDockAction> type,
boolean monitorDisabling)
Creates a new action.
|
Modifier and Type | Method and Description |
---|---|
<A,D extends DockAction> |
ActionViewConverter.createView(ActionType<D> type,
D action,
ViewTarget<A> target,
Dockable dockable)
Creates and sets up a new view.
|
protected <A,D extends DockAction> |
ActionViewConverter.getConverter(ActionType<D> action,
ViewTarget<? super A> target)
Searches a converter for the given
action and target . |
<A,D extends DockAction> |
ActionViewConverter.putClient(ActionType<D> action,
ViewTarget<A> target,
ViewGenerator<D,A> generator)
Registers a new
ViewGenerator to this ActionViewConverter. |
<A,D extends DockAction> |
ActionViewConverter.putDefault(ActionType<D> action,
ViewTarget<A> target,
ViewGenerator<D,A> generator)
Registers a new
ViewGenerator to this ActionViewConverter. |
<A,D extends DockAction> |
ActionViewConverter.putTheme(ActionType<D> action,
ViewTarget<A> target,
ViewGenerator<D,A> generator)
Registers a new
ViewGenerator to this ActionViewConverter. |