Package bibliothek.gui.dock.themes.basic.action

Elements handling the view of DockActions.
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.

See:
          Description

Interface Summary
BasicTitleViewItem<A> A view item that will be shown between some buttons on a DockTitle.
BasicTrigger A type containing a method that is used as callback-method in a BasicButtonModel.
 

Class Summary
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.
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.
DropDownItemHandle Represents an action and a view which are children of a DropDownAction
 

Package bibliothek.gui.dock.themes.basic.action Description

Elements handling the view of DockActions.
They way from a DockAction to its view normally involves four objects:

  1. The DockAction itself, providing the basic set of properties
  2. A handler listening to changes of the action and forwarding the changes to the model. Selecting only those properties which are necessary for the view.
  3. A model containing and translating properties into a form the view can use.
  4. Some view like a MiniButton using the model to paint itself
The model may be omitted when there is not much to translate between handler and view. In that case, the handler directly accesses the view.
It is even possible that the view directly accesses the action, but that is only used in very simple situations (like the SeparatorAction, which does not do anything).
The view creates and provides the model. The handler has to be created and connected by the code of the 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