| Package | spark.components |
| Class | public final class TextSelectionHighlighting |
| Inheritance | TextSelectionHighlighting Object |
| Language Version: | ActionScript 3.0 |
| Product Version: | Flex 4 |
| Runtime Versions: | Flash Player 10, AIR 1.5 |
selectionHighlighting property
of the RichEditableText control, and controls that use
RichEditableText as a subcomponent (Spark TextInput and Spark TextArea).
More examples
Learn more
Related API Elements
Public Properties
| Property | Defined By | ||
|---|---|---|---|
![]() | constructor : Object
A reference to the class object or constructor function for a given object instance. | Object | |
Public Methods
| Method | Defined By | ||
|---|---|---|---|
![]() |
Indicates whether an object has a specified property defined. | Object | |
![]() |
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | |
![]() |
Indicates whether the specified property exists and is enumerable. | Object | |
![]() |
Sets the availability of a dynamic property for loop operations. | Object | |
![]() |
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | |
![]() |
Returns the string representation of the specified object. | Object | |
![]() |
Returns the primitive value of the specified object. | Object | |
Public Constants
| Constant | Defined By | ||
|---|---|---|---|
| ALWAYS : String = "always" [static]
Always show the text selection, even if the component
doesn't have the keyboard focus or if the component's window
isn't the active window. | TextSelectionHighlighting | ||
| WHEN_ACTIVE : String = "whenActive" [static]
Show the text selection whenever the component's window is active,
even if the component doesn't have the keyboard focus. | TextSelectionHighlighting | ||
| WHEN_FOCUSED : String = "whenFocused" [static]
Show the text selection only when the component has keyboard focus. | TextSelectionHighlighting | ||
Constant Detail
ALWAYS | Constant |
public static const ALWAYS:String = "always"| Language Version: | ActionScript 3.0 |
| Product Version: | Flex 4 |
| Runtime Versions: | Flash Player 10, AIR 1.5 |
Always show the text selection, even if the component doesn't have the keyboard focus or if the component's window isn't the active window.
WHEN_ACTIVE | Constant |
public static const WHEN_ACTIVE:String = "whenActive"| Language Version: | ActionScript 3.0 |
| Product Version: | Flex 4 |
| Runtime Versions: | Flash Player 10, AIR 1.5 |
Show the text selection whenever the component's window is active, even if the component doesn't have the keyboard focus.
WHEN_FOCUSED | Constant |
public static const WHEN_FOCUSED:String = "whenFocused"| Language Version: | ActionScript 3.0 |
| Product Version: | Flex 4 |
| Runtime Versions: | Flash Player 10, AIR 1.5 |
Show the text selection only when the component has keyboard focus.
Thu Dec 4 2014, 05:50 PM -08:00
