|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.gui.dock.station.support.PlaceholderMetaMap bibliothek.gui.dock.station.support.PlaceholderList.Item
public class PlaceholderList.Item
A single item in a PlaceholderList
Constructor Summary | |
---|---|
PlaceholderList.Item(P dockable)
Creates a new item. |
|
PlaceholderList.Item(P dockable,
java.util.Set<Path> placeholderSet,
PlaceholderMap placeholderMap)
Creates a new item. |
|
PlaceholderList.Item(java.util.Set<Path> placeholders)
Creates a new item. |
Method Summary | |
---|---|
void |
add(Path placeholder)
Adds placeholder to the set of placeholders of this entry. |
P |
getDockable()
Returns the value of this dockable item. |
PlaceholderMap |
getPlaceholderMap()
Gets the placeholder information of a child DockStation . |
java.util.Set<Path> |
getPlaceholderSet()
Returns the value of this placeholder. |
boolean |
hasPlaceholder(Path placeholder)
Tells whether placeholder is known to this item or not. |
boolean |
hasPlaceholders()
Tells whether this entry contains at least one placeholder |
boolean |
isPlaceholder()
Tells whether this item is a pure placeholder or not. |
void |
remove(Path placeholder)
Removes placeholder from this entry. |
void |
removeAll(java.util.Set<Path> placeholders)
Removes all placeholders that are in placeholders . |
void |
setDockable(P dockable)
Sets the value of this item. |
protected void |
setOwner(bibliothek.gui.dock.station.support.PlaceholderList.Entry owner)
Sets the owner of this list. |
void |
setPlaceholderMap(PlaceholderMap placeholders)
Assuming this item represents a Dockable that is a DockStation ,
sets the placeholder information of that DockStation . |
void |
setPlaceholderSet(java.util.Set<Path> placeholderSet)
Sets the set of placeholders that are associated with this entry. |
void |
setStrategy(PlaceholderStrategy strategy)
Forwards strategy to the current PlaceholderMap . |
java.lang.String |
toString()
|
Methods inherited from class bibliothek.gui.dock.station.support.PlaceholderMetaMap |
---|
contains, get, getBoolean, getDouble, getInt, getLong, getString, keys, put, putBoolean, putInt, putLong, putString, putValue, remove |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PlaceholderList.Item(P dockable)
dockable
- the value of this item, not null
public PlaceholderList.Item(P dockable, java.util.Set<Path> placeholderSet, PlaceholderMap placeholderMap)
dockable
- the value of this item, not null
placeholderSet
- the placeholders of this item, can be null
placeholderMap
- the childrens placeholder info, can be null
public PlaceholderList.Item(java.util.Set<Path> placeholders)
placeholders
- the value of this item, not null
Method Detail |
---|
public void setStrategy(PlaceholderStrategy strategy)
strategy
to the current PlaceholderMap
.
strategy
- the new strategy, can be null
protected void setOwner(bibliothek.gui.dock.station.support.PlaceholderList.Entry owner)
owner
- the new owner, can be null
public boolean isPlaceholder()
true
if this item is only a placeholder, false
if this item is a Dockable
.public java.util.Set<Path> getPlaceholderSet()
null
if this
has no a placeholdersisPlaceholder()
public void setPlaceholderSet(java.util.Set<Path> placeholderSet)
placeholderSet
- the placeholders, can be null
public void removeAll(java.util.Set<Path> placeholders)
placeholders
.
placeholders
- the paths to removepublic void remove(Path placeholder)
placeholder
from this entry.
placeholder
- the placeholder to removepublic void add(Path placeholder)
placeholder
to the set of placeholders of this entry.
placeholder
- the new placeholderpublic boolean hasPlaceholders()
true
if there is at least one placeholder stored in this entrypublic boolean hasPlaceholder(Path placeholder)
placeholder
is known to this item or not.
placeholder
- some placeholder to search
true
if this item stores placeholder
public P getDockable()
null
if this
is a placeholderisPlaceholder()
public void setDockable(P dockable)
dockable
- the new value, can be null
public void setPlaceholderMap(PlaceholderMap placeholders)
Dockable
that is a DockStation
,
sets the placeholder information of that DockStation
.
placeholders
- the placeholders, may be null
public PlaceholderMap getPlaceholderMap()
DockStation
.
null
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |