|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbibliothek.gui.dock.station.support.ConvertedPlaceholderListItem
public class ConvertedPlaceholderListItem
Data about a Dockable
that was stored in a PlaceholderList
.
Constructor Summary | |
---|---|
ConvertedPlaceholderListItem()
|
Method Summary | |
---|---|
boolean |
contains(String key)
Tells whether some data is stored for key . |
Object |
get(String key)
Gets the data that is stored for key key . |
boolean |
getBoolean(String key)
Gets the data that is stored for key key . |
double |
getDouble(String key)
Gets the data that is stored for key key . |
int |
getInt(String key)
Gets the data that is stored for key key . |
long |
getLong(String key)
Gets the data that is stored for key key . |
Path |
getPlaceholder()
Gets the placeholder that is associated with this item. |
PlaceholderMap |
getPlaceholderMap()
Gets additional information about this item. |
String |
getString(String key)
Gets the data that is stored for key key . |
String[] |
keys()
Gets the keys of all the data that is stored. |
void |
put(String key,
Object value)
Stores an additional key-value pair. |
void |
putBoolean(String key,
boolean value)
Stores an additional key-value pair. |
void |
putInteger(String key,
int value)
Stores an additional key-value pair. |
void |
putLong(String key,
long value)
Stores an additional key-value pair. |
void |
putString(String key,
String value)
Stores an additional key-value pair. |
void |
putValue(String key,
double value)
Stores an additional key-value pair. |
void |
setPlaceholder(Path placeholder)
Associates a placeholder with this item. |
void |
setPlaceholderMap(PlaceholderMap map)
Associates a map of data with this item. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConvertedPlaceholderListItem()
Method Detail |
---|
public void setPlaceholder(Path placeholder)
PlaceholderList
will insert
this placeholder into its set of placeholders.
placeholder
- the placeholder, can be null
public Path getPlaceholder()
null
setPlaceholder(Path)
public void setPlaceholderMap(PlaceholderMap map)
PlaceholderMap.newKey(Path...)
with no arguments).
map
- the data, can be null
public PlaceholderMap getPlaceholderMap()
null
setPlaceholderMap(PlaceholderMap)
public void putInteger(String key, int value)
key
- the keyvalue
- the valuepublic void putLong(String key, long value)
key
- the keyvalue
- the valuepublic void putValue(String key, double value)
key
- the keyvalue
- the valuepublic void putBoolean(String key, boolean value)
key
- the keyvalue
- the valuepublic void putString(String key, String value)
key
- the keyvalue
- the valuepublic void put(String key, Object value)
key
- the keyvalue
- the valuepublic String[] keys()
null
public String getString(String key)
key
.
key
- the key of some entry
IllegalArgumentException
- if there is nothing stored for key
or if the
stored object has the wrong typepublic int getInt(String key)
key
.
key
- the key of some entry
IllegalArgumentException
- if there is nothing stored for key
or if the
stored object has the wrong typepublic long getLong(String key)
key
.
key
- the key of some entry
IllegalArgumentException
- if there is nothing stored for key
or if the
stored object has the wrong typepublic double getDouble(String key)
key
.
key
- the key of some entry
IllegalArgumentException
- if there is nothing stored for key
or if the
stored object has the wrong typepublic boolean getBoolean(String key)
key
.
key
- the key of some entry
IllegalArgumentException
- if there is nothing stored for key
or if the
stored object has the wrong typepublic Object get(String key)
key
.
key
- the key of some entry
null
public boolean contains(String key)
key
.
key
- the key to search
true
if data exists, false
otherwise
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |