Packageorg.openscales.core.feature
Classpublic class LabelFeature
InheritanceLabelFeature Inheritance Feature Inheritance flash.display.Sprite



Public Properties
 PropertyDefined By
 Inheritedattributes : Object
Feature
  bold : Boolean
To define if the label is bold or not
LabelFeature
  color : uint
To define the color of the label
LabelFeature
 Inheriteddata : Object
Feature
 InheriteddateCreation : String
Feature
  font : String
The font of the label
LabelFeature
 Inheritedgeometry : Geometry
Feature
 InheritedisEditable : Boolean
To know if the vector feature is editable when its vector layer is in edit mode
Feature
  italic : Boolean
To define if the label is italic or not
LabelFeature
  labelPoint : LabelPoint
[read-only] To get the geometry (the LabelPoint) of the LabelFeature
LabelFeature
 Inheritedlayer : VectorLayer
Feature
 Inheritedleft : Number
[read-only]
Feature
  lonlat : Location
[override]
LabelFeature
 InheritedoriginalStyle : Style
Feature
 Inheritedselected : Boolean
Feature
  size : Number
The size of the label
LabelFeature
 Inheritedstate : String
Feature
 Inheritedstyle : Style
Feature
 Inheritedtop : Number
[read-only]
Feature
Public Methods
 MethodDefined By
  
LabelFeature(geom:LabelPoint = null, data:Object = null, style:Style = null, isEditable:Boolean = false)
Constructor class
LabelFeature
 Inherited
atPoint(lonlat:Location, toleranceLon:Number, toleranceLat:Number):Boolean
Determines if the feature is placed at the given point with a certain tolerance (or not).
Feature
 Inherited
To obtain feature clone
Feature
 Inherited
compatibleFeatures(features:Vector.<Feature>):Boolean
[static]
Feature
  
destroy():void
[override]
LabelFeature
  
draw():void
[override]
LabelFeature
 Inherited
onMouseClick(pevt:MouseEvent):void
Feature
 Inherited
onMouseDoubleClick(pevt:MouseEvent):void
Feature
 Inherited
onMouseDown(pevt:MouseEvent):void
Feature
 Inherited
onMouseHover(pevt:MouseEvent):void
Events Management
Feature
 Inherited
onMouseMove(pevt:MouseEvent):void
Feature
 Inherited
onMouseOut(pevt:MouseEvent):void
Feature
 Inherited
onMouseUp(pevt:MouseEvent):void
Feature
 Inherited
onScreen():Boolean
Determines if the feature is visible on the screen
Feature
 Inherited
Feature
 Inherited
Feature
Protected Methods
 MethodDefined By
 Inherited
acceptSymbolizer(symbolizer:Symbolizer):Boolean
Feature
 Inherited
executeDrawing(symbolizer:Symbolizer):void
Feature
 Inherited
renderRule(rule:Rule):void
Feature
Property Detail
boldproperty
bold:Boolean

To define if the label is bold or not


Implementation
    public function get bold():Boolean
    public function set bold(value:Boolean):void
colorproperty 
color:uint

To define the color of the label


Implementation
    public function get color():uint
    public function set color(value:uint):void
fontproperty 
font:String

The font of the label


Implementation
    public function get font():String
    public function set font(value:String):void
italicproperty 
italic:Boolean

To define if the label is italic or not


Implementation
    public function get italic():Boolean
    public function set italic(value:Boolean):void
labelPointproperty 
labelPoint:LabelPoint  [read-only]

To get the geometry (the LabelPoint) of the LabelFeature


Implementation
    public function get labelPoint():LabelPoint
lonlatproperty 
lonlat:Location[override]


Implementation
    public function get lonlat():Location
    public function set lonlat(value:Location):void
sizeproperty 
size:Number

The size of the label


Implementation
    public function get size():Number
    public function set size(value:Number):void
Constructor Detail
LabelFeature()Constructor
public function LabelFeature(geom:LabelPoint = null, data:Object = null, style:Style = null, isEditable:Boolean = false)

Constructor class

Parameters
geom:LabelPoint (default = null)
 
data:Object (default = null)
 
style:Style (default = null)
 
isEditable:Boolean (default = false)
Method Detail
destroy()method
override public function destroy():void

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