Packagecom.kapit.diagram.layers
Classpublic class AnnotationsLayer
InheritanceAnnotationsLayer Inheritance DiagramLayer Inheritance mx.core.UIComponent



Public Properties
 PropertyDefined by
 Inheriteddataobjectid : String
Data object id of the layer.
DiagramLayer
 Inheriteddid : String
Diagram Unique ID that defines the Unique reference of this layer in order to enable fast access to different layers (by simply providing the correspondant ID).
DiagramLayer
 Inheritedlane : DiagramLane
Parent Diagram Lane if it exists.
DiagramLayer
 Inheritedview : DiagramView
The Diagram View Container.
DiagramLayer
Protected Properties
 PropertyDefined by
 Inherited_view : DiagramView = null
Diagram View in which this Diagram Layer is embedded.
DiagramLayer
Public Methods
 MethodDefined by
  
Creates a new AnnotationsLayer instance.
AnnotationsLayer
 Inherited
activateUI(a:Boolean):void
Activates or deactivates this DiagramLayer.
DiagramLayer
 Inherited
addChild(child:DisplayObject):DisplayObject
Adds a child DisplayObject (DiagramObject) instance to this DiagramLayer instance.
DiagramLayer
 Inherited
appendToSVGDocument(doc:SVGSVGElement):void
Adds this DiagramLayer in an SVG description to an SVGSVGElement (SVG document).
DiagramLayer
 Inherited
applyToObjects(f:Function, args:Array = null, filter:Function = null, filterargs:Array = null):void
Applies a given function (processing logic) to this DiagramLayer given function parameters and according to a filter function and its parameters if defined.
DiagramLayer
 Inherited
checkTagName(xml:XML):Boolean
Checks if an XML object tag name is equal to this DiagramLayer tagname.
DiagramLayer
 Inherited
cleanup():void
Cleans up listeners.
DiagramLayer
 Inherited
clear():void
Removes Diagram Layer children (Diagram Object and Diagram Layer instances).
DiagramLayer
 Inherited
countObjects(f:Function, args:Array = null):uint
Counts the diagram Objects contained in this DiagramLayer according to a filter function and its arguments.
DiagramLayer
 Inherited
draw():void
Draws this DiagramLayer elements (UIComponents).
DiagramLayer
 Inherited
fromXML(xml:XML):void
Parses this DiagramLayer from an XML object.
DiagramLayer
 Inherited
DiagramLayer
 Inherited
DiagramLayer
 Inherited
getElementsByClass(cl:Class):Array
DiagramLayer
 Inherited
DiagramLayer
  
getTagName():String
Returns This AnnotationsLayer tagname equal to "annotations".
AnnotationsLayer
 Inherited
Redraws this DiagramLayer and its children (IDiagramElements) when library styles and assets change given a SVGAssetLibraryEvent.
DiagramLayer
 Inherited
DiagramLayer
 Inherited
retrieveObject(cont:DisplayObjectContainer, f:Function, args:Array = null, reverse:Boolean = true):DiagramObject
Searches and retrieves one DiagramObject embedded in a DisplayObjectContainer using a provided search function (contains the tests that designates the diagram object we search for) and its arguments and according to a search direction.
DiagramLayer
 Inherited
retrieveObjects(cont:DisplayObjectContainer, f:Function, args:Array = null, reverse:Boolean = true):Array
Searches and retrieves a set DiagramObject embedded in a DisplayObjectContainer using a provided search function (contains the tests that designates diagram objects we search for) and its arguments and according to a search direction.
DiagramLayer
 Inherited
styleChanged(prop:String):void
Detects changes to style properties and handle the change accordingly.
DiagramLayer
 Inherited
inherited
DiagramLayer
 Inherited
toXML():XML
Writes this DiagramLayer into an XML object.
DiagramLayer
 Inherited
Updates the placement of the Diagram Links contained in this Diagram Layer.
DiagramLayer
Protected Methods
 MethodDefined by
 Inherited
measure():void
Calculates the default size (width and height), and optionally the default minimum size, of the Diagram Layer.
DiagramLayer
 Inherited
updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
Draws this DiagramLayer and/or sizes and positions its children.
DiagramLayer
Constructor detail
AnnotationsLayer()constructor
public function AnnotationsLayer(view:DiagramView)

Creates a new AnnotationsLayer instance.

Parameters
view:DiagramView — The DiagramView that contains this AnnotationsLayer.
Method detail
getTagName()method
public override function getTagName():String

Returns This AnnotationsLayer tagname equal to "annotations".

Returns
String — This AnnotationsLayer tagname.