DockAction
s.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.See: Description
Interface | Description |
---|---|
BasicButtonModelListener |
A listener that can be added to a
BasicButtonModel and will
be informed about changes in the model. |
BasicDropDownButtonTrigger |
A trigger used by the
BasicDropDownButtonModel to remotely open the
drop down menu of a DropDownAction . |
BasicResourceInitializer |
A
BasicResourceInitializer is a helper class used by a BasicButtonModel to
lazily initialize resources. |
BasicTitleViewItem<A> |
A view item that will be shown between some buttons on a DockTitle.
|
BasicTrigger |
Used as a callback by a
BasicButtonModel to ensure the availability of properties and to inform
when the user triggers a view like a button. |
DockActionImportanceOrder |
DockActionImportanceOrder is used by ButtonPanel to decide which
actions are more important than others. |
Class | Description |
---|---|
AbstractBasicHandler<D extends DockAction,M extends BasicButtonModel> |
Collection of methods that are interesting for classes that wrap around a
BasicButtonModel . |
BasicButtonHandler |
A handler to connect a
ButtonDockAction with a
BasicButtonModel . |
BasicButtonModel |
A class containing all properties and methods needed to handle a button-component
that shows the contents of a
DockAction .A model is normally instantiated by a JComponent which uses this
as argument for the constructor of the model. |
BasicButtonModelAdapter |
A simple implementation of
BasicButtonModelListener forwarding
any event expect BasicButtonModelAdapter.triggered() , BasicButtonModelAdapter.bound(BasicButtonModel, DockController) and
BasicButtonModelAdapter.unbound(BasicButtonModel, DockController) to BasicButtonModelAdapter.changed() . |
BasicDropDownButtonHandler |
A handler connecting a
DropDownAction with a BasicDropDownButtonModel
and its view. |
BasicDropDownButtonModel |
An expanded
BasicButtonModel that can handle the properties needed
to represent a DropDownAction . |
BasicHandler<D extends StandardDockAction> |
A class connecting a
DockAction with a BasicButtonModel . |
BasicMenuHandler |
A handler connecting a
MenuDockAction with a BasicButtonModel . |
BasicSelectableHandler |
A handler connecting a
SelectableDockAction with a
BasicButtonModel . |
BasicSelectableHandler.Check |
An implementation used to connect a
SelectableDockAction of
type ActionType.CHECK with a BasicButtonModel |
BasicSelectableHandler.Radio |
An implementation used to connect a
SelectableDockAction of
type ActionType.RADIO with a BasicButtonModel |
BasicSeparatorHandler |
A handler that shows a
JSeparator for a SeparatorAction . |
DefaultDockActionImportanceOrder |
This class orders
DockAction s depending on the annotation DockActionImportance . |
DropDownItemHandle |
Represents an action and a view which are children of a
DropDownAction |
Annotation Type | Description |
---|---|
DockActionImportance |
A
DockActionImportance can be used to mark a DockAction as being
more or less important. |
DockAction
s.DockAction
to its view normally involves four objects:
DockAction
itself, providing the basic set of propertieshandler
listening to changes of the
action and forwarding the changes to the model. Selecting only those properties
which are necessary for the view.model
containing and
translating properties into a form the view can use.MiniButton
using the model
to paint itselfSeparatorAction
, which does
not do anything).DockTheme
. Normally
view and handler are created and connected in the
ActionViewConverter
, using a
ViewGenerator
. However, details
may differ for other themes than the BasicTheme