Packageorg.omoa.classification
Classpublic class AbstractClassification
InheritanceAbstractClassification Inheritance Object
Implements IClassification, ISymbolPropertyManipulator
Subclasses BorderClassification, DatumQuery, LinearInterpolateClassification, SquarerootClassification

Abstract implementation of the classification interface. A classification has n clasification elements. Specific implementations need to override the selectElement method and need to set the _selectedElement property.



Public Properties
 PropertyDefined By
  dataDescription : Description
[read-only]
AbstractClassification
  isDynamic : Boolean
[read-only]
AbstractClassification
  style : IStyle
AbstractClassification
  type : String
[read-only]
AbstractClassification
  value : *
AbstractClassification
Protected Properties
 PropertyDefined By
  _classificationDescription : String
AbstractClassification
  _description : Description
AbstractClassification
  _elements : Vector.<IClassificationElement>
AbstractClassification
  _label : String = AbstractClassification
AbstractClassification
  _selectedElement : IClassificationElement
AbstractClassification
Public Methods
 MethodDefined By
  
AbstractClassification
  
AbstractClassification
  
count():int
AbstractClassification
  
AbstractClassification
  
description():String
AbstractClassification
  
AbstractClassification
  
initialize(settings:Object):Boolean
AbstractClassification
  
label():String
AbstractClassification
  
AbstractClassification
Property Detail
_classificationDescriptionproperty
protected var _classificationDescription:String

_descriptionproperty 
protected var _description:Description

_elementsproperty 
protected var _elements:Vector.<IClassificationElement>

_labelproperty 
protected var _label:String = AbstractClassification

_selectedElementproperty 
protected var _selectedElement:IClassificationElement

dataDescriptionproperty 
dataDescription:Description  [read-only]


Implementation
    public function get dataDescription():Description
isDynamicproperty 
isDynamic:Boolean  [read-only]


Implementation
    public function get isDynamic():Boolean
styleproperty 
style:IStyle


Implementation
    public function get style():IStyle
    public function set style(value:IStyle):void
typeproperty 
type:String  [read-only]


Implementation
    public function get type():String
valueproperty 
value:*


Implementation
    public function get value():*
    public function set value(value:any):void
Constructor Detail
AbstractClassification()Constructor
public function AbstractClassification()



Method Detail
addElement()method
public function addElement(element:IClassificationElement):void

Parameters

element:IClassificationElement

count()method 
public function count():int

Returns
int
currentElement()method 
public function currentElement():IClassificationElement

Returns
IClassificationElement
description()method 
public function description():String

Returns
String
element()method 
public function element(index:int):IClassificationElement

Parameters

index:int

Returns
IClassificationElement
initialize()method 
public function initialize(settings:Object):Boolean

Parameters

settings:Object

Returns
Boolean
label()method 
public function label():String

Returns
String
selectElement()method 
public function selectElement(value:*):IClassificationElement

Parameters

value:*

Returns
IClassificationElement