| Package | com.mapquest.tilemap.controls |
| Class | public class Control |
| Inheritance | Control flash.display.Sprite |
| Subclasses | DrawnBackgroundControl, LogoControl, ViewControl |
| Property | Defined by | ||
|---|---|---|---|
| CONTROL_LOGO : int = 4 [static]
| Control | ||
| CONTROL_PAN : int = 1 [static]
| Control | ||
| CONTROL_PANZOOM : int = 0 [static]
| Control | ||
| CONTROL_TYPE : int = 3 [static]
| Control | ||
| CONTROL_ZOOM : int = 2 [static]
| Control | ||
| PAN_EAST : Number = 2 [static]
| Control | ||
| PAN_NORTH : Number = 0 [static]
| Control | ||
| PAN_SOUTH : Number = 1 [static]
| Control | ||
| PAN_WEST : Number = 3 [static]
| Control | ||
| Property | Defined by | ||
|---|---|---|---|
| map : TileMap | Control | ||
| position : MapCornerPlacement | Control | ||
| type : int | Control | ||
| Method | Defined by | ||
|---|---|---|---|
|
Control()
Control is an abstract base class containing functionality
specific to all controls.
| Control | ||
|
getHeight():int
Determines the height of the control by selecting the greatest height from all elements in the control subtree.
| Control | ||
|
Returns the position of the this control.
| Control | ||
|
getType():int
| Control | ||
|
getWidth():int
Determines the width of the control by selecting the greatest width from all elements in the the control subtree.
| Control | ||
|
initialize(map:TileMap):void
Initialize the Control.
| Control | ||
|
isPrintable():Boolean
| Control | ||
|
setPosition(p:MapCornerPlacement):void
| Control | ||
|
setPrintable(b:Boolean):void
| Control | ||
| CONTROL_LOGO | property |
public static var CONTROL_LOGO:int = 4
| CONTROL_PAN | property |
public static var CONTROL_PAN:int = 1
| CONTROL_PANZOOM | property |
public static var CONTROL_PANZOOM:int = 0
| CONTROL_TYPE | property |
public static var CONTROL_TYPE:int = 3
| CONTROL_ZOOM | property |
public static var CONTROL_ZOOM:int = 2
| map | property |
protected var map:TileMap
| PAN_EAST | property |
public static var PAN_EAST:Number = 2
| PAN_NORTH | property |
public static var PAN_NORTH:Number = 0
| PAN_SOUTH | property |
public static var PAN_SOUTH:Number = 1
| PAN_WEST | property |
public static var PAN_WEST:Number = 3
| position | property |
protected var position:MapCornerPlacement
| type | property |
protected var type:int
| Control | () | constructor |
public function Control()Control is an abstract base class containing functionality specific to all controls.
| getHeight | () | method |
public function getHeight():intDetermines the height of the control by selecting the greatest height from all elements in the control subtree. Override this method to provide a custom height (in most cases this should be overriden)
Returnsint |
| getPosition | () | method |
public function getPosition():MapCornerPlacementReturns the position of the this control. A default position is set when instantiated.
ReturnsMapCornerPlacement |
| getType | () | method |
public function getType():int
Returns
int |
| getWidth | () | method |
public function getWidth():intDetermines the width of the control by selecting the greatest width from all elements in the the control subtree. Override this method to provide a custom width (in most cases this should be overriden)
Returnsint |
| initialize | () | method |
| isPrintable | () | method |
public function isPrintable():Boolean
Returns
Boolean |
| setPosition | () | method |
| setPrintable | () | method |
public function setPrintable(b:Boolean):voidParameters
b:Boolean |