Packagespark.components
Classpublic final class TextSelectionHighlighting
InheritanceTextSelectionHighlighting Inheritance 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
 ConstantDefined 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
ALWAYSConstant
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_ACTIVEConstant 
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_FOCUSEDConstant 
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.