Packageorg.juicekit.events
Classpublic class AutoTextFieldEvent
InheritanceAutoTextFieldEvent Inheritance flash.events.Event

The AutoTextFieldEvent class defines an event to signal a AutoTextField object's text was changed.

See also



Public Properties
 PropertyDefined by
  newText : String
Contains the field's text after to the change.
AutoTextFieldEvent
  oldText : String
Contains the field's text prior to the change.
AutoTextFieldEvent
Public Methods
 MethodDefined by
  
AutoTextFieldEvent(type:String, bubbles:Boolean = true, cancelable:Boolean = false, oldText:String = "", newText:String = "")
Constructor.
AutoTextFieldEvent
  
clone():Event
AutoTextFieldEvent
Public Constants
 ConstantDefined by
  TEXT_CHANGE : String = "jkTextChange"
[static] The AutoTextFieldEvent.TEXT_CHANGE constant defines the value of the type property of the event object for a jkTextChange event.
AutoTextFieldEvent
Property detail
newTextproperty
public var newText:String

Contains the field's text after to the change.

oldTextproperty 
public var oldText:String

Contains the field's text prior to the change.

Constructor detail
AutoTextFieldEvent()constructor
public function AutoTextFieldEvent(type:String, bubbles:Boolean = true, cancelable:Boolean = false, oldText:String = "", newText:String = "")

Constructor.

Parameters
type:String — The event type; indicates the action that caused the event.
 
bubbles:Boolean (default = true) — Specifies whether the event can bubble up the display list hierarchy.
 
cancelable:Boolean (default = false) — Specifies whether the behavior associated with the event can be prevented.
 
oldText:String (default = "") — Contains the field's text prior to the change.
 
newText:String (default = "") — Contains the field's text after to the change.
Method detail
clone()method
public override function clone():Event

Returns
Event
Constant detail
TEXT_CHANGEconstant
public static const TEXT_CHANGE:String = "jkTextChange"

The AutoTextFieldEvent.TEXT_CHANGE constant defines the value of the type property of the event object for a jkTextChange event.