| Package | com.kapit.diagram.layers |
| Class | public class SpritesLayer |
| Inheritance | SpritesLayer DiagramLayer mx.core.UIComponent |
| Method | Defined by | ||
|---|---|---|---|
|
SpritesLayer(view:DiagramView)
Creates a new SpritesLayer instance.
| SpritesLayer | ||
![]() |
activateUI(a:Boolean):void
Activates or deactivates this DiagramLayer.
| DiagramLayer | |
![]() |
addChild(child:DisplayObject):DisplayObject
Adds a child DisplayObject (DiagramObject) instance to this DiagramLayer instance.
| DiagramLayer | |
![]() |
appendToSVGDocument(doc:SVGSVGElement):void
Adds this DiagramLayer in an SVG description to an SVGSVGElement (SVG document).
| DiagramLayer | |
![]() |
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 | |
![]() |
checkTagName(xml:XML):Boolean
Checks if an XML object tag name is equal to this DiagramLayer tagname.
| DiagramLayer | |
![]() |
cleanup():void
Cleans up listeners.
| DiagramLayer | |
![]() |
clear():void
Removes Diagram Layer children (Diagram Object and Diagram Layer instances).
| DiagramLayer | |
![]() |
countObjects(f:Function, args:Array = null):uint
Counts the diagram Objects contained in this DiagramLayer according to a filter function and its arguments.
| DiagramLayer | |
![]() |
draw():void
Draws this DiagramLayer elements (UIComponents).
| DiagramLayer | |
![]() |
fromXML(xml:XML):void
Parses this DiagramLayer from an XML object.
| DiagramLayer | |
![]() |
getElementByDataObjectId(doid:String):IDiagramElement
| DiagramLayer | |
![]() |
getElementById(id:String):IDiagramElement
| DiagramLayer | |
![]() |
getElementsByClass(cl:Class):Array
| DiagramLayer | |
![]() |
getSelectedObjects():Array
| DiagramLayer | |
|
getTagName():String
Returns This SpritesLayer tagname equal to
"sprites". | SpritesLayer | ||
![]() |
libraryStylesChanged(event:SVGAssetLibraryEvent):void
Redraws this DiagramLayer and its children (IDiagramElements) when library styles and assets change given a SVGAssetLibraryEvent.
| DiagramLayer | |
![]() |
notifyElementsLoaded():void
| DiagramLayer | |
![]() |
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 | |
![]() |
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 | |
![]() |
styleChanged(prop:String):void
Detects changes to style properties and handle the change accordingly.
| DiagramLayer | |
![]() |
syncReferences():void
inherited
| DiagramLayer | |
![]() |
toXML():XML
Writes this DiagramLayer into an XML object.
| DiagramLayer | |
![]() |
updateGlobalLinksPlacement():void
Updates the placement of the Diagram Links contained in this Diagram Layer.
| DiagramLayer | |
| SpritesLayer | () | constructor |
public function SpritesLayer(view:DiagramView)Creates a new SpritesLayer instance.
Parametersview:DiagramView — The DiagramView that contains this SpritesLayer.
|
| getTagName | () | method |
public override function getTagName():String
Returns This SpritesLayer tagname equal to "sprites".
String — This SpritesLayer tagname.
|