|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbibliothek.gui.dock.station.support.PlaceholderList<GridPlaceholderList.ColumnItem<D,S,P>,GridPlaceholderList.ColumnItem<D,S,P>,GridPlaceholderList.Column<D,S,P>>
bibliothek.gui.dock.station.toolbar.layout.GridPlaceholderList<bibliothek.gui.Dockable,bibliothek.gui.DockStation,P>
bibliothek.gui.dock.station.toolbar.layout.DockableGridPlaceholderList<P>
P
- the kind of object that represents a Dockable
public class DockableGridPlaceholderList<P extends bibliothek.gui.dock.station.support.PlaceholderListItem<bibliothek.gui.Dockable>>
Represents a list of lists of Dockable
s and placeholders.
Note: this class does not validate its content in any way, it is the clients
responsibility to keep the list clean. A good wrapper is
PlaceholderToolbarGrid
, which adds several convenient methods and
ensures that the list of lists always is cleaned up correctly.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class bibliothek.gui.dock.station.toolbar.layout.GridPlaceholderList |
---|
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>> |
Nested classes/interfaces inherited from class bibliothek.gui.dock.station.support.PlaceholderList |
---|
bibliothek.gui.dock.station.support.PlaceholderList.Filter<M>, bibliothek.gui.dock.station.support.PlaceholderList.Item, bibliothek.gui.dock.station.support.PlaceholderList.Level |
Constructor Summary | |
---|---|
DockableGridPlaceholderList()
|
Method Summary | |
---|---|
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 |
Methods inherited from class bibliothek.gui.dock.station.toolbar.layout.GridPlaceholderList |
---|
createColumn, getChildren, getConverter, getPlaceholder, getPlaceholders, setConverter, setPlaceholders, toStation, toString |
Methods inherited from class bibliothek.gui.dock.station.support.PlaceholderList |
---|
baseToLevel, bind, clear, dockables, getDockableAt, getDockableIndex, getItem, getItem, getListIndex, getMap, getMetaMap, getStrategy, hasPlaceholder, insertAllPlaceholders, levelToBase, list, listPlaceholders, purePlaceholders, put, put, read, read, remove, remove, removeAll, removeAll, setStrategy, size, toMap, toString, unbind |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DockableGridPlaceholderList()
Method Detail |
---|
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 convert
null
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 searched
protected 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 grid
null
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 station
null
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |