|
Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecty.util.NodeMapAdapter
public abstract class NodeMapAdapter
This class is an abstract empty implementation of the NodeMap interface. Subclasses
| Constructor Summary | |
|---|---|
NodeMapAdapter()
|
|
| Method Summary | |
|---|---|
Object |
get(Object key)
Returns the value bound to the given node. |
boolean |
getBool(Object key)
Returns the boolean value bound to the given node. |
double |
getDouble(Object key)
Returns the double value bound to the given node. |
int |
getInt(Object key)
Returns the integer value bound to the given node. |
void |
set(Object key,
Object value)
Associates the given value to with the given node. |
void |
setBool(Object key,
boolean value)
Associates the given boolean value to with the given node. |
void |
setDouble(Object key,
double value)
Associates the given double value to with the given node. |
void |
setInt(Object key,
int value)
Associates the given integer value to with the given node. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NodeMapAdapter()
| Method Detail |
|---|
public void set(Object key,
Object value)
set in interface DataAcceptorset in interface NodeMappublic Object get(Object key)
get in interface DataProviderget in interface NodeMapkey -
null
public void setBool(Object key,
boolean value)
setBool in interface DataAcceptorsetBool in interface NodeMappublic boolean getBool(Object key)
getBool in interface DataProvidergetBool in interface NodeMapkey -
falsesetBool.
public void setDouble(Object key,
double value)
setDouble in interface DataAcceptorsetDouble in interface NodeMappublic double getDouble(Object key)
getDouble in interface DataProvidergetDouble in interface NodeMap0.0dsetDouble.
public void setInt(Object key,
int value)
setInt in interface DataAcceptorsetInt in interface NodeMappublic int getInt(Object key)
getInt in interface DataProvidergetInt in interface NodeMap0setInt.
|
© Copyright 2000-2013, yWorks GmbH. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||