|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbibliothek.gui.dock.station.toolbar.layout.PlaceholderToolbarGrid<D,S,P>
bibliothek.gui.dock.station.toolbar.layout.ModeledPlaceholderToolbarGrid<D,S,P>
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>>
A PlaceholderToolbarGrid
which offers a ToolbarColumnModel
to access the dockables.
Constructor Summary | |
---|---|
ModeledPlaceholderToolbarGrid()
|
Method Summary | |
---|---|
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 . |
Methods inherited from class bibliothek.gui.dock.station.toolbar.layout.PlaceholderToolbarGrid |
---|
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, setStrategy, size, toMap, toMap, unbind |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ModeledPlaceholderToolbarGrid()
Method Detail |
---|
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
.
onRemoved
in class PlaceholderToolbarGrid<D,S,P extends bibliothek.gui.dock.station.support.PlaceholderListItem<D>>
column
- a visible columncolumnIndex
- the index of the columnitem
- the removed item of column
itemIndex
- the index the item had before removingprotected 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.
onRemoved
in class PlaceholderToolbarGrid<D,S,P extends bibliothek.gui.dock.station.support.PlaceholderListItem<D>>
column
- the removed columnindex
- the index the column had before it was removedprotected void onInserted()
PlaceholderToolbarGrid
onInserted
in class PlaceholderToolbarGrid<D,S,P extends bibliothek.gui.dock.station.support.PlaceholderListItem<D>>
protected void onRemoved()
PlaceholderToolbarGrid
onRemoved
in class PlaceholderToolbarGrid<D,S,P extends bibliothek.gui.dock.station.support.PlaceholderListItem<D>>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |