|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.gui.dock.station.toolbar.group.AbstractToolbarGroupActions.Column
bibliothek.gui.dock.station.toolbar.group.ExpandToolbarGroupActions.ExpandColumn
protected class ExpandToolbarGroupActions.ExpandColumn
| Constructor Summary | |
|---|---|
ExpandToolbarGroupActions.ExpandColumn(ToolbarColumn<P> column)
|
|
| Method Summary | |
|---|---|
protected bibliothek.gui.dock.action.DockActionSource |
createSource()
Creates a DockActionSource that will be stored in this AbstractToolbarGroupActions.Column. |
boolean[] |
getEnabledStates()
Gets an array telling for each ExpandedState whether it is enabled or not. |
ExpandedState |
getState()
Gets the current ExpandedState of this column. |
protected void |
inserted(int index,
P item)
Called after an item was added to this column |
void |
performAction(SimpleExpandAction.Action action)
Executes the action action, the exact behavior of this method depends
also on the current state. |
protected void |
removed()
Called if this column is no longer used, all resources should be released |
protected void |
removed(int index,
P item)
Called after an item was removed from this column |
void |
setState(ExpandedState state)
|
| Methods inherited from class bibliothek.gui.dock.station.toolbar.group.AbstractToolbarGroupActions.Column |
|---|
getColumn, getColumnBoundaries, getDockables, getItems, getSource, init |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExpandToolbarGroupActions.ExpandColumn(ToolbarColumn<P> column)
| Method Detail |
|---|
protected bibliothek.gui.dock.action.DockActionSource createSource()
AbstractToolbarGroupActions.ColumnDockActionSource that will be stored in this AbstractToolbarGroupActions.Column. This method is called
lazily, the first time when AbstractToolbarGroupActions.Column.getSource() is executed.
createSource in class AbstractToolbarGroupActions.Columnnull
protected void inserted(int index,
P item)
AbstractToolbarGroupActions.Column
inserted in class AbstractToolbarGroupActions.Columnindex - the index of the new itemitem - the item that was added
protected void removed(int index,
P item)
AbstractToolbarGroupActions.Column
removed in class AbstractToolbarGroupActions.Columnindex - the index of the removed itemitem - the item that was removedprotected void removed()
AbstractToolbarGroupActions.Column
removed in class AbstractToolbarGroupActions.Columnpublic void performAction(SimpleExpandAction.Action action)
action, the exact behavior of this method depends
also on the current state.
action - how to modify the statepublic void setState(ExpandedState state)
public ExpandedState getState()
ExpandedState of this column. The current state is always the
state of the first child
nullpublic boolean[] getEnabledStates()
ExpandedState whether it is enabled or not.
true indicates that an ExpandedState
is enabled.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||