Packagecom.yworks.yfiles.layout.planar
Interfacepublic interface FaceMap extends DataProvider

Provides access to data associated with a face. A face map can be considered as a map that allows only faces as keys. Face keys of a face map must belong to the same planar information.

There are data access methods defined for the most common typed values as well.

The edge values are initialized with java default values (null, 0, 0.0, false) upon initialization.



Public Methods
 MethodDefined By
  
setBool(key:Face, value:Boolean):void
Associates the given boolean value to with the given edge.
FaceMap
  
setDouble(key:Face, value:Number):void
Associates the given double value to with the given edge.
FaceMap
  
setFace(key:Face, value:Object):void
Associates the given value to with the given edge.
FaceMap
  
setInt(key:Face, value:int):void
Associates the given integer value to with the given edge.
FaceMap
Method Detail
setBool()method
public function setBool(key:Face, value:Boolean):void

Associates the given boolean value to with the given edge.

Parameters

key:Face
 
value:Boolean

setDouble()method 
public function setDouble(key:Face, value:Number):void

Associates the given double value to with the given edge.

Parameters

key:Face
 
value:Number

setFace()method 
public function setFace(key:Face, value:Object):void

Associates the given value to with the given edge.

Parameters

key:Face
 
value:Object

setInt()method 
public function setInt(key:Face, value:int):void

Associates the given integer value to with the given edge.

Parameters

key:Face
 
value:int