P - the kind of object that represents a Dockablepublic class DockablePlaceholderToolbarGrid<P extends PlaceholderListItem<Dockable>> extends ModeledPlaceholderToolbarGrid<Dockable,DockStation,P>
| Constructor and Description |
|---|
DockablePlaceholderToolbarGrid()
Creates and initializes a new grid
|
| Modifier and Type | Method and Description |
|---|---|
protected PlaceholderList<Dockable,DockStation,P> |
createColumn()
Creates one column.
|
protected GridPlaceholderList<Dockable,DockStation,P> |
createGrid()
Creates a new
GridPlaceholderList. |
protected void |
fill(Dockable dockable,
ConvertedPlaceholderListItem item)
Called by
PlaceholderToolbarGrid.toMap(Map), this method should read persistent data
from dockable and write that data into item. |
protected Set<Path> |
getPlaceholders(Dockable dockable)
Gets all placeholders that are associated with
dockable. |
getModel, onInserted, onInserted, onInserted, onRemoved, onRemoved, onRemovedaddPlaceholder, 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, unbindpublic DockablePlaceholderToolbarGrid()
protected PlaceholderList<Dockable,DockStation,P> createColumn()
PlaceholderToolbarGridcreateColumn in class PlaceholderToolbarGrid<Dockable,DockStation,P extends PlaceholderListItem<Dockable>>protected GridPlaceholderList<Dockable,DockStation,P> createGrid()
PlaceholderToolbarGridGridPlaceholderList.createGrid in class PlaceholderToolbarGrid<Dockable,DockStation,P extends PlaceholderListItem<Dockable>>protected Set<Path> getPlaceholders(Dockable dockable)
PlaceholderToolbarGriddockable.getPlaceholders in class PlaceholderToolbarGrid<Dockable,DockStation,P extends PlaceholderListItem<Dockable>>dockable - some element used by this gridprotected void fill(Dockable dockable, ConvertedPlaceholderListItem item)
PlaceholderToolbarGridPlaceholderToolbarGrid.toMap(Map), this method should read persistent data
from dockable and write that data into item.fill in class PlaceholderToolbarGrid<Dockable,DockStation,P extends PlaceholderListItem<Dockable>>dockable - the dockable to readitem - the item to write intoCopyright © 2018. All rights reserved.