| Package | com.yworks.graph.drawing |
| Class | public class CollapsibleNodeStyleDecoratorRenderer |
| Inheritance | CollapsibleNodeStyleDecoratorRenderer AbstractNodeStyleRenderer AbstractStyleRenderer Object |
| Method | Defined By | ||
|---|---|---|---|
| CollapsibleNodeStyleDecoratorRenderer | |||
[override] | CollapsibleNodeStyleDecoratorRenderer | ||
![]() |
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 | |
getIntersection(innerX:Number, innerY:Number, outerX:Number, outerY:Number, intersectionPoint:IPointSetter):Boolean [override] | CollapsibleNodeStyleDecoratorRenderer | ||
![]() |
Configures the style and item parameters,
calls configure and returns this. | AbstractStyleRenderer | |
[override] | CollapsibleNodeStyleDecoratorRenderer | ||
![]() |
Configures the style and item parameters,
calls configure and returns this. | AbstractStyleRenderer | |
![]() |
Configures the style and
item parameters,
calls configure and returns this. | AbstractNodeStyleRenderer | |
![]() |
Installs the model in the canvas at the given group using the styleDescriptor. | AbstractStyleRenderer | |
isHit(x:Number, y:Number, ctx:ICanvasContext):Boolean [override] | CollapsibleNodeStyleDecoratorRenderer | ||
[override] | CollapsibleNodeStyleDecoratorRenderer | ||
isInside(x:Number, y:Number):Boolean [override] | CollapsibleNodeStyleDecoratorRenderer | ||
![]() |
Calls configure and tests the item using the style
for a visible intersection with the clip bounds. | AbstractStyleRenderer | |
lookup(type:Class):Object [override] | CollapsibleNodeStyleDecoratorRenderer | ||
[override] | CollapsibleNodeStyleDecoratorRenderer | ||
| Method | Defined By | ||
|---|---|---|---|
![]() | configure():void [override]
This is an empty implementation of the AbstractStyleRenderer.configure
method. | AbstractNodeStyleRenderer | |
![]() | [override]
Factory method for the StyleDescriptor property. | AbstractNodeStyleRenderer | |
Yields the ICollapsibleNodeStyleDecorator#buttonLocationParameter
for the current style
| CollapsibleNodeStyleDecoratorRenderer | ||
Callback method that yields the IIcon to use. | CollapsibleNodeStyleDecoratorRenderer | ||
Yields the ICollapsibleNodeStyleDecorator#wrapped property
for the current style
| CollapsibleNodeStyleDecoratorRenderer | ||
![]() | 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 | |
| CollapsibleNodeStyleDecoratorRenderer | () | Constructor |
public function CollapsibleNodeStyleDecoratorRenderer()| calculateBounds | () | method |
override public function calculateBounds(scratch:IMutableRectangle, ctx:ICanvasContext):IRectangleParameters
scratch:IMutableRectangle | |
ctx:ICanvasContext |
IRectangle |
| getButtonLocationParameter | () | method |
protected function getButtonLocationParameter():ILabelModelParameter
Yields the ICollapsibleNodeStyleDecorator#buttonLocationParameter
for the current style
ILabelModelParameter |
See also
| getIcon | () | method |
protected function getIcon(ctx:Object):IIcon
Callback method that yields the IIcon to use.
Parameters
ctx:Object — The context.
|
IIcon — The icon to use.
|
| getIntersection | () | method |
override public function getIntersection(innerX:Number, innerY:Number, outerX:Number, outerY:Number, intersectionPoint:IPointSetter):BooleanParameters
innerX:Number | |
innerY:Number | |
outerX:Number | |
outerY:Number | |
intersectionPoint:IPointSetter |
Boolean |
| getOutline | () | method |
| getWrappedStyle | () | method |
protected function getWrappedStyle():INodeStyle
Yields the ICollapsibleNodeStyleDecorator#wrapped property
for the current style
INodeStyle |
See also
| isHit | () | method |
override public function isHit(x:Number, y:Number, ctx:ICanvasContext):BooleanParameters
x:Number | |
y:Number | |
ctx:ICanvasContext |
Boolean |
| isInBox | () | method |
override public function isInBox(box:IRectangle, ctx:ICanvasContext):BooleanParameters
box:IRectangle | |
ctx:ICanvasContext |
Boolean |
| isInside | () | method |
override public function isInside(x:Number, y:Number):BooleanParameters
x:Number | |
y:Number |
Boolean |
| lookup | () | method |
override public function lookup(type:Class):ObjectParameters
type:Class |
Object |
| paint | () | method |
override public function paint(g:YGraphics, ctx:IPaintContext):voidParameters
g:YGraphics | |
ctx:IPaintContext |