P
- the kind of object that represents a Dockable
public class DockableGridPlaceholderList<P extends bibliothek.gui.dock.station.support.PlaceholderListItem<bibliothek.gui.Dockable>> extends GridPlaceholderList<bibliothek.gui.Dockable,bibliothek.gui.DockStation,P>
Dockable
s and placeholders.PlaceholderToolbarGrid
, which adds several convenient methods and
ensures that the list of lists always is cleaned up correctly.GridPlaceholderList.Column<D,S,P extends bibliothek.gui.dock.station.support.PlaceholderListItem<D>>, GridPlaceholderList.ColumnItem<D,S,P extends bibliothek.gui.dock.station.support.PlaceholderListItem<D>>
Constructor and Description |
---|
DockableGridPlaceholderList() |
Modifier and Type | Method and Description |
---|---|
protected bibliothek.gui.Dockable[] |
getItemChildren(bibliothek.gui.DockStation station)
Gets all the children of
station |
protected bibliothek.util.Path |
getItemPlaceholder(bibliothek.gui.Dockable dockable)
Gest the placeholder of
dockable . |
protected bibliothek.gui.dock.station.support.PlaceholderMap |
getItemPlaceholders(bibliothek.gui.DockStation station)
Gets all the placeholders of
station |
protected bibliothek.gui.DockStation |
itemToStation(bibliothek.gui.Dockable dockable)
Converts the item
dockable to a station. |
protected void |
setItemPlaceholders(bibliothek.gui.DockStation station,
bibliothek.gui.dock.station.support.PlaceholderMap map)
Sets the placeholders that are to be used by
station |
createColumn, getChildren, getConverter, getPlaceholder, getPlaceholders, setConverter, setPlaceholders, toStation, toString
addPlaceholder, baseToLevel, bind, clear, dockables, getDockableAt, getDockableIndex, getItem, getItem, getListIndex, getListIndex, getMap, getMetaMap, getNextListIndex, getStrategy, hasPlaceholder, insertAllPlaceholders, levelToBase, list, listPlaceholders, purePlaceholders, put, put, read, read, remove, remove, removeAll, removeAll, setStrategy, size, toMap, toString, unbind
protected bibliothek.gui.DockStation itemToStation(bibliothek.gui.Dockable dockable)
GridPlaceholderList
dockable
to a station.itemToStation
in class GridPlaceholderList<bibliothek.gui.Dockable,bibliothek.gui.DockStation,P extends bibliothek.gui.dock.station.support.PlaceholderListItem<bibliothek.gui.Dockable>>
dockable
- the item to convertnull
protected bibliothek.gui.Dockable[] getItemChildren(bibliothek.gui.DockStation station)
GridPlaceholderList
station
getItemChildren
in class GridPlaceholderList<bibliothek.gui.Dockable,bibliothek.gui.DockStation,P extends bibliothek.gui.dock.station.support.PlaceholderListItem<bibliothek.gui.Dockable>>
station
- the station whose children are searchedprotected bibliothek.util.Path getItemPlaceholder(bibliothek.gui.Dockable dockable)
GridPlaceholderList
dockable
.getItemPlaceholder
in class GridPlaceholderList<bibliothek.gui.Dockable,bibliothek.gui.DockStation,P extends bibliothek.gui.dock.station.support.PlaceholderListItem<bibliothek.gui.Dockable>>
dockable
- some element of this gridnull
protected bibliothek.gui.dock.station.support.PlaceholderMap getItemPlaceholders(bibliothek.gui.DockStation station)
GridPlaceholderList
station
getItemPlaceholders
in class GridPlaceholderList<bibliothek.gui.Dockable,bibliothek.gui.DockStation,P extends bibliothek.gui.dock.station.support.PlaceholderListItem<bibliothek.gui.Dockable>>
station
- some stationnull
protected void setItemPlaceholders(bibliothek.gui.DockStation station, bibliothek.gui.dock.station.support.PlaceholderMap map)
GridPlaceholderList
station
setItemPlaceholders
in class GridPlaceholderList<bibliothek.gui.Dockable,bibliothek.gui.DockStation,P extends bibliothek.gui.dock.station.support.PlaceholderListItem<bibliothek.gui.Dockable>>
station
- the station whose layout is to be updatedmap
- the new placeholders, never null