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