Packagecom.kapit.diagram.view
Classpublic class DiagramLinkType

This class defines UI behaviour and rendering parameters for a DiagramLink



Public Properties
 PropertyDefined by
  behaviour : int
UI behaviour (ORTHOGONAL_BEHAVIOUR or FREE_BEHAVIOUR)
DiagramLinkType
  feedbackstyleselector : String
CSS style of the DiagramLink in Feedback mode
DiagramLinkType
  geometry : int
Rendering of the DiagramLink (POLYLINE_GEOMETRY,QUADRICS_GEOMETRY)
DiagramLinkType
  styleselector : String
CSS style of the DiagramLink
DiagramLinkType
Protected Properties
 PropertyDefined by
  _behaviour : int = 0
DiagramLinkType
  _feedbackstyleselector : String = ".feedback-link"
DiagramLinkType
  _geometry : int = 0
DiagramLinkType
  _styleselector : String = ".lanescope-link"
DiagramLinkType
Public Methods
 MethodDefined by
  
DiagramLinkType(b:int, g:int, s:String = ".lanescope-link", feedbackstyle:String = ".feedback-link")
DiagramLinkType
  
DiagramLinkType
  
fromXML(xml:XML):void
DiagramLinkType
  
toXML(xml:XML):void
DiagramLinkType
Public Constants
 ConstantDefined by
  FREE_BEHAVIOUR : int = 1
[static]
DiagramLinkType
  ORTHOGONAL_BEHAVIOUR : int = 0
[static]
DiagramLinkType
  POLYLINE_GEOMETRY : int = 0
[static]
DiagramLinkType
  QUADRICS_GEOMETRY : int = 1
[static]
DiagramLinkType
Property detail
_behaviourproperty
protected var _behaviour:int = 0
behaviourproperty 
behaviour:int  [read-write]

UI behaviour (ORTHOGONAL_BEHAVIOUR or FREE_BEHAVIOUR)

Implementation
    public function get behaviour():int
    public function set behaviour(value:int):void
_feedbackstyleselectorproperty 
protected var _feedbackstyleselector:String = ".feedback-link"
feedbackstyleselectorproperty 
feedbackstyleselector:String  [read-write]

CSS style of the DiagramLink in Feedback mode

Implementation
    public function get feedbackstyleselector():String
    public function set feedbackstyleselector(value:String):void
_geometryproperty 
protected var _geometry:int = 0
geometryproperty 
geometry:int  [read-write]

Rendering of the DiagramLink (POLYLINE_GEOMETRY,QUADRICS_GEOMETRY)

Implementation
    public function get geometry():int
    public function set geometry(value:int):void
_styleselectorproperty 
protected var _styleselector:String = ".lanescope-link"
styleselectorproperty 
styleselector:String  [read-write]

CSS style of the DiagramLink

Implementation
    public function get styleselector():String
    public function set styleselector(value:String):void
Constructor detail
DiagramLinkType()constructor
public function DiagramLinkType(b:int, g:int, s:String = ".lanescope-link", feedbackstyle:String = ".feedback-link")Parameters
b:int
 
g:int
 
s:String (default = ".lanescope-link")
 
feedbackstyle:String (default = ".feedback-link")
Method detail
clone()method
public function clone():DiagramLinkType

Returns
DiagramLinkType
fromXML()method 
public function fromXML(xml:XML):voidParameters
xml:XML
toXML()method 
public function toXML(xml:XML):voidParameters
xml:XML
Constant detail
FREE_BEHAVIOURconstant
public static const FREE_BEHAVIOUR:int = 1
ORTHOGONAL_BEHAVIOURconstant 
public static const ORTHOGONAL_BEHAVIOUR:int = 0
POLYLINE_GEOMETRYconstant 
public static const POLYLINE_GEOMETRY:int = 0
QUADRICS_GEOMETRYconstant 
public static const QUADRICS_GEOMETRY:int = 1