D
- the kind of object that should be treated as Dockable
S
- the kind of object that should be treated as DockStation
P
- the type of item which represents a Dockable
public abstract class ModeledPlaceholderToolbarGrid<D,S,P extends bibliothek.gui.dock.station.support.PlaceholderListItem<D>> extends PlaceholderToolbarGrid<D,S,P>
PlaceholderToolbarGrid
which offers a ToolbarColumnModel
to access the dockables.Constructor and Description |
---|
ModeledPlaceholderToolbarGrid() |
Modifier and Type | Method and Description |
---|---|
ToolbarColumnModel<D,P> |
getModel()
Gets access to a simplified view of this grid.
|
protected void |
onInserted()
Called if all columns were inserted at the same time.
|
protected void |
onInserted(bibliothek.gui.dock.station.support.PlaceholderList<D,S,P> column,
int index)
Called if a new column
column was added to this grid. |
protected void |
onInserted(bibliothek.gui.dock.station.support.PlaceholderList<D,S,P> column,
int columnIndex,
P item,
int itemIndex)
Called if
item was added to the column column . |
protected void |
onRemoved()
Called if all columns were removed from this grid
|
protected void |
onRemoved(bibliothek.gui.dock.station.support.PlaceholderList<D,S,P> column,
int index)
Called if the column
column was removed from this grid. |
protected void |
onRemoved(bibliothek.gui.dock.station.support.PlaceholderList<D,S,P> column,
int columnIndex,
P item,
int itemIndex)
Called if
item was removed to the column column . |
addPlaceholder, allColumns, bind, clear, columns, createColumn, createGrid, fill, fromMap, fromMap, get, get, get, getColumn, getColumn, getColumn, getColumnContent, getColumnCount, getLine, getLine, getLine, getLine, getLineCount, getPlaceholders, getStrategy, getTotalColumnCount, hasPlaceholder, init, insert, insert, insert, insertPlaceholder, items, move, put, remove, removePlaceholder, setStrategy, size, toMap, toMap, unbind
public ToolbarColumnModel<D,P> getModel()
null
protected void onInserted(bibliothek.gui.dock.station.support.PlaceholderList<D,S,P> column, int columnIndex, P item, int itemIndex)
PlaceholderToolbarGrid
item
was added to the column column
.onInserted
in class PlaceholderToolbarGrid<D,S,P extends bibliothek.gui.dock.station.support.PlaceholderListItem<D>>
column
- a visible columncolumnIndex
- the index of the columnitem
- a new item of column
itemIndex
- the index of the new itemprotected void onRemoved(bibliothek.gui.dock.station.support.PlaceholderList<D,S,P> column, int columnIndex, P item, int itemIndex)
PlaceholderToolbarGrid
item
was removed to the column column
.protected void onInserted(bibliothek.gui.dock.station.support.PlaceholderList<D,S,P> column, int index)
PlaceholderToolbarGrid
column
was added to this grid. The column may not contain any elements when
this method is called.onInserted
in class PlaceholderToolbarGrid<D,S,P extends bibliothek.gui.dock.station.support.PlaceholderListItem<D>>
column
- the new columnindex
- the index of the new columnprotected void onRemoved(bibliothek.gui.dock.station.support.PlaceholderList<D,S,P> column, int index)
PlaceholderToolbarGrid
column
was removed from this grid. The column may still contain elements when it
is removed.protected void onInserted()
PlaceholderToolbarGrid
onInserted
in class PlaceholderToolbarGrid<D,S,P extends bibliothek.gui.dock.station.support.PlaceholderListItem<D>>
protected void onRemoved()
PlaceholderToolbarGrid