| Package | flare.vis.controls |
| Class | public class ExpandControl |
| Inheritance | ExpandControl Control flash.events.EventDispatcher |
| Property | Defined by | ||
|---|---|---|---|
![]() | filter : Function Boolean function indicating the items considered by the control.
| Control | |
![]() | object : InteractiveObject The interactive object this control is attached to.
| Control | |
| update : Function Update function invoked after expanding or collapsing an item.
| ExpandControl | ||
| Method | Defined by | ||
|---|---|---|---|
|
ExpandControl(filter:* = null, update:Function = null)
Creates a new ExpandControl.
| ExpandControl | ||
|
attach(obj:InteractiveObject):void
Attach this control to the given interactive object.
| ExpandControl | ||
|
detach():InteractiveObject
Detach this control.
| ExpandControl | ||
| update | property |
public var update:Function Update function invoked after expanding or collapsing an item.
By default, invokes the update method on the
visualization with a 1-second transitioner.
| ExpandControl | () | constructor |
public function ExpandControl(filter:* = null, update:Function = null)Creates a new ExpandControl.
Parametersfilter:* (default = null) — a Boolean-valued filter function for determining which
item this control will expand or collapse
|
|
update:Function (default = null) — function invokde after expanding or collapsing an
item.
|
| attach | () | method |
public override function attach(obj:InteractiveObject):voidAttach this control to the given interactive object. This method will automatically detach if already attached to another object.
Parametersobj:InteractiveObject — the display object to attach to
|
| detach | () | method |
public override function detach():InteractiveObjectDetach this control.
ReturnsInteractiveObject — the interactive object this control was attached to,
or null if this control was not attached.
|