P
- the kind of object that represents a Dockable
public class DockablePlaceholderToolbarGrid<P extends bibliothek.gui.dock.station.support.PlaceholderListItem<bibliothek.gui.Dockable>> extends ModeledPlaceholderToolbarGrid<bibliothek.gui.Dockable,bibliothek.gui.DockStation,P>
Constructor and Description |
---|
DockablePlaceholderToolbarGrid()
Creates and initializes a new grid
|
Modifier and Type | Method and Description |
---|---|
protected bibliothek.gui.dock.station.support.PlaceholderList<bibliothek.gui.Dockable,bibliothek.gui.DockStation,P> |
createColumn()
Creates one column.
|
protected GridPlaceholderList<bibliothek.gui.Dockable,bibliothek.gui.DockStation,P> |
createGrid()
Creates a new
GridPlaceholderList . |
protected void |
fill(bibliothek.gui.Dockable dockable,
bibliothek.gui.dock.station.support.ConvertedPlaceholderListItem item)
Called by
PlaceholderToolbarGrid.toMap(Map) , this method should read persistent data
from dockable and write that data into item . |
protected Set<bibliothek.util.Path> |
getPlaceholders(bibliothek.gui.Dockable dockable)
Gets all placeholders that are associated with
dockable . |
getModel, onInserted, onInserted, onInserted, onRemoved, onRemoved, onRemoved
addPlaceholder, allColumns, bind, clear, columns, fromMap, fromMap, get, get, get, getColumn, getColumn, getColumn, getColumnContent, getColumnCount, getLine, getLine, getLine, getLine, getLineCount, getStrategy, getTotalColumnCount, hasPlaceholder, init, insert, insert, insert, insertPlaceholder, items, move, put, remove, removePlaceholder, setStrategy, size, toMap, toMap, unbind
public DockablePlaceholderToolbarGrid()
protected bibliothek.gui.dock.station.support.PlaceholderList<bibliothek.gui.Dockable,bibliothek.gui.DockStation,P> createColumn()
PlaceholderToolbarGrid
createColumn
in class PlaceholderToolbarGrid<bibliothek.gui.Dockable,bibliothek.gui.DockStation,P extends bibliothek.gui.dock.station.support.PlaceholderListItem<bibliothek.gui.Dockable>>
protected GridPlaceholderList<bibliothek.gui.Dockable,bibliothek.gui.DockStation,P> createGrid()
PlaceholderToolbarGrid
GridPlaceholderList
.createGrid
in class PlaceholderToolbarGrid<bibliothek.gui.Dockable,bibliothek.gui.DockStation,P extends bibliothek.gui.dock.station.support.PlaceholderListItem<bibliothek.gui.Dockable>>
protected Set<bibliothek.util.Path> getPlaceholders(bibliothek.gui.Dockable dockable)
PlaceholderToolbarGrid
dockable
.getPlaceholders
in class PlaceholderToolbarGrid<bibliothek.gui.Dockable,bibliothek.gui.DockStation,P extends bibliothek.gui.dock.station.support.PlaceholderListItem<bibliothek.gui.Dockable>>
dockable
- some element used by this gridprotected void fill(bibliothek.gui.Dockable dockable, bibliothek.gui.dock.station.support.ConvertedPlaceholderListItem item)
PlaceholderToolbarGrid
PlaceholderToolbarGrid.toMap(Map)
, this method should read persistent data
from dockable
and write that data into item
.fill
in class PlaceholderToolbarGrid<bibliothek.gui.Dockable,bibliothek.gui.DockStation,P extends bibliothek.gui.dock.station.support.PlaceholderListItem<bibliothek.gui.Dockable>>
dockable
- the dockable to readitem
- the item to write into