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. |
bibliothek.gui.dock.themes.basic.action.menu |
Handlers taking various kinds of
DockAction and presenting them
as MenuViewItem in
order to display the actions in a menu. |
Modifier and Type | Method and Description |
---|---|
<V> V |
DockAction.createView(ViewTarget<V> target,
ActionViewConverter converter,
Dockable dockable)
Creates a view for this action, for the platform
target and
with help of converter . |
Modifier and Type | Method and Description |
---|---|
<V> V |
AbstractSimpleDropDownAction.createView(ViewTarget<V> target,
ActionViewConverter converter,
Dockable dockable) |
<V> V |
GroupedButtonDockAction.createView(ViewTarget<V> target,
ActionViewConverter converter,
Dockable dockable) |
<V> V |
GroupedSelectableDockAction.createView(ViewTarget<V> target,
ActionViewConverter converter,
Dockable dockable) |
<V> V |
SeparatorAction.createView(ViewTarget<V> target,
ActionViewConverter converter,
Dockable dockable) |
<V> V |
SimpleButtonAction.createView(ViewTarget<V> target,
ActionViewConverter converter,
Dockable dockable) |
<V> V |
SimpleMenuAction.createView(ViewTarget<V> target,
ActionViewConverter converter,
Dockable dockable) |
<V> V |
SimpleSelectableAction.createView(ViewTarget<V> target,
ActionViewConverter converter,
Dockable dockable) |
boolean |
SeparatorAction.shouldDisplay(ViewTarget<?> target)
Tells whether the separator should be shown or not.
|
Constructor and Description |
---|
SeparatorAction(ViewTarget<?>... targets)
Creates a new separator.
|
Modifier and Type | Field and Description |
---|---|
static ViewTarget<DropDownViewItem> |
ViewTarget.DROP_DOWN
A target aiming to a
DropDownAction |
static ViewTarget<MenuViewItem<javax.swing.JComponent>> |
ViewTarget.MENU
A target for a JMenu
|
static ViewTarget<BasicTitleViewItem<javax.swing.JComponent>> |
ViewTarget.TITLE
A target for an item shown on a
DockTitle |
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.
|
<A> A |
ActionViewConverter.createView(DockAction 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. |
Constructor and Description |
---|
MenuMenuHandler(MenuDockAction action,
Dockable dockable,
ViewTarget<? extends MenuViewItem<javax.swing.JComponent>> target)
Creates a new handler
|