Package | Description |
---|---|
bibliothek.gui.dock.station.support |
Elements used by various
DockStation s to store
properties and to propagate events to other objects. |
Modifier and Type | Class and Description |
---|---|
class |
PerspectivePlaceholderListItemConverter<D extends PlaceholderListItem<PerspectiveDockable>> |
class |
PlaceholderListItemAdapter<D,P extends PlaceholderListItem<D>>
An adapter for
PlaceholderListItemConverter , all methods implemented by this adapter do nothing. |
class |
StrategyPlaceholderListItemConverter<D extends PlaceholderListItem<Dockable>>
This converter uses a
PlaceholderStrategy to create new placeholders, but
does not convert placeholders back to dockables. |
Modifier and Type | Method and Description |
---|---|
void |
PlaceholderList.read(PlaceholderMap map,
PlaceholderListItemConverter<D,P> converter)
Reads the contents of
map and adds them at the end of this list. |
protected void |
PlaceholderList.read(PlaceholderMap map,
PlaceholderListItemConverter<D,P> converter,
boolean simulate)
Reads the contents of
map . |
static <P extends PlaceholderListItem<Dockable>> |
DockablePlaceholderList.simulatedRead(PlaceholderMap map,
PlaceholderListItemConverter<Dockable,P> converter)
Simulates a call to
PlaceholderList.read(PlaceholderMap, PlaceholderListItemConverter) and makes all calls to converter
that would be made in a real read as well. |
static <P extends PlaceholderListItem<PerspectiveDockable>> |
PerspectivePlaceholderList.simulatedRead(PlaceholderMap map,
PlaceholderListItemConverter<PerspectiveDockable,P> converter)
Simulates a call to
PlaceholderList.read(PlaceholderMap, PlaceholderListItemConverter) and makes all calls to converter
that would be made in a real read as well. |
PlaceholderMap |
PlaceholderList.toMap(PlaceholderListItemConverter<?,? super P> converter)
Converts this list into a
PlaceholderMap , any remaining Dockable or
DockStation will be converted using converter . |
Constructor and Description |
---|
DockablePlaceholderList(PlaceholderMap map,
PlaceholderListItemConverter<Dockable,P> converter)
Creates a new list reading all the data that is stored in
map . |
PerspectivePlaceholderList(PlaceholderMap map,
PlaceholderListItemConverter<PerspectiveDockable,P> converter)
Creates a new list reading all the data that is stored in
map . |
PlaceholderList(PlaceholderMap map,
PlaceholderListItemConverter<D,P> converter)
Creates a new list reading all the data that is stored in
map . |