| Package | com.afcomponents.umap.display |
| Class | public class GridSegment |
| Inheritance | GridSegment MapObject flash.display.Sprite |
| Implements | IGridSegment |
| Property | Defined by | ||
|---|---|---|---|
![]() | asDisplayObject : DisplayObject
Returns reference to the object as a DisplayObject instance.
| MapObject | |
![]() | core : UMap
Returns reference to the core UMap object.
| MapObject | |
![]() | id : uint
Gets or sets the ID of the object.
| MapObject | |
| job : ImageLoaderJob
| GridSegment | ||
![]() | name : String
Gets or sets the name of the object.
| MapObject | |
![]() | owner : IMapObjectContainer
Returns reference to the owner container object.
| MapObject | |
| point : Point [read-only]
Returns segment's point.
| GridSegment | ||
| priority : uint [read-only]
Returns segment's priority.
| GridSegment | ||
| zoom : uint [read-only]
Returns segment's zoom level.
| GridSegment | ||
| Method | Defined by | ||
|---|---|---|---|
|
GridSegment(param:Object = null)
| GridSegment | ||
|
addLayer(layer:ITileLayer):void
| GridSegment | ||
|
dispose():void
Releases all the resources accuired by the object.
| GridSegment | ||
|
equals(other:IGridSegment):Boolean
Compares the position of this segment to the other.
| GridSegment | ||
|
init(point:Point, zoom:uint, priority:uint = 0):void
Sets segements options, and starts loading the image(s) for this segment.
| GridSegment | ||
![]() |
remove():void
Removes the object from the owner container object.
| MapObject | |
|
setErrorImage():void
Attaches an error symbol to the segment and sets it's caption.
| GridSegment | ||
![]() |
setOwner(owner:IMapObjectContainer):void
Adds the object to the specified IMapObjectContainer.
| MapObject | |
![]() |
toString():String
Returns a textual representation of the object.
| MapObject | |
| job | property |
job:ImageLoaderJob [read-write]Implementation
public function get job():ImageLoaderJob
public function set job(value:ImageLoaderJob):void
| point | property |
point:Point [read-only]Returns segment's point.
Implementation public function get point():Point
| priority | property |
priority:uint [read-only]Returns segment's priority.
Implementation public function get priority():uint
| zoom | property |
zoom:uint [read-only]Returns segment's zoom level.
Implementation public function get zoom():uint
| GridSegment | () | constructor |
public function GridSegment(param:Object = null)Parameters
param:Object (default = null) |
| addLayer | () | method |
| dispose | () | method |
public override function dispose():voidReleases all the resources accuired by the object.
| equals | () | method |
public function equals(other:IGridSegment):BooleanCompares the position of this segment to the other.
Parametersother:IGridSegment |
Boolean — A value of true if point and zoom level of the segments are equal; false if they are not.
|
| init | () | method |
public function init(point:Point, zoom:uint, priority:uint = 0):voidSets segements options, and starts loading the image(s) for this segment.
Parameterspoint:Point — Object wich specifies the position of the segement in tile coordinates.
|
|
zoom:uint — Zoom level of segment.
|
|
priority:uint (default = 0) — Loading priority of the segement.
|
| setErrorImage | () | method |
public function setErrorImage():voidAttaches an error symbol to the segment and sets it's caption.