Packagecom.afcomponents.umap.gui
Classpublic class ZoomControl
InheritanceZoomControl Inheritance UIMapControl Inheritance fl.core.UIComponent

ZoomControl



Public Properties
 PropertyDefined by
 Inheritedalign : Align
Gets or sets the control's alignment.
UIMapControl
 InheritedasDisplayObject : DisplayObject
Returns reference to the object as a DisplayObject instance.
UIMapControl
  autoRepeat : Boolean
ZoomControl
 Inheritedcore : UMap
Returns reference to the core UMap object.
UIMapControl
 Inheriteddisplay : String
UIMapControl
 InheritedDISPLAY_COMPACT : String = "compact"
[static]
UIMapControl
 InheritedDISPLAY_EXPANDED : String = "expanded"
[static]
UIMapControl
 Inheritedid : uint
Gets or sets the ID of the object.
UIMapControl
 InheritedminSize : Size
Gets or sets control's minimum size.
UIMapControl
 Inheritedname : String
UIMapControl
  offset : Offset
ZoomControl
 Inheritedowner : IMapObjectContainer
Returns reference to the owner container object.
UIMapControl
 Inheritedpadding : Point
Gets or sets the control's padding value.
UIMapControl
  repeatDelay : uint
ZoomControl
  repeatStartDelay : uint
ZoomControl
  stackAlignment : String
ZoomControl
 InheritedSTACK_HORIZONTAL : String = "horizontal"
[static]
UIMapControl
  stackPadding : Point
ZoomControl
 InheritedSTACK_VERTICAL : String = "vertical"
[static]
UIMapControl
Public Methods
 MethodDefined by
  
ZoomControl(param:Object = null)
ZoomControl
  
ZoomControl
 Inherited
cancelDoubleClick(event:MouseEvent = null):void
UIMapControl
 Inherited
cancelDragging(event:MouseEvent = null):void
UIMapControl
  
dispose():void
Releases all the resources accuired by the object.
ZoomControl
 Inherited
UIMapControl
 Inherited
init():void
Invoked when control has been attached to GuiManager, or when UMap has been initialized.
UIMapControl
  
ready():void
Invoked when UMap enters ready() state.
ZoomControl
  
refresh():void
Refreshes the control.
ZoomControl
 Inherited
remove():void
Removes the object from the owner container object.
UIMapControl
 Inherited
Invoked by GuiManager to report the available space this control can occupy.
UIMapControl
 Inherited
Adds the object to the specified IMapObjectContainer.
UIMapControl
 Inherited
setRefreshCallback(refresh:Function):void
Sets the callback function which should be called by the control after it's size has been updated.
UIMapControl
  
updateMapType(mapType:IMapType):void
Invoked when map type has been updated.
ZoomControl
  
updatePosition(latlng:LatLng):void
Invoked when map center has been updated.
ZoomControl
 Inherited
updateSize(width:Number, height:Number):void
Invoked when the UMap Component size has been updated.
UIMapControl
  
updateZoom(zoom:Number):void
Invoked when map zoom level has been updated.
ZoomControl
Protected Methods
 MethodDefined by
 Inherited
UIMapControl
  
ZoomControl
Public Constants
 ConstantDefined by
  ZOOM_IN : String = "zoomIn"
ZoomControl
Property detail
autoRepeatproperty
autoRepeat:Boolean  [read-write]

Implementation
    public function get autoRepeat():Boolean
    public function set autoRepeat(value:Boolean):void
offsetproperty 
offset:Offset  [read-write]

Implementation
    public function get offset():Offset
    public function set offset(value:Offset):void
repeatDelayproperty 
repeatDelay:uint  [read-write]

Implementation
    public function get repeatDelay():uint
    public function set repeatDelay(value:uint):void
repeatStartDelayproperty 
repeatStartDelay:uint  [read-write]

Implementation
    public function get repeatStartDelay():uint
    public function set repeatStartDelay(value:uint):void
stackAlignmentproperty 
stackAlignment:String  [read-write]

Implementation
    public function get stackAlignment():String
    public function set stackAlignment(value:String):void
stackPaddingproperty 
stackPadding:Point  [read-write]

Implementation
    public function get stackPadding():Point
    public function set stackPadding(value:Point):void
Constructor detail
ZoomControl()constructor
public function ZoomControl(param:Object = null)

Parameters
param:Object (default = null)
Method detail
arrangeButtons()method
public function arrangeButtons():void

dispose()method 
public override function dispose():void

Releases all the resources accuired by the object.

ready()method 
public override function ready():void

Invoked when UMap enters ready() state.

refresh()method 
public override function refresh():void

Refreshes the control.

updateMapType()method 
public override function updateMapType(mapType:IMapType):void

Invoked when map type has been updated.

Parameters
mapType:IMapType — Reference to the new map type.
updatePosition()method 
public override function updatePosition(latlng:LatLng):void

Invoked when map center has been updated.

Parameters
latlng:LatLng — Geographical coordinates of the new map center.
updateZoom()method 
public override function updateZoom(zoom:Number):void

Invoked when map zoom level has been updated.

Parameters
zoom:Number — New zoom level.
updateZoomLevels()method 
protected function updateZoomLevels():void

Constant detail
ZOOM_INconstant
public const ZOOM_IN:String = "zoomIn"