Packagenet.systemeD.potlatch2
Classpublic class TagGrid
InheritanceTagGrid Inheritance mx.controls.DataGrid



Public Methods
 MethodDefined by
  
addNewTag():void
Create editing controls for a new key/value pair, with default values.
TagGrid
  
getEntityType():String
Return the type ("node", "way", "relation") of the selected entity.
TagGrid
  
init(entity:Entity):void
Assign a new selected Entity, and update editing controls appropriately.
TagGrid
  
removeTag():void
Remove the selected tag from the selected entity.
TagGrid
Method detail
addNewTag()method
public function addNewTag():void

Create editing controls for a new key/value pair, with default values.

getEntityType()method 
public function getEntityType():String

Return the type ("node", "way", "relation") of the selected entity.

Returns
String
init()method 
public function init(entity:Entity):void

Assign a new selected Entity, and update editing controls appropriately.

Parameters
entity:Entity
removeTag()method 
public function removeTag():void

Remove the selected tag from the selected entity.