qnx.fuse.ui.events.TextEvent

TextEvent

Methods | Constants


Packageqnx.fuse.ui.events
Classpublic class TextEvent
InheritanceTextEvent Inheritance flash.events.Event

Defines events related to the text input controls.

Class information:
PlayBook Tablet OS Version:   1.0.6



Public Methods

 MethodDefined By
  
TextEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
Creates a TextEvent instance.
TextEvent

Public Constants

 ConstantDefined By
  EDIT_START : String = editStart
[static] This event is fired when an editing session starts on the text component.
TextEvent
  EDIT_STOP : String = editStop
[static] This event is fired when an editing session stops on the text component.
TextEvent
  LAYOUT_ESTIMATE_CHANGE : String = layoutEstimateChange
[static] This event is fired when the dimensions of the text have changed.
TextEvent
  SELECTION_CHANGED : String = selectionChanged
[static] This event is fired when a selection change on the component occurs.
TextEvent

Constructor Detail

TextEvent()


public function TextEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)

Creates a TextEvent instance.

Parameters

type:String — The type of event.
bubbles:Boolean (default = false) — A boolean that determines if the event will bubble up. Default is false.
cancelable:Boolean (default = false) — A boolean that determines if the event can be cancelled. Default is false.

Constant Detail

EDIT_START


public static const EDIT_START:String = editStart

This event is fired when an editing session starts on the text component.

EDIT_STOP


public static const EDIT_STOP:String = editStop

This event is fired when an editing session stops on the text component.

LAYOUT_ESTIMATE_CHANGE


public static const LAYOUT_ESTIMATE_CHANGE:String = layoutEstimateChange

This event is fired when the dimensions of the text have changed.

SELECTION_CHANGED


public static const SELECTION_CHANGED:String = selectionChanged

This event is fired when a selection change on the component occurs. This will also fire when a selection is cleared.