Package | twaver.network.ui |
Class | public class ShapeNodeUI |
Inheritance | ShapeNodeUI ![]() ![]() ![]() |
See also
Method | Defined By | ||
---|---|---|---|
Constructor. | ShapeNodeUI | ||
![]() | checkAttachments():void
Check all attachments installed on this element ui. | ElementUI | |
![]() | dispose():void [override]
Dispose all resources used by this element ui. | NodeUI | |
![]() | handlePropertyChange(e:PropertyChangeEvent):void
Called when any element property changed. | ElementUI | |
![]() |
Called when selection changed. | ElementUI | |
![]() | hitsTest(point:Point, tolerance:int):Object | ElementUI | |
![]() | invalidate(checkAttachments:Boolean):void [override]
Invalidate element ui. | NodeUI | |
![]() | updateProperties():void [override]
Update all properties from network and element,
redraw this element ui. | NodeUI |
Method | Defined By | ||
---|---|---|---|
![]() | addAttachment(attachment:Attachment):void
Add attachment into this element ui. | ElementUI | |
![]() | checkAlarmAttachment():void
Check, update and display alarm attachment. | ElementUI | |
![]() | checkEditAttachment():void
Check, update and display edit attachment. | ElementUI | |
![]() | checkIconsAttachment():void
Check, update and display icon attachment. | ElementUI | |
![]() | checkLabelAttachment():void
Check, update and display label attachment. | ElementUI | |
![]() | commitProperties():void [override]
| ElementUI | |
![]() | createBodyFilters():Array
Create element body effect filters of this element ui. | ElementUI | |
![]() | createBodyRect():Rectangle [override]
Create body bound rectangle. | NodeUI | |
![]() | createFilters():Array
Create element effect filters of this element ui. | ElementUI | |
![]() | drawBody(g:Graphics):void [override]
Draw element body. | NodeUI | |
![]() | drawContent(graphics:Graphics):void
Draw node content on grahics. | NodeUI | |
drawDefaultContent(graphics:Graphics):void [override]
Draw default node content. | ShapeNodeUI | ||
![]() | drawInnerShape(graphics:Graphics):void
Draw inner node shape on graphics. | NodeUI | |
![]() | drawOuterBorder(graphics:Graphics):void
Draw node outline border. | NodeUI | |
![]() | drawSelectBorder(graphics:Graphics):void
Draw node selection border. | NodeUI | |
![]() | drawVectorContent(graphics:Graphics):void
Draw vector image content on graphics. | NodeUI | |
![]() | getDyeColor(styleProp:String):Number
Get dye color of the specified style property. | ElementUI | |
![]() | isEditable():Boolean
Check whether this element is editable now. | ElementUI | |
![]() | measure():void [override]
| ElementUI | |
![]() | removeAttachment(attachment:Attachment):void
Remove specified attachment from this element ui. | ElementUI | |
![]() | updateMeasure():void [override]
Update element measure. | NodeUI |
ShapeNodeUI | () | Constructor |
public function ShapeNodeUI(network:Network, shapeNode:ShapeNode)
Constructor. Create shape node ui for this network and shape node element.
Parametersnetwork:Network — the network canvas to display this element ui.
| |
shapeNode:ShapeNode — the shape node this ui to paint for.
|
drawDefaultContent | () | method |
override protected function drawDefaultContent(graphics:Graphics):void
Draw default node content.
Parameters
graphics:Graphics — the graphics to draw content on.
|