Methods of TagEditor

	TagEditor.addTag(htmlTag: HTMLElement, multiLine: Boolean[, cssClassName: String, filter: Function, fieldName: String]): Tag
	
		Returns an instance of the Tag object which controls the element edition.
		
			htmlTag reference to the element that will be editable
			multiLine indicates if the input should be multilined
			cssClassName css class name that will be applied to the edition field
			filter filter that will be applied when the edition gets "saved"
			fieldName field name that will be used when adding the Tag to a form
		
	

	TagEditor.appendToForm(form: HTMLForm): void
	
		Adds all the instances of the Tag object into the specified form. Can be used before posting a form, to seng the tag values.
		
			form form where the tags will be added as hidden fields
		
	

		
Methods of Tag

	Tag.getValue(): String
	Returns the current tag text.

	Tag.edit(): void
	Starts the edition.

	Tag.save(): void
	"Saves" the edited content.

	Tag.cancel(): void
	Cancels the modifications made after the the edit method was called.

	
Events

	Tag.onEdit: Function(input: HTMLInputElement): void
	
		Called after the start method is called.
		
			input input que est sendo editado
		
	

	Tag.onCancel: Function(input: HTMLInputElement): void
	
		Called after the cancel method is called (before cancelling).
		
			input input que est sendo editado
		
	

	Tag.onSave: Function(input: HTMLInputElement): void
	
		Called after the save method is called (before saving).
		
			input input que est sendo editado
		
	
		
	Tag.onAfterCancel: Function(tag: Tag): void
	
		Called after the cancel method is called.
		
			tag tag que foi cancelada a edio
		
	

	Tag.onAfterSave: Function(tag: Tag): void
	
		Called after the save method is called.
		
			tag tag que foi editada
		
	
