Adobe® Flex® 4 Language Reference
Hide Packages and Classes List |  Packages  |  Classes  |  Index  |  Appendixes
spark.components 
TextSelectionHighlighting 
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



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
Public Methods
 MethodDefined By
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
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

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.