| Package | com.yworks.graph.drawing |
| Class | public class CollapsibleNodeStyleDecorator |
| Inheritance | CollapsibleNodeStyleDecorator Object |
| Implements | ICollapsibleNodeStyleDecorator |
| Property | Defined By | ||
|---|---|---|---|
| buttonLocationParameter : ILabelModelParameter
An ILabelModelParameter that determines the placement of the button for toggling the
expanded state. | CollapsibleNodeStyleDecorator | ||
| collapsedIcon : IIcon
Yields the icon to use for displaying the button on a collapsed
group node. | CollapsibleNodeStyleDecorator | ||
| expandedIcon : IIcon
Yields the icon to use for displaying the button on an expanded
group node. | CollapsibleNodeStyleDecorator | ||
| insets : Rectangle
Yields the insets to use for the IInsetsProvider that will be reported
by the CollapsibleNodeStyleDecoratorRenderer's ILookup. | CollapsibleNodeStyleDecorator | ||
| styleRenderer : IStyleRenderer [read-only] | CollapsibleNodeStyleDecorator | ||
| wrapped : INodeStyle | CollapsibleNodeStyleDecorator | ||
| Method | Defined By | ||
|---|---|---|---|
CollapsibleNodeStyleDecorator(decoratedStyle:INodeStyle = null)
Initializes a new instance. | CollapsibleNodeStyleDecorator | ||
clone():Object | CollapsibleNodeStyleDecorator | ||
| CollapsibleNodeStyleDecorator | |||
| Method | Defined By | ||
|---|---|---|---|
createClone():Object | CollapsibleNodeStyleDecorator | ||
| buttonLocationParameter | property |
buttonLocationParameter:ILabelModelParameter
An ILabelModelParameter that determines the placement of the button for toggling the
expanded state.
The ILabelModelParameter should support
labels bound to an INode because the button will be positioned as if it was an ILabel
owned by the INode that uses this style.
public function get buttonLocationParameter():ILabelModelParameter public function set buttonLocationParameter(value:ILabelModelParameter):void| collapsedIcon | property |
collapsedIcon:IIconYields the icon to use for displaying the button on a collapsed group node.
public function get collapsedIcon():IIcon public function set collapsedIcon(value:IIcon):void| expandedIcon | property |
expandedIcon:IIconYields the icon to use for displaying the button on an expanded group node.
public function get expandedIcon():IIcon public function set expandedIcon(value:IIcon):void| insets | property |
insets:Rectangle
Yields the insets to use for the IInsetsProvider that will be reported
by the CollapsibleNodeStyleDecoratorRenderer's ILookup.
This effectively influences the way the bounds of a group node are being calculated.
The default IGroupBoundsCalculator implementation will use these insets to
determine the minimum size of a group node given a set of contained nodes.
public function get insets():Rectangle public function set insets(value:Rectangle):void| styleRenderer | property |
styleRenderer:IStyleRenderer [read-only] public function get styleRenderer():IStyleRenderer| wrapped | property |
wrapped:INodeStyle public function get wrapped():INodeStyle public function set wrapped(value:INodeStyle):void| CollapsibleNodeStyleDecorator | () | Constructor |
public function CollapsibleNodeStyleDecorator(decoratedStyle:INodeStyle = null)
Initializes a new instance. If no style instance is provided that should be decorated by the new
instance, a ShapeNodeStyle instance is used.
decoratedStyle:INodeStyle (default = null) — The style to be decorated.
|
| clone | () | method |
public function clone():ObjectReturnsObject |
| createClone | () | method |
protected function createClone():ObjectReturnsObject |
| install | () | method |
public function install(canvas:CanvasComponent, group:ICanvasObjectGroup, modelItem:IModelItem):ArrayParameters
canvas:CanvasComponent | |
group:ICanvasObjectGroup | |
modelItem:IModelItem |
Array |