Packagenet.systemeD.potlatch2.mapfeatures.editors
Classpublic class SingleTagEditorFactory
InheritanceSingleTagEditorFactory Inheritance EditorFactory
SubclassesCheckboxEditorFactory, ChoiceEditorFactory, FreeTextEditorFactory, NumberEditorFactory, SliderEditorFactory, SpeedEditorFactory



Public Properties
 PropertyDefined by
 Inheritedcategory : String = "Standard"
Default category: "Standard"
EditorFactory
 Inheriteddescription : String
The label given to the edited field, as defined in map features XML.
EditorFactory
  direction : String
[read-only]
SingleTagEditorFactory
  key : String
[read-only]
SingleTagEditorFactory
 Inheritedname : String
The name of the field/tag/edit control, as defined in map features XML.
EditorFactory
 Inheritedpresence : Presence
Default Presence behaviour: onTagMatch
EditorFactory
 InheritedsortOrder : uint = 5
Default sorting: PRIORITY_NORMAL
EditorFactory
Public Methods
 MethodDefined by
  
SingleTagEditorFactory(inputXML:XML)
SingleTagEditorFactory
  
areTagsMatching(entity:Entity):Boolean
SingleTagEditorFactory
  
createEditorInstance(entity:Entity):DisplayObject
SingleTagEditorFactory
 Inherited
createFactory(inputType:String, inputXML:XML):EditorFactory
[static] Returns a specific subclass of EditorFactory as appropriate for the type: "freetext", "checkbox", "choice", "slider", "number", "speed", "route", "turn".
EditorFactory
 Inherited
getPriority(priority:String):uint
[static] Translates a priority string ("highest") to a const (PRIORITY_HIGHEST).
EditorFactory
Protected Methods
 MethodDefined by
  
SingleTagEditorFactory
Property detail
directionproperty
direction:String  [read-only]Implementation
    public function get direction():String
keyproperty 
key:String  [read-only]Implementation
    public function get key():String
Constructor detail
SingleTagEditorFactory()constructor
public function SingleTagEditorFactory(inputXML:XML)Parameters
inputXML:XML
Method detail
areTagsMatching()method
public override function areTagsMatching(entity:Entity):BooleanParameters
entity:Entity

Returns
Boolean
createEditorInstance()method 
public override function createEditorInstance(entity:Entity):DisplayObjectParameters
entity:Entity

Returns
DisplayObject
createSingleTagEditor()method 
protected function createSingleTagEditor():SingleTagEditor

Returns
SingleTagEditor