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 GridPlaceholderList<D,S,P extends bibliothek.gui.dock.station.support.PlaceholderListItem<D>> extends bibliothek.gui.dock.station.support.PlaceholderList<ColumnItem<D,S,P>,ColumnItem<D,S,P>,Column<D,S,P>>
Constructor and Description |
---|
GridPlaceholderList() |
Modifier and Type | Method and Description |
---|---|
Column<D,S,P> |
createColumn(bibliothek.gui.dock.station.support.PlaceholderList<D,S,P> content)
Factory method creating an new
Column that can be added to this
list. |
protected ColumnItem<D,S,P>[] |
getChildren(ColumnItem<D,S,P> station) |
bibliothek.gui.dock.station.support.PlaceholderListItemConverter<D,P> |
getConverter()
Gets the converter that is used to read and write
Column s. |
protected abstract D[] |
getItemChildren(S station)
Gets all the children of
station |
protected abstract bibliothek.util.Path |
getItemPlaceholder(D dockable)
Gest the placeholder of
dockable . |
protected abstract bibliothek.gui.dock.station.support.PlaceholderMap |
getItemPlaceholders(S station)
Gets all the placeholders of
station |
protected bibliothek.util.Path |
getPlaceholder(ColumnItem<D,S,P> dockable) |
protected bibliothek.gui.dock.station.support.PlaceholderMap |
getPlaceholders(ColumnItem<D,S,P> station) |
protected abstract S |
itemToStation(D dockable)
Converts the item
dockable to a station. |
void |
setConverter(bibliothek.gui.dock.station.support.PlaceholderListItemConverter<D,P> converter)
Sets the
PlaceholderListItemConverter which should be used to
convert the internal lists of this grid. |
protected abstract void |
setItemPlaceholders(S station,
bibliothek.gui.dock.station.support.PlaceholderMap map)
Sets the placeholders that are to be used by
station |
protected void |
setPlaceholders(ColumnItem<D,S,P> station,
bibliothek.gui.dock.station.support.PlaceholderMap map) |
protected ColumnItem<D,S,P> |
toStation(ColumnItem<D,S,P> dockable) |
protected java.lang.String |
toString(ColumnItem<D,S,P> dockable) |
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
public Column<D,S,P> createColumn(bibliothek.gui.dock.station.support.PlaceholderList<D,S,P> content)
Column
that can be added to this
list.content
- the content of the column, not null
public void setConverter(bibliothek.gui.dock.station.support.PlaceholderListItemConverter<D,P> converter)
PlaceholderListItemConverter
which should be used to
convert the internal lists of this grid.converter
- the converter to use, can be null
public bibliothek.gui.dock.station.support.PlaceholderListItemConverter<D,P> getConverter()
Column
s.null
protected bibliothek.util.Path getPlaceholder(ColumnItem<D,S,P> dockable)
getPlaceholder
in class bibliothek.gui.dock.station.support.PlaceholderList<ColumnItem<D,S,P extends bibliothek.gui.dock.station.support.PlaceholderListItem<D>>,ColumnItem<D,S,P extends bibliothek.gui.dock.station.support.PlaceholderListItem<D>>,Column<D,S,P extends bibliothek.gui.dock.station.support.PlaceholderListItem<D>>>
protected java.lang.String toString(ColumnItem<D,S,P> dockable)
toString
in class bibliothek.gui.dock.station.support.PlaceholderList<ColumnItem<D,S,P extends bibliothek.gui.dock.station.support.PlaceholderListItem<D>>,ColumnItem<D,S,P extends bibliothek.gui.dock.station.support.PlaceholderListItem<D>>,Column<D,S,P extends bibliothek.gui.dock.station.support.PlaceholderListItem<D>>>
protected ColumnItem<D,S,P> toStation(ColumnItem<D,S,P> dockable)
toStation
in class bibliothek.gui.dock.station.support.PlaceholderList<ColumnItem<D,S,P extends bibliothek.gui.dock.station.support.PlaceholderListItem<D>>,ColumnItem<D,S,P extends bibliothek.gui.dock.station.support.PlaceholderListItem<D>>,Column<D,S,P extends bibliothek.gui.dock.station.support.PlaceholderListItem<D>>>
protected bibliothek.gui.dock.station.support.PlaceholderMap getPlaceholders(ColumnItem<D,S,P> station)
getPlaceholders
in class bibliothek.gui.dock.station.support.PlaceholderList<ColumnItem<D,S,P extends bibliothek.gui.dock.station.support.PlaceholderListItem<D>>,ColumnItem<D,S,P extends bibliothek.gui.dock.station.support.PlaceholderListItem<D>>,Column<D,S,P extends bibliothek.gui.dock.station.support.PlaceholderListItem<D>>>
protected void setPlaceholders(ColumnItem<D,S,P> station, bibliothek.gui.dock.station.support.PlaceholderMap map)
setPlaceholders
in class bibliothek.gui.dock.station.support.PlaceholderList<ColumnItem<D,S,P extends bibliothek.gui.dock.station.support.PlaceholderListItem<D>>,ColumnItem<D,S,P extends bibliothek.gui.dock.station.support.PlaceholderListItem<D>>,Column<D,S,P extends bibliothek.gui.dock.station.support.PlaceholderListItem<D>>>
protected ColumnItem<D,S,P>[] getChildren(ColumnItem<D,S,P> station)
getChildren
in class bibliothek.gui.dock.station.support.PlaceholderList<ColumnItem<D,S,P extends bibliothek.gui.dock.station.support.PlaceholderListItem<D>>,ColumnItem<D,S,P extends bibliothek.gui.dock.station.support.PlaceholderListItem<D>>,Column<D,S,P extends bibliothek.gui.dock.station.support.PlaceholderListItem<D>>>
protected abstract S itemToStation(D dockable)
dockable
to a station.dockable
- the item to convertnull
protected abstract D[] getItemChildren(S station)
station
station
- the station whose children are searchedprotected abstract bibliothek.util.Path getItemPlaceholder(D dockable)
dockable
.dockable
- some element of this gridnull
protected abstract bibliothek.gui.dock.station.support.PlaceholderMap getItemPlaceholders(S station)
station
station
- some stationnull
protected abstract void setItemPlaceholders(S station, bibliothek.gui.dock.station.support.PlaceholderMap map)
station
station
- the station whose layout is to be updatedmap
- the new placeholders, never null