| Property | Defined by | ||
|---|---|---|---|
| dataobjectid : String | AnchorPoint | ||
| did : String
The diagram unique identifier of this AnchorPoint.
| AnchorPoint | ||
| globalx : Number [read-only]
The global x coordinate of this AnchorPoint.
| AnchorPoint | ||
| globaly : Number [read-only]
The global y coordinate of this AnchorPoint.
| AnchorPoint | ||
| master : DiagramObject
[read-only]
The master object to which this AnchorPoint is used to anchor a target object.
| AnchorPoint | ||
| target : DiagramObject
The target object that this AnchorPoint is used to anchor to a master object.
| AnchorPoint | ||
| view : DiagramView
[read-only]
| AnchorPoint | ||
| x : Number
The horizontal coordinate of this AnchorPoint.
| AnchorPoint | ||
| y : Number
The vertical coordinate of this AnchorPoint.
| AnchorPoint | ||
| Property | Defined by | ||
|---|---|---|---|
| _dx : Number = 0
Horizontal coordinate of this AnchorPoint.
| AnchorPoint | ||
| _dy : Number = 0
Vertical coordinate of this AnchorPoint.
| AnchorPoint | ||
| _master : DiagramObject
Master DiagramObject of this AnchorPoint.
| AnchorPoint | ||
| _target : DiagramObject
Target DiagramObject of this AnchorPoint.
| AnchorPoint | ||
| __targetid : String
ID of Target DiagramObject of this AnchorPoint.
| AnchorPoint | ||
| Method | Defined by | ||
|---|---|---|---|
|
AnchorPoint(master:DiagramObject)
Creates a new AnchorPoint instance having
master as master component. | AnchorPoint | ||
|
activateUI(a:Boolean):void
Activates or deactivates this AnchorPoint.
| AnchorPoint | ||
|
checkTagName(xml:XML):Boolean
Checks if an XML object tag name is equal to this AnchorPoint tag name.
| AnchorPoint | ||
|
fromXML(xml:XML):void
Parses this AnchorPoint from an XML object.
| AnchorPoint | ||
|
getTagName():String
Returns This AnchorPoint tagname equal to
"anchor". | AnchorPoint | ||
|
libraryStylesChanged(event:SVGAssetLibraryEvent):void
Redraws this AnchorPoint when library styles and assets change given a SVGAssetLibraryEvent.
| AnchorPoint | ||
|
masterRemoved():void
Removes this AnchorPoint from its target object by calling its
masterRemoved() method. | AnchorPoint | ||
|
masterSizing(newrect:Rectangle, oldrect:Rectangle):void
Inflicts the change of master DiagramObject size (Height and Width) on the position of this AnchorPoint.
| AnchorPoint | ||
|
syncReferences():void
| AnchorPoint | ||
|
targetRemoved():void
Removes this AnchorPoint from its master object by calling its
anchorRemoved() method. | AnchorPoint | ||
|
toXML():XML
Writes this AnchorPoint into an XML object.
| AnchorPoint | ||
|
unlink():void
Removes this AnchorPoint from its master and target objects by calling the
master
anchorRemoved() and the target masterRemoved() methods. | AnchorPoint | ||
|
updateTarget(scaleX:Number = 1, scaleY:Number = 1):void
Updates the target object of this AnchorPoint by calling its
masterAnchorPointUpdated() method. | AnchorPoint | ||
| dataobjectid | property |
dataobjectid:String [read-write]Implementation
public function get dataobjectid():String
public function set dataobjectid(value:String):void
| did | property |
did:String [read-write]The diagram unique identifier of this AnchorPoint.
Implementation public function get did():String
public function set did(value:String):void
| _dx | property |
protected var _dx:Number = 0Horizontal coordinate of this AnchorPoint.
| _dy | property |
protected var _dy:Number = 0Vertical coordinate of this AnchorPoint.
| globalx | property |
globalx:Number [read-only]The global x coordinate of this AnchorPoint.
Implementation public function get globalx():Number
| globaly | property |
globaly:Number [read-only]The global y coordinate of this AnchorPoint.
Implementation public function get globaly():Number
| _master | property |
protected var _master:DiagramObjectMaster DiagramObject of this AnchorPoint.
| master | property |
master:DiagramObject [read-only]The master object to which this AnchorPoint is used to anchor a target object.
Implementation public function get master():DiagramObject
| _target | property |
protected var _target:DiagramObjectTarget DiagramObject of this AnchorPoint.
| target | property |
target:DiagramObject [read-write]The target object that this AnchorPoint is used to anchor to a master object.
Implementation public function get target():DiagramObject
public function set target(value:DiagramObject):void
| __targetid | property |
protected var __targetid:StringID of Target DiagramObject of this AnchorPoint.
| view | property |
| x | property |
x:Number [read-write]The horizontal coordinate of this AnchorPoint.
Implementation public function get x():Number
public function set x(value:Number):void
| y | property |
y:Number [read-write]The vertical coordinate of this AnchorPoint.
Implementation public function get y():Number
public function set y(value:Number):void
| AnchorPoint | () | constructor |
public function AnchorPoint(master:DiagramObject)
Creates a new AnchorPoint instance having master as master component.
master:DiagramObject — The master component of this AnchorPoint instance.
|
| activateUI | () | method |
public function activateUI(a:Boolean):voidActivates or deactivates this AnchorPoint. An activated AnchorPoint interacts with mouse events and a deactivated one doesn't.
Parametersa:Boolean — The desired value of the AnchorPoint active status.
|
| checkTagName | () | method |
public function checkTagName(xml:XML):BooleanChecks if an XML object tag name is equal to this AnchorPoint tag name.
Parametersxml:XML — The XML object to verify.
|
Boolean — true if the XML object tag name matches this AnchorPoint tag name and false otherwise.
|
| fromXML | () | method |
public function fromXML(xml:XML):voidParses this AnchorPoint from an XML object.
Parametersxml:XML — An XML object represeting this AnchorPoint.
|
| getTagName | () | method |
public function getTagName():String
Returns This AnchorPoint tagname equal to "anchor".
String — Anchor tagname.
|
| libraryStylesChanged | () | method |
public function libraryStylesChanged(event:SVGAssetLibraryEvent):voidRedraws this AnchorPoint when library styles and assets change given a SVGAssetLibraryEvent.
Parametersevent:SVGAssetLibraryEvent — SVGAssetLibraryEvent telling a change in asset library properties.
|
| masterRemoved | () | method |
public function masterRemoved():void
Removes this AnchorPoint from its target object by calling its
masterRemoved() method.
| masterSizing | () | method |
public function masterSizing(newrect:Rectangle, oldrect:Rectangle):voidInflicts the change of master DiagramObject size (Height and Width) on the position of this AnchorPoint. The change is inflicted given the old and new master DiagramObject size.
Parametersnewrect:Rectangle — New size of the master DiagramObject.
|
|
oldrect:Rectangle — Old size of the master DiagramObject.
|
| syncReferences | () | method |
public function syncReferences():void
| targetRemoved | () | method |
public function targetRemoved():void
Removes this AnchorPoint from its master object by calling its
anchorRemoved() method.
| toXML | () | method |
public function toXML():XMLWrites this AnchorPoint into an XML object.
ReturnsXML — An XML object representing this AnchorPoint.
|
| unlink | () | method |
public function unlink():void
Removes this AnchorPoint from its master and target objects by calling the
master anchorRemoved() and the target masterRemoved() methods.
| updateTarget | () | method |
public function updateTarget(scaleX:Number = 1, scaleY:Number = 1):void
Updates the target object of this AnchorPoint by calling its masterAnchorPointUpdated() method.
scaleX:Number (default = 1) |
|
scaleY:Number (default = 1) |