| Package | com.afcomponents.umap.gui |
| Class | public class ZoomControl |
| Inheritance | ZoomControl UIMapControl fl.core.UIComponent |
| Property | Defined by | ||
|---|---|---|---|
![]() | align : Align
Gets or sets the control's alignment.
| UIMapControl | |
![]() | asDisplayObject : DisplayObject
Returns reference to the object as a DisplayObject instance.
| UIMapControl | |
| autoRepeat : Boolean | ZoomControl | ||
![]() | core : UMap
Returns reference to the core UMap object.
| UIMapControl | |
![]() | display : String | UIMapControl | |
![]() | DISPLAY_COMPACT : String = "compact" [static]
| UIMapControl | |
![]() | DISPLAY_EXPANDED : String = "expanded" [static]
| UIMapControl | |
![]() | id : uint
Gets or sets the ID of the object.
| UIMapControl | |
![]() | minSize : Size
Gets or sets control's minimum size.
| UIMapControl | |
![]() | name : String | UIMapControl | |
| offset : Offset
| ZoomControl | ||
![]() | owner : IMapObjectContainer
Returns reference to the owner container object.
| UIMapControl | |
![]() | padding : Point
Gets or sets the control's padding value.
| UIMapControl | |
| repeatDelay : uint | ZoomControl | ||
| repeatStartDelay : uint | ZoomControl | ||
| stackAlignment : String | ZoomControl | ||
![]() | STACK_HORIZONTAL : String = "horizontal" [static]
| UIMapControl | |
| stackPadding : Point | ZoomControl | ||
![]() | STACK_VERTICAL : String = "vertical" [static]
| UIMapControl | |
| Method | Defined by | ||
|---|---|---|---|
|
ZoomControl(param:Object = null)
| ZoomControl | ||
|
arrangeButtons():void
| ZoomControl | ||
![]() |
cancelDoubleClick(event:MouseEvent = null):void
| UIMapControl | |
![]() |
cancelDragging(event:MouseEvent = null):void
| UIMapControl | |
|
dispose():void
Releases all the resources accuired by the object.
| ZoomControl | ||
![]() | UIMapControl | ||
![]() |
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 | ||
![]() |
remove():void
Removes the object from the owner container object.
| UIMapControl | |
![]() |
setAvailableSize(size:Size):void
Invoked by GuiManager to report the available space this control can occupy.
| UIMapControl | |
![]() |
setOwner(owner:IMapObjectContainer):void
Adds the object to the specified IMapObjectContainer.
| UIMapControl | |
![]() |
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 | ||
![]() |
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 | ||
| Method | Defined by | ||
|---|---|---|---|
![]() |
createChildren():void
| UIMapControl | |
|
updateZoomLevels():void
| ZoomControl | ||
| Constant | Defined by | ||
|---|---|---|---|
| ZOOM_IN : String = "zoomIn" | ZoomControl | ||
| autoRepeat | property |
autoRepeat:Boolean [read-write]Implementation
public function get autoRepeat():Boolean
public function set autoRepeat(value:Boolean):void
| offset | property |
offset:Offset [read-write]Implementation
public function get offset():Offset
public function set offset(value:Offset):void
| repeatDelay | property |
repeatDelay:uint [read-write]Implementation
public function get repeatDelay():uint
public function set repeatDelay(value:uint):void
| repeatStartDelay | property |
repeatStartDelay:uint [read-write]Implementation
public function get repeatStartDelay():uint
public function set repeatStartDelay(value:uint):void
| stackAlignment | property |
stackAlignment:String [read-write]Implementation
public function get stackAlignment():String
public function set stackAlignment(value:String):void
| stackPadding | property |
stackPadding:Point [read-write]Implementation
public function get stackPadding():Point
public function set stackPadding(value:Point):void
| ZoomControl | () | constructor |
public function ZoomControl(param:Object = null)Parameters
param:Object (default = null) |
| arrangeButtons | () | method |
public function arrangeButtons():void
| dispose | () | method |
public override function dispose():voidReleases all the resources accuired by the object.
| ready | () | method |
public override function ready():voidInvoked when UMap enters ready() state.
| refresh | () | method |
public override function refresh():voidRefreshes the control.
| updateMapType | () | method |
public override function updateMapType(mapType:IMapType):voidInvoked when map type has been updated.
ParametersmapType:IMapType — Reference to the new map type.
|
| updatePosition | () | method |
public override function updatePosition(latlng:LatLng):voidInvoked when map center has been updated.
Parameterslatlng:LatLng — Geographical coordinates of the new map center.
|
| updateZoom | () | method |
public override function updateZoom(zoom:Number):voidInvoked when map zoom level has been updated.
Parameterszoom:Number — New zoom level.
|
| updateZoomLevels | () | method |
protected function updateZoomLevels():void
| ZOOM_IN | constant |
public const ZOOM_IN:String = "zoomIn"