| Package | com.yworks.yfiles.util |
| Class | public class NodeMapAdapter |
| Inheritance | NodeMapAdapter YObject Object |
| Implements | NodeMap |
| Method | Defined By | ||
|---|---|---|---|
NodeMapAdapter(init:Boolean = true) | NodeMapAdapter | ||
![]() | equals(o:Object):Boolean | YObject | |
getBool(key:Object):Boolean
Returns the boolean value bound to the given node. | NodeMapAdapter | ||
getClass():Class [override] | NodeMapAdapter | ||
getDouble(key:Object):Number
Returns the double value bound to the given node. | NodeMapAdapter | ||
getInt(key:Object):int
Returns the integer value bound to the given node. | NodeMapAdapter | ||
getObject(key:Object):Object
Returns the value bound to the given node. | NodeMapAdapter | ||
![]() | hashCode():int | YObject | |
setBool(key:Object, value:Boolean):void
Associates the given boolean value to with the given node. | NodeMapAdapter | ||
setDouble(key:Object, value:Number):void
Associates the given double value to with the given node. | NodeMapAdapter | ||
setInt(key:Object, value:int):void
Associates the given integer value to with the given node. | NodeMapAdapter | ||
setObject(key:Object, value:Object):void
Associates the given value to with the given node. | NodeMapAdapter | ||
| Method | Defined By | ||
|---|---|---|---|
initNodeMapAdapter():void | NodeMapAdapter | ||
| NodeMapAdapter | () | Constructor |
public function NodeMapAdapter(init:Boolean = true)init:Boolean (default = true) |
| getBool | () | method |
public function getBool(key:Object):BooleanReturns the boolean value bound to the given node.
Precondition The value must have been associated to the given node by a call to setBool.
Parameters
key:Object |
Boolean — false
|
| getClass | () | method |
override public function getClass():ClassReturnsClass |
| getDouble | () | method |
public function getDouble(key:Object):NumberReturns the double value bound to the given node.
Precondition The value must have been associated to the given node by a call to setDouble.
Parameters
key:Object |
Number — 0.0d
|
| getInt | () | method |
public function getInt(key:Object):intReturns the integer value bound to the given node.
Precondition The value must have been associated to the given node by a call to setInt.
Parameters
key:Object |
int — 0
|
| getObject | () | method |
public function getObject(key:Object):ObjectReturns the value bound to the given node.
Parameters
key:Object |
Object — null
|
| initNodeMapAdapter | () | method |
protected final function initNodeMapAdapter():void| setBool | () | method |
public function setBool(key:Object, value:Boolean):voidAssociates the given boolean value to with the given node.
Parameters
key:Object | |
value:Boolean |
| setDouble | () | method |
public function setDouble(key:Object, value:Number):voidAssociates the given double value to with the given node.
Parameters
key:Object | |
value:Number |
| setInt | () | method |
public function setInt(key:Object, value:int):voidAssociates the given integer value to with the given node.
Parameters
key:Object | |
value:int |
| setObject | () | method |
public function setObject(key:Object, value:Object):voidAssociates the given value to with the given node.
Parameters
key:Object | |
value:Object |