TextEvent
An object dispatches a TextEvent object when a user enters text in a text field or clicks a hyperlink in an HTML-enabled text field. There are two types of text events: TextEvent.LINK and TextEvent.TEXT_INPUT.
Inherited from Event.
Can be created with method new:
Lib.Media.Events.TextEvent.new(type, bubbles, cancelable, text) |
Creates an Event object that contains information about text events. |
type - The type of the event. Event listeners can access this information through the inherited type property. Possible values are: TextEvent.LINK and TextEvent.TEXT_INPUT. bubbles - (default = false) - Determines whether the Event object participates in the bubbling phase of the event flow. Event listeners can access this information through the inherited bubbles property. cancelable - (default = false) - Determines whether the Event object can be canceled. Event listeners can access this information through the inherited cancelable property. text - (default = "") - One or more characters of text entered by the user. Event listeners can access this information through the text property. |
Created TextEvent object has methods:
clone() |
Creates a copy of the TextEvent object and sets the value of each property to match that of the original. |
|
toString() |
Returns a string that contains all the properties of the TextEvent object. |
|
Event types:
Lib.Media.Events.TextEvent.LINK |
Defines the value of the type property of a link event object. |
Lib.Media.Events.TextEvent.TEXT_INPUT |
Defines the value of the type property of a textInput event object. |
Created with the Personal Edition of HelpNDoc: Easily create Qt Help files