|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.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(D dockable)
Creates a new item. |
|
PlaceholderList.Item(D dockable,
Set<Path> placeholderSet,
PlaceholderMap placeholderMap)
Creates a new item. |
|
PlaceholderList.Item(Set<Path> placeholders)
Creates a new item. |
|
| Method Summary | |
|---|---|
void |
add(Path placeholder)
Adds placeholder to the set of placeholders of this entry. |
boolean |
equals(Object obj)
|
D |
getDockable()
Returns the value of this dockable item. |
PlaceholderMap |
getPlaceholderMap()
Gets the placeholder information of a child DockStation. |
Set<Path> |
getPlaceholderSet()
Returns the value of this placeholder. |
int |
hashCode()
|
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(Set<Path> placeholders)
Removes all placeholders that are in placeholders. |
void |
setDockable(D 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(Set<Path> placeholderSet)
Sets the set of placeholders that are associated with this entry. |
void |
setStrategy(PlaceholderStrategy strategy)
Forwards strategy to the current PlaceholderMap. |
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, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PlaceholderList.Item(D dockable)
dockable - the value of this item, not null
public PlaceholderList.Item(D dockable,
Set<Path> placeholderSet,
PlaceholderMap placeholderMap)
dockable - the value of this item, not nullplaceholderSet - the placeholders of this itemplaceholderMap - the childrens placeholder infopublic PlaceholderList.Item(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 nullprotected void setOwner(bibliothek.gui.dock.station.support.PlaceholderList.Entry owner)
owner - the new owner, can be nullpublic boolean isPlaceholder()
true if this item is only a placeholder, false
if this item is a Dockable.public Set<Path> getPlaceholderSet()
null if this
has no a placeholdersisPlaceholder()public void setPlaceholderSet(Set<Path> placeholderSet)
placeholderSet - the placeholders, can be nullpublic void removeAll(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 placeholderpublic D getDockable()
null if this
is a placeholderisPlaceholder()public void setDockable(D dockable)
dockable - the new value, can be nullpublic void setPlaceholderMap(PlaceholderMap placeholders)
Dockable that is a DockStation,
sets the placeholder information of that DockStation.
placeholders - the placeholders, may be nullpublic PlaceholderMap getPlaceholderMap()
DockStation.
nullpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||