API Documentation | All Packages | All Classes | Index | Frames No Frames |
Class Control

Package | org.openscales.core.control
Class | public class Control
Inheritance | Control flash.display.Sprite
Implements | IControl
Subclasses | LayerSwitcher, MousePosition, PanZoom, ScaleLine

Control base class

Public Properties

| Property | Defined by
--- | --- | ---
|  | active : Boolean | Control
|  | map : Map | Control
|  | position : Pixel | Control

Protected Properties

| Property | Defined by
--- | --- | ---
|  | _active : Boolean = false | Control
|  | _map : Map = null | Control

Public Methods

| Method | Defined by
--- | --- | ---
|  | Control(position:Pixel = null) | Control
|  | destroy():void | Control
|  | draw():void | Control
|  | resize(event:MapEvent):void | Control

Property detail

_active | property

`protected var _active:Boolean = false`

active | property |

`active:Boolean` [read-write]Implementation
`public function get active():Boolean`
`public function set active(value:Boolean):void`

_map | property |

`protected var _map:Map = null`

map | property |

`map:Map` [read-write]Implementation
`public function get map():Map`
`public function set map(value:Map):void`

position | property |

`position:Pixel` [read-write]Implementation
`public function get position():Pixel`
`public function set position(value:Pixel):void`
Constructor detail

Control | () | constructor

`public function Control(position:Pixel = null)`Parameters

| `position:Pixel` (default = `null`)``

Method detail

destroy | () | method

`public function destroy():void`

draw | () | method |

`public function draw():void`

resize | () | method |

`public function resize(event:MapEvent):void` Parameters

| `event:MapEvent`