Packageflare.vis.controls
Classpublic class Control
InheritanceControl Inheritance flash.events.EventDispatcher
ImplementsIControl
SubclassesAnchorControl, ClickControl, DragControl, ExpandControl, HoverControl, PanZoomControl, SelectionControl, TooltipControl

Base class for interactive controls.



Public Properties
 PropertyDefined 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
Public Methods
 MethodDefined by
  
Creates a new Control
Control
  
attach(obj:InteractiveObject):void
Attach this control to the given interactive object.
Control
  
detach():InteractiveObject
Detach this control.
Control
Property detail
filterproperty
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

objectproperty 
object:InteractiveObject  [read-only]

The interactive object this control is attached to.

Implementation
    public function get object():InteractiveObject
Constructor detail
Control()constructor
public function Control()

Creates a new Control

Method detail
attach()method
public function attach(obj:InteractiveObject):void

Attach this control to the given interactive object. This method will automatically detach if already attached to another object.

Parameters
obj:InteractiveObject — the display object to attach to
detach()method 
public function detach():InteractiveObject

Detach this control.

Returns
InteractiveObject — the interactive object this control was attached to, or null if this control was not attached.