Package | net.systemeD.potlatch2.mapfeatures.editors |
Class | public class SingleTagEditorFactory |
Inheritance | SingleTagEditorFactory EditorFactory |
Subclasses | CheckboxEditorFactory, ChoiceEditorFactory, FreeTextEditorFactory, NumberEditorFactory, SliderEditorFactory, SpeedEditorFactory |
Property | Defined by | ||
---|---|---|---|
category : String = "Standard" Default category: "Standard"
| EditorFactory | ||
description : 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 | ||
name : String The name of the field/tag/edit control, as defined in map features XML.
| EditorFactory | ||
presence : Presence
Default Presence behaviour: onTagMatch
| EditorFactory | ||
sortOrder : uint = 5 Default sorting: PRIORITY_NORMAL
| EditorFactory |
Method | Defined by | ||
---|---|---|---|
SingleTagEditorFactory(inputXML:XML)
| SingleTagEditorFactory | ||
areTagsMatching(entity:Entity):Boolean
| SingleTagEditorFactory | ||
createEditorInstance(entity:Entity):DisplayObject
| SingleTagEditorFactory | ||
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 | ||
getPriority(priority:String):uint
[static] Translates a priority string ("highest") to a const (PRIORITY_HIGHEST).
| EditorFactory |
Method | Defined by | ||
---|---|---|---|
SingleTagEditorFactory |
direction | property |
direction:String
[read-only]Implementation
public function get direction():String
key | property |
key:String
[read-only]Implementation
public function get key():String
SingleTagEditorFactory | () | constructor |
public function SingleTagEditorFactory(inputXML:XML)
Parameters
inputXML:XML |
areTagsMatching | () | method |
public override function areTagsMatching(entity:Entity):Boolean
Parameters
entity:Entity |
Boolean |
createEditorInstance | () | method |
public override function createEditorInstance(entity:Entity):DisplayObject
Parameters
entity:Entity |
DisplayObject |
createSingleTagEditor | () | method |