Packagecom.yworks.yfiles.util
Classpublic class EdgeMapAdapter
InheritanceEdgeMapAdapter Inheritance YObject Inheritance Object
Implements EdgeMap

This class is an empty abstract implementation of the EdgeMap interface.



Public Methods
 MethodDefined By
  
EdgeMapAdapter(init:Boolean = true)
EdgeMapAdapter
 Inherited
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
 Inherited
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
Protected Methods
 MethodDefined By
  
EdgeMapAdapter
Constructor Detail
EdgeMapAdapter()Constructor
public function EdgeMapAdapter(init:Boolean = true)



Parameters
init:Boolean (default = true)
Method Detail
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

Returns
Booleanfalse
getClass()method 
override public function getClass():Class

Returns
Class
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

Returns
Number0.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

Returns
int0
getObject()method 
public function getObject(edge:Object):Object

Returns the value bound to the given edge.

Parameters

edge:Object

Returns
Objectnull
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