 package org.openforis.collect.ui.component.input {
+	import flash.events.Event;
 	import flash.events.TextEvent;
 	
 	import mx.controls.TextInput;

		public function set restrictPattern(value:String):void {
			_restrictPattern = value;
		}
		
		
		

	public class TextInput extends mx.controls.TextInput {
		
		private var _restrictPattern:String;
		private var _upperCase:Boolean = true;
		
		public function TextInput() {
			super();
			minWidth = 0;
			addEventListener(TextEvent.TEXT_INPUT, textInputHandler);
			addEventListener(Event.CHANGE, changeHandler);
		}
		
		public function selectAll():void {
