Package | net.systemeD.potlatch2.mapfeatures.editors |
Class | public class ChoiceEditorFactory |
Inheritance | ChoiceEditorFactory SingleTagEditorFactory EditorFactory |
Property | Defined by | ||
---|---|---|---|
category : String = "Standard" Default category: "Standard"
| EditorFactory | ||
choices : Array | ChoiceEditorFactory | ||
description : String The label given to the edited field, as defined in map features XML.
| EditorFactory | ||
direction : String | SingleTagEditorFactory | ||
key : String | 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 | ||
---|---|---|---|
ChoiceEditorFactory(inputXML:XML)
| ChoiceEditorFactory | ||
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 | ||
---|---|---|---|
ChoiceEditorFactory |
choices | property |
public var choices:Array
ChoiceEditorFactory | () | constructor |
public function ChoiceEditorFactory(inputXML:XML)
Parameters
inputXML:XML |
createSingleTagEditor | () | method |