Packagenet.systemeD.potlatch2.mapfeatures.editors
Classpublic class RelationMemberEditorFactory
InheritanceRelationMemberEditorFactory Inheritance EditorFactory
SubclassesRouteEditorFactory, TurnRestrictionEditorFactory



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
 Inheritedname : String
The name of the field/tag/edit control, as defined in map features XML.
EditorFactory
 Inheritedpresence : Presence
Default Presence behaviour: onTagMatch
EditorFactory
  relationTagPatterns : Object
[read-only]
RelationMemberEditorFactory
  role : String
[read-only]
RelationMemberEditorFactory
 InheritedsortOrder : uint = 5
Default sorting: PRIORITY_NORMAL
EditorFactory
Public Methods
 MethodDefined by
  
Constructs the editing panel for a relation(###), given its in map_features.xml
RelationMemberEditorFactory
  
areTagsMatching(entity:Entity):Boolean
RelationMemberEditorFactory
  
createEditorInstance(entity:Entity):DisplayObject
RelationMemberEditorFactory
 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
  
RelationMemberEditorFactory
Property detail
relationTagPatternsproperty
relationTagPatterns:Object  [read-only]Implementation
    public function get relationTagPatterns():Object
roleproperty 
role:String  [read-only]Implementation
    public function get role():String
Constructor detail
RelationMemberEditorFactory()constructor
public function RelationMemberEditorFactory(inputXML:XML)

Constructs the editing panel for a relation(###), given its in map_features.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
createRelationMemberEditor()method 
protected function createRelationMemberEditor():RelationMemberEditor

Returns
RelationMemberEditor