bibliothek.gui.dock.station.toolbar.layout
Interface GridPlaceholderList.ColumnItem<D,S,P extends bibliothek.gui.dock.station.support.PlaceholderListItem<D>>

All Known Subinterfaces:
GridPlaceholderList.Column<D,S,P>
Enclosing class:
GridPlaceholderList<D,S,P extends bibliothek.gui.dock.station.support.PlaceholderListItem<D>>

public static interface GridPlaceholderList.ColumnItem<D,S,P extends bibliothek.gui.dock.station.support.PlaceholderListItem<D>>

An class representing either a GridPlaceholderList.Column or a DockElement.

Author:
Benjamin Sigg

Method Summary
 GridPlaceholderList.ColumnItem<D,S,P> asStation()
          Converst this item into an item that represents a DockStation
 GridPlaceholderList.ColumnItem<D,S,P>[] getChildren()
          Gets the children of this station
 bibliothek.util.Path getPlaceholder()
          Gets a placeholder for this item.
 bibliothek.gui.dock.station.support.PlaceholderMap getPlaceholders()
          Gets all the placeholders of this item.
 void setPlaceholders(bibliothek.gui.dock.station.support.PlaceholderMap map)
          Sets all the placeholders of this station.
 

Method Detail

asStation

GridPlaceholderList.ColumnItem<D,S,P> asStation()
Converst this item into an item that represents a DockStation

Returns:
the station, can be null

getPlaceholder

bibliothek.util.Path getPlaceholder()
Gets a placeholder for this item.

Returns:
the placeholder or null

getChildren

GridPlaceholderList.ColumnItem<D,S,P>[] getChildren()
Gets the children of this station

Returns:
the children

getPlaceholders

bibliothek.gui.dock.station.support.PlaceholderMap getPlaceholders()
Gets all the placeholders of this item.

Returns:
all the placeholders, can be null

setPlaceholders

void setPlaceholders(bibliothek.gui.dock.station.support.PlaceholderMap map)
Sets all the placeholders of this station.

Parameters:
map - the new placeholders