Package | Description |
---|---|
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.common.intern.action.panel |
Supporting classes for
CPanelPopup . |
bibliothek.gui.dock.themes.basic.action |
Elements handling the view of
DockAction s.They way from a DockAction to its view normally involves four objects:
The DockAction itself, providing the basic set of properties
A handler listening to changes of the
action and forwarding the changes to the model. |
bibliothek.gui.dock.themes.basic.action.dropdown |
Handlers taking various kinds of
DockAction and presenting them
as DropDownViewItem
in order to display them as children of a
DropDownAction |
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 | Field and Description |
---|---|
static ViewTarget<MenuViewItem<JComponent>> |
ViewTarget.MENU
A target for a JMenu
|
Modifier and Type | Class and Description |
---|---|
class |
BasicPanelPopupMenuHandler
A menu showing a custom component instead of menu items.
|
class |
BasicPanelPopupMenuItemHandler
Handles a
CPanelPopup in a menu in the case that the
action opens a dialog if triggered. |
Modifier and Type | Method and Description |
---|---|
MenuViewItem<JComponent> |
PanelMenuGenerator.create(ActionViewConverter converter,
CPanelPopup.PanelPopup action,
Dockable dockable) |
Modifier and Type | Class and Description |
---|---|
class |
BasicSeparatorHandler
A handler that shows a
JSeparator for a SeparatorAction . |
Modifier and Type | Interface and Description |
---|---|
interface |
DropDownViewItem
An item that is shown in the menu of a drop-down-button and can be
selected by the button.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractDropDownHandler<S extends StandardDropDownItemAction>
A handler that connects a
StandardDropDownItemAction with a
drop-down-button. |
class |
ButtonDropDownHandler
A connection between a
ButtonDockAction and a drop-down-button. |
class |
SelectableDropDownHandler
A connection between a
SelectableDockAction and a
drop-down-button. |
class |
SubDropDownHandler
A handler that connects non-selectable, non-triggerable items with a
drop-down-button.
|
Constructor and Description |
---|
SubDropDownHandler(MenuViewItem<JComponent> view)
Creates a new handler.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractMenuHandler<I extends JMenuItem,D extends StandardDockAction>
A handler that connects a
JMenuItem with a DockAction . |
class |
ButtonMenuHandler
A handler building a connection between a
JMenuItem and a ButtonDockAction . |
class |
DropDownMenuHandler
A handler that shows a
DropDownAction in a menu. |
class |
MenuMenuHandler
A handler that manages a menu.
|
class |
SelectableMenuHandler
A handler which ensures that the selected-state of a
JMenuItem and
a SelectableDockAction are always the same. |
Modifier and Type | Method and Description |
---|---|
MenuViewItem<JComponent> |
MenuMenuHandler.getViewFor(DockAction action)
Searches for the first view which is used for
action . |
protected MenuViewItem<JComponent> |
MenuMenuHandler.handlerFor(DockAction action)
Creates a new view for
action . |
Constructor and Description |
---|
MenuMenuHandler(MenuDockAction action,
Dockable dockable,
ViewTarget<? extends MenuViewItem<JComponent>> target)
Creates a new handler
|