P
- the type of object that represent a Dockable
public abstract class ExpandToolbarGroupActions<P> extends AbstractToolbarGroupActions<P,ExpandToolbarGroupActions.ExpandColumn>
ExpandableToolbarItemStrategy
to find out whether the items of some columns
can be expanded, and if so this class generates an appropriate DockActionSource
containing actions
to expand or shrink all the items of one column.Modifier and Type | Class and Description |
---|---|
protected class |
ExpandToolbarGroupActions.ExpandColumn |
AbstractToolbarGroupActions.Column
Constructor and Description |
---|
ExpandToolbarGroupActions(bibliothek.gui.DockController controller,
ToolbarGroupDockStation station)
Creates a new set of actions.
|
Modifier and Type | Method and Description |
---|---|
protected ExpandToolbarGroupActions.ExpandColumn |
createColumn(ToolbarColumn<bibliothek.gui.Dockable,P> column)
Creates a new, empty
AbstractToolbarGroupActions.Column which will be filled with content later. |
void |
destroy() |
ExpandableToolbarItemStrategy |
getStrategy()
Gets the strategy that is currently used to decide which actions are available for which
Dockable s. |
void |
update(bibliothek.gui.Dockable item)
Checks the state of the column in which
item is and updates the actions. |
addListener, getBoundaries, getColumn, getColumn, getColumnCount, getColumns, getModel, getOrientation, getSource, getSourceCount, getSourceLength, getSourceOffset, installListener, listeners, removeListener, setModel, uninstallListener
public ExpandToolbarGroupActions(bibliothek.gui.DockController controller, ToolbarGroupDockStation station)
controller
- the controller in whose realm this object is usedstation
- th station which uses this set of actionspublic void destroy()
protected ExpandToolbarGroupActions.ExpandColumn createColumn(ToolbarColumn<bibliothek.gui.Dockable,P> column)
AbstractToolbarGroupActions
AbstractToolbarGroupActions.Column
which will be filled with content later.createColumn
in class AbstractToolbarGroupActions<P,ExpandToolbarGroupActions.ExpandColumn>
column
- the column that is represented by the new objectnull
public ExpandableToolbarItemStrategy getStrategy()
Dockable
s.null
public void update(bibliothek.gui.Dockable item)
item
is and updates the actions.item
- the item whose column should be checked