| Package | com.kapit.diagram.ui |
| Class | public class DrawOrthogonalLinkUI |
| Inheritance | DrawOrthogonalLinkUI DrawLinkUI flash.display.Shape |
| Property | Defined by | ||
|---|---|---|---|
![]() | _action : Action = null
Link action used in the link drawing process.
| DrawLinkUI | |
![]() | _arrowheight : Number = 6 [static]
Link arrow height.
| DrawLinkUI | |
![]() | _arrowwidth : Number = 12 [static]
Link arrow width.
| DrawLinkUI | |
![]() | _cssinitialized : Boolean [static]
| DrawLinkUI | |
![]() | _curx : Number
Current cursor X coordinate.
| DrawLinkUI | |
![]() | _cury : Number
Current cursor Y coordinate.
| DrawLinkUI | |
| _first : Boolean = true
First link drawing step (True if the link drawing process have just been started meaning first link segment drawing).
| DrawOrthogonalLinkUI | ||
![]() | _height : Number = 0
Link height.
| DrawLinkUI | |
| _horizontal : Boolean = true
Link direction (True if horizontal direction).
| DrawOrthogonalLinkUI | ||
![]() | _lastx : Number
Last control point X coordinate.
| DrawLinkUI | |
![]() | _lasty : Number
Last control point Y coordinate.
| DrawLinkUI | |
![]() | _linecolor : Number [static]
Line Color.
| DrawLinkUI | |
![]() | _lineopacity : Number [static]
Line Opacity.
| DrawLinkUI | |
![]() | _linewidth : Number [static]
Line Width.
| DrawLinkUI | |
![]() | _points : Array
Control points array that will be updated at drawing runtime to define the Diagram Link parameters.
| DrawLinkUI | |
![]() | _source : DiagramObject
DiagramObject from which the Link drawing process starts.
| DrawLinkUI | |
![]() | _stopped : Boolean = false
Link Drawig process status (True if link drawing process is stopped).
| DrawLinkUI | |
![]() | _styleselector : String = "null" [static]
Used Style Selector
| DrawLinkUI | |
![]() | styleselector : String [static]
Style Selector property that defines the used style selector (style properties) as a String representation.
| DrawLinkUI | |
![]() | _view : DiagramView
DiagramView to which this DawLinkUI depends.
| DrawLinkUI | |
![]() | _width : Number = 0
Link width.
| DrawLinkUI | |
| Method | Defined by | ||
|---|---|---|---|
|
Creates a DrawOrthogonalLinkUI instance
| DrawOrthogonalLinkUI | ||
![]() |
clear():void
Clears the graphics that were drawn from this Graphics object.
| DrawLinkUI | |
|
run(event:MouseEvent, dob:DiagramObject):void
| DrawOrthogonalLinkUI | ||
![]() |
stop(event:MouseEvent):void
Aborts the link drawing process by removing mouse listeners and draw-link graphics and updates
control points array.
| DrawLinkUI | |
| Method | Defined by | ||
|---|---|---|---|
![]() |
cssInitialize():Boolean
[static]
Initialises SVG libraries (icons and graphics) and sets new style properties (CSS).
| DrawLinkUI | |
![]() |
draw():void
Draws this DrawLinkUI polylines while respecting control points position and style properties.
| DrawLinkUI | |
![]() |
drawPolyline(polyline:Array):void
| DrawLinkUI | |
![]() |
drawQuadrics(polyline:Array):void
| DrawLinkUI | |
|
firstSegHandler(event:MouseEvent):void
Draws the first link segment in a new draw link task (when releasing the mouse).
| DrawOrthogonalLinkUI | ||
|
handleSeg(event:MouseEvent):void
Handles a link segment drawing given a mouse event (mouse release).
| DrawOrthogonalLinkUI | ||
|
mouseDownHandler(event:MouseEvent):void
Saves previous link segment drawing process (adding new control point) and starts a new link Segment
drawing process after updating the control points array.
| DrawOrthogonalLinkUI | ||
![]() |
mouseMoveHandler(event:MouseEvent):void
Starts a runtime link Segment drawing (drawing a link segment between two points by moving the mouse).
| DrawLinkUI | |
|
segHandler(event:MouseEvent):void
Draws a link segment in an existing draw link task (when releasing the mouse).
| DrawOrthogonalLinkUI | ||
![]() |
styleChanged(event:SVGAssetLibraryEvent):void
[static]
Changes the current used CSS style once an SVGAssetLibraryEvent is flagged.
| DrawLinkUI | |
| _first | property |
protected var _first:Boolean = trueFirst link drawing step (True if the link drawing process have just been started meaning first link segment drawing).
| _horizontal | property |
protected var _horizontal:Boolean = trueLink direction (True if horizontal direction).
| DrawOrthogonalLinkUI | () | constructor |
public function DrawOrthogonalLinkUI(view:DiagramView, action:Action)Creates a DrawOrthogonalLinkUI instance
Parametersview:DiagramView — DiagramView in which drawing process is performed.
|
|
action:Action |
| firstSegHandler | () | method |
protected function firstSegHandler(event:MouseEvent):voidDraws the first link segment in a new draw link task (when releasing the mouse).
Parametersevent:MouseEvent — Detected Mouse Event.
|
| handleSeg | () | method |
protected override function handleSeg(event:MouseEvent):voidHandles a link segment drawing given a mouse event (mouse release).
Parametersevent:MouseEvent |
| mouseDownHandler | () | method |
protected override function mouseDownHandler(event:MouseEvent):voidSaves previous link segment drawing process (adding new control point) and starts a new link Segment drawing process after updating the control points array.
Parametersevent:MouseEvent — Detected Mouse Event (Mouse Down Event).
|
| run | () | method |
public override function run(event:MouseEvent, dob:DiagramObject):voidParameters
event:MouseEvent |
|
dob:DiagramObject |
| segHandler | () | method |
protected function segHandler(event:MouseEvent):voidDraws a link segment in an existing draw link task (when releasing the mouse).
Parametersevent:MouseEvent — Detected Mouse Event.
|