| Package | com.yworks.graph.drawing |
| Class | public class TemplateLabelStyleRenderer |
| Inheritance | TemplateLabelStyleRenderer AbstractLabelStyleRenderer AbstractStyleRenderer Object |
| Implements | com.yworks.canvas.drawing.IDisplayObjectCreator, com.yworks.graph.drawing.IDisplayObjectLayoutUpdater |
| Method | Defined By | ||
|---|---|---|---|
| TemplateLabelStyleRenderer | |||
![]() | [override]
Returns a tight rectangular area where the whole rendering
would fit into. | AbstractLabelStyleRenderer | |
createDisplayObject(context:IDisplayObjectContext):DisplayObject | TemplateLabelStyleRenderer | ||
![]() |
Configures the style and item parameters,
calls configure and returns this. | AbstractStyleRenderer | |
![]() |
Configures the style and item parameters,
does not call configure and returns this. | AbstractStyleRenderer | |
![]() |
Configures the style and item parameters,
calls configure and returns this. | AbstractStyleRenderer | |
![]() |
Configures the style and item parameters,
calls configure and returns this. | AbstractStyleRenderer | |
![]() |
Configures the style and item parameters,
calls configure and returns this. | AbstractStyleRenderer | |
![]() |
Calculates the ILabel.preferredSize of a given label using the
associated style. | AbstractLabelStyleRenderer | |
![]() |
Installs the model in the canvas at the given group using the styleDescriptor. | AbstractStyleRenderer | |
![]() | isHit(x:Number, y:Number, ctx:ICanvasContext):Boolean [override]
Hit tests the item by trying to apply the flash internal hit testing. | AbstractLabelStyleRenderer | |
![]() | [override]
Returns true if the corresponding
item is considered to intersect the given rectangular box.
This method may return false if the item cannot be
selected using a selection marquee or optionally if the
item is only partially contained within the box. | AbstractLabelStyleRenderer | |
![]() |
Calls configure and tests the item using the style
for a visible intersection with the clip bounds. | AbstractStyleRenderer | |
lookup(type:Class):Object [override] | TemplateLabelStyleRenderer | ||
![]() | [override]
Performs the default painting logic and delegates to paintContent. | AbstractLabelStyleRenderer | |
updateDisplayObject(oldDisplayObject:DisplayObject, context:IDisplayObjectContext):DisplayObject | TemplateLabelStyleRenderer | ||
updateDisplayObjectLayout(displayObject:UIComponent, ctx:IDisplayObjectContext):void | TemplateLabelStyleRenderer | ||
| Method | Defined By | ||
|---|---|---|---|
[override]
Calculates the preferred size given the current state of the renderer. | TemplateLabelStyleRenderer | ||
![]() | configure():void [override]
Updates the layout usign the item's layout. | AbstractLabelStyleRenderer | |
![]() | [override]
Factory method for the styleDescriptor property. | AbstractLabelStyleRenderer | |
![]() | isAutoFlip():Boolean
Determines whether the label's style should automatically flip the painting contents if the
layout is upside down. | AbstractLabelStyleRenderer | |
![]() |
Performs the core painting logic. | AbstractLabelStyleRenderer | |
![]() | setItem(item:IModelItem):void
Called by the various descriptor getters to initialize the item. | AbstractStyleRenderer | |
![]() | setStyle(style:IVisualStyle):void
Called by the various descriptor getters to initialize the style. | AbstractStyleRenderer | |
| TemplateLabelStyleRenderer | () | Constructor |
public function TemplateLabelStyleRenderer()| _getPreferredSize | () | method |
override protected function _getPreferredSize():ISizeCalculates the preferred size given the current state of the renderer.
ReturnsISize |
| createDisplayObject | () | method |
public function createDisplayObject(context:IDisplayObjectContext):DisplayObjectParameters
context:IDisplayObjectContext |
DisplayObject |
| lookup | () | method |
override public function lookup(type:Class):ObjectParameters
type:Class |
Object |
| updateDisplayObject | () | method |
public function updateDisplayObject(oldDisplayObject:DisplayObject, context:IDisplayObjectContext):DisplayObjectParameters
oldDisplayObject:DisplayObject | |
context:IDisplayObjectContext |
DisplayObject |
| updateDisplayObjectLayout | () | method |
public function updateDisplayObjectLayout(displayObject:UIComponent, ctx:IDisplayObjectContext):voidParameters
displayObject:UIComponent | |
ctx:IDisplayObjectContext |