P - the type of object that represent a Dockablepublic 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(DockController controller,
ToolbarGroupDockStation station)
Creates a new set of actions.
|
| Modifier and Type | Method and Description |
|---|---|
protected ExpandToolbarGroupActions.ExpandColumn |
createColumn(ToolbarColumn<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
Dockables. |
void |
update(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, uninstallListenerpublic ExpandToolbarGroupActions(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<Dockable,P> column)
AbstractToolbarGroupActionsAbstractToolbarGroupActions.Column which will be filled with content later.createColumn in class AbstractToolbarGroupActions<P,ExpandToolbarGroupActions.ExpandColumn>column - the column that is represented by the new objectnullpublic ExpandableToolbarItemStrategy getStrategy()
Dockables.nullpublic void update(Dockable item)
item is and updates the actions.item - the item whose column should be checkedCopyright © 2018. All rights reserved.