|
||||||||||
| 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
protected abstract class AbstractToolbarGroupActions.Column
Represents one column of the ToolbarGroupDockStation.
| Constructor Summary | |
|---|---|
AbstractToolbarGroupActions.Column(ToolbarColumn<P> column)
Creates a new column. |
|
| Method Summary | |
|---|---|
protected abstract bibliothek.gui.dock.action.DockActionSource |
createSource()
Creates a DockActionSource that will be stored in this AbstractToolbarGroupActions.Column. |
ToolbarColumn<P> |
getColumn()
Gets the column which is represented by this object |
Rectangle |
getColumnBoundaries()
Gets the current boundaries of this column. |
List<bibliothek.gui.Dockable> |
getDockables()
Gets all the items of this column. |
List<P> |
getItems()
Gets all the items of this column. |
bibliothek.gui.dock.action.DockActionSource |
getSource()
Gets the DockActionSource which is associated with this column. |
protected void |
init(ToolbarColumn<P> column)
Initializes all fields of this object |
protected abstract void |
inserted(int index,
P item)
Called after an item was added to this column |
protected abstract void |
removed()
Called if this column is no longer used, all resources should be released |
protected abstract void |
removed(int index,
P item)
Called after an item was removed from this column |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractToolbarGroupActions.Column(ToolbarColumn<P> column)
column - the column that is represented by this object. Subclasses can
set this argument to null, but have to call init(ToolbarColumn) later.| Method Detail |
|---|
protected void init(ToolbarColumn<P> column)
column - the column that is represented by this object, not nullpublic bibliothek.gui.dock.action.DockActionSource getSource()
DockActionSource which is associated with this column.
nullpublic List<P> getItems()
public List<bibliothek.gui.Dockable> getDockables()
public ToolbarColumn<P> getColumn()
public Rectangle getColumnBoundaries()
ToolbarGroupDockStation, null if there
are no items in this columnprotected abstract bibliothek.gui.dock.action.DockActionSource createSource()
DockActionSource that will be stored in this AbstractToolbarGroupActions.Column. This method is called
lazily, the first time when getSource() is executed.
null
protected abstract void inserted(int index,
P item)
index - the index of the new itemitem - the item that was added
protected abstract void removed(int index,
P item)
index - the index of the removed itemitem - the item that was removedprotected abstract void removed()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||