| Package | com.afcomponents.umap.gui |
| Class | public class MapTypeControl |
| Inheritance | MapTypeControl UIMapControl fl.core.UIComponent |
| Property | Defined by | ||
|---|---|---|---|
| align : Align
Gets or sets the control's alignment.
| MapTypeControl | ||
![]() | asDisplayObject : DisplayObject
Returns reference to the object as a DisplayObject instance.
| UIMapControl | |
| buttons : Array [read-only]
| MapTypeControl | ||
![]() | 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
Gets or sets the control's offset position.
| UIMapControl | |
![]() | owner : IMapObjectContainer
Returns reference to the owner container object.
| UIMapControl | |
![]() | padding : Point
Gets or sets the control's padding value.
| UIMapControl | |
![]() | stackAlignment : String
Gets or sets control's stack alignment.
| UIMapControl | |
![]() | STACK_HORIZONTAL : String = "horizontal" [static]
| UIMapControl | |
| stackPadding : Point
Gets or sets control's stack padding value.
| MapTypeControl | ||
![]() | STACK_VERTICAL : String = "vertical" [static]
| UIMapControl | |
| Method | Defined by | ||
|---|---|---|---|
|
MapTypeControl(param:Object = null)
| MapTypeControl | ||
|
| MapTypeControl | ||
|
arrangeButtons():void
| MapTypeControl | ||
![]() |
cancelDoubleClick(event:MouseEvent = null):void
| UIMapControl | |
![]() |
cancelDragging(event:MouseEvent = null):void
| UIMapControl | |
|
dispose():void
Releases all the resources accuired by the object.
| MapTypeControl | ||
![]() | 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.
| MapTypeControl | ||
|
refresh():void
Refreshes the control.
| MapTypeControl | ||
![]() |
remove():void
Removes the object from the owner container object.
| UIMapControl | |
|
removeAllButtons():void
| MapTypeControl | ||
|
removeButton(button:Button):void
| MapTypeControl | ||
![]() |
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.
| MapTypeControl | ||
![]() |
updatePosition(latlng:LatLng):void
Invoked when map center has been updated.
| UIMapControl | |
![]() |
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.
| UIMapControl | |
| align | property |
align:Align [read-write]
Gets or sets the control's alignment. Use Align constants.
public function get align():Align
public function set align(value:Align):void
| buttons | property |
buttons:Array [read-only]Implementation
public function get buttons():Array
| stackPadding | property |
stackPadding:Point [read-write]Gets or sets control's stack padding value.
Implementation public function get stackPadding():Point
public function set stackPadding(value:Point):void
| MapTypeControl | () | constructor |
public function MapTypeControl(param:Object = null)Parameters
param:Object (default = null) |
| addButton | () | method |
public function addButton(button:Button, before:uint = 0):ButtonParameters
button:Button |
|
before:uint (default = 0) |
Button |
| 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.
| removeAllButtons | () | method |
public function removeAllButtons():void
| removeButton | () | method |
| updateMapType | () | method |
public override function updateMapType(mapType:IMapType):voidInvoked when map type has been updated.
ParametersmapType:IMapType — Reference to the new map type.
|