| Package | flare.vis.controls |
| Class | public class Control |
| Inheritance | Control flash.events.EventDispatcher |
| Implements | IControl |
| Subclasses | AnchorControl, ClickControl, DragControl, ExpandControl, HoverControl, PanZoomControl, SelectionControl, TooltipControl |
| Property | Defined by | ||
|---|---|---|---|
| filter : Function Boolean function indicating the items considered by the control.
| Control | ||
| object : InteractiveObject [read-only] The interactive object this control is attached to.
| Control | ||
| Method | Defined by | ||
|---|---|---|---|
|
Control()
Creates a new Control
| Control | ||
|
attach(obj:InteractiveObject):void
Attach this control to the given interactive object.
| Control | ||
|
detach():InteractiveObject
Detach this control.
| Control | ||
| filter | property |
filter:Function [read-write]Boolean function indicating the items considered by the control.
Implementation public function get filter():Function
public function set filter(value:Function):void
See also
| object | property |
object:InteractiveObject [read-only]The interactive object this control is attached to.
Implementation public function get object():InteractiveObject
| Control | () | constructor |
public function Control()Creates a new Control
| attach | () | method |
public 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 function detach():InteractiveObjectDetach this control.
ReturnsInteractiveObject — the interactive object this control was attached to,
or null if this control was not attached.
|