| Package | com.kapit.diagram |
| Interface | public interface IDiagramElement |
| Implementors | AnchorPoint, DiagramColumn, DiagramColumnContainer, DiagramLayer, DiagramObject, DiagramPanel, DiagramPanelsContainer, DiagramView |
| Property | Defined by | ||
|---|---|---|---|
| dataobjectid : String
The unique key to the application data object linked with this element.
| IDiagramElement | ||
| did : String [read-only]
The diagram unique identifier of this element.
| IDiagramElement | ||
| view : DiagramView
[read-only]
The diagram view of this element.
| IDiagramElement | ||
| Method | Defined by | ||
|---|---|---|---|
|
activateUI(a:Boolean):void
Activates or deactivates this IDiagramElement.
| IDiagramElement | ||
|
checkTagName(xml:XML):Boolean
Checks if an XML object tag name is equal to this IDiagramElement tag name.
| IDiagramElement | ||
|
fromXML(xml:XML):void
Parses this IDiagramElement from an XML object.
| IDiagramElement | ||
|
getTagName():String
Returns This IDiagramElement object tagname.
| IDiagramElement | ||
|
libraryStylesChanged(event:SVGAssetLibraryEvent):void
Called when library styles and assets change given a SVGAssetLibraryEvent.
| IDiagramElement | ||
|
syncReferences():void
Ask the element to synchronize all reference after it has been loaded from XML.
| IDiagramElement | ||
|
toXML():XML
Writes this IDiagramElement into an XML object.
| IDiagramElement | ||
| dataobjectid | property |
dataobjectid:String [read-write]The unique key to the application data object linked with this element.
Implementation public function get dataobjectid():String
public function set dataobjectid(value:String):void
| did | property |
did:String [read-only]The diagram unique identifier of this element.
Implementation public function get did():String
| view | property |
view:DiagramView [read-only]The diagram view of this element.
Implementation public function get view():DiagramView
| activateUI | () | method |
public function activateUI(a:Boolean):voidActivates or deactivates this IDiagramElement. An activated IDiagramElement interacts with mouse events and a deactivated one doesn't.
Parametersa:Boolean — The desired value of the IDiagramElement active status.
|
| checkTagName | () | method |
public function checkTagName(xml:XML):BooleanChecks if an XML object tag name is equal to this IDiagramElement tag name.
Parametersxml:XML — The XML object to verify.
|
Boolean — true if the XML object tag name matches this
IDiagramElement tag name and false otherwise.
|
| fromXML | () | method |
public function fromXML(xml:XML):voidParses this IDiagramElement from an XML object.
Parametersxml:XML — An XML object represeting this IDiagramElement.
|
| getTagName | () | method |
public function getTagName():StringReturns This IDiagramElement object tagname.
ReturnsString — This IDiagramElement object tagname.
|
| libraryStylesChanged | () | method |
public function libraryStylesChanged(event:SVGAssetLibraryEvent):voidCalled when library styles and assets change given a SVGAssetLibraryEvent.
Parametersevent:SVGAssetLibraryEvent — SVGAssetLibraryEvent telling a change in asset library properties.
|
| syncReferences | () | method |
public function syncReferences():voidAsk the element to synchronize all reference after it has been loaded from XML. This function is called after all objects of a diagram are loaded from XML.
| toXML | () | method |
public function toXML():XMLWrites this IDiagramElement into an XML object.
ReturnsXML — An XML object representing this IDiagramElement.
|