Apache Flex 4.16.1 API Reference | All Packages | All Classes | Index | Frames No Frames |
TextSelectionHighlighting

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

This class specifies the allowed values for the `selectionHighlighting` property of the RichEditableText control, and controls that use RichEditableText as a subcomponent (Spark TextInput and Spark TextArea).

See also

spark.components.RichEditableText
spark.components.TextArea
spark.components.TextInput

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.

Wed Nov 15 2017, 09:50 AM +01:00