Adobe® Flex® 4 Language Reference
Show Packages and Classes List |  Packages  |  Classes  |  Index  |  Appendixes
flash.globalization 
CollatorMode 
Packageflash.globalization
Classpublic final class CollatorMode
InheritanceCollatorMode Inheritance Object

Language Version: ActionScript 3.0
Runtime Versions: Flash Player 10.1, AIR 2

The CollatorMode class enumerates constant values that govern the behavior of string comparisons performed by a Collator object. These constants represent the values that can be passed in the initialMode parameter of the Collator() constructor.

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
  MATCHING : String = "matching"
[static] Initializes a Collator object so that the compare method is optimized for determining whether two strings are equivalent.
CollatorMode
  SORTING : String = "sorting"
[static] Initializes a Collator object so that the compare method is optimized for sorting a list of text strings to be displayed to an end user.
CollatorMode
Constant Detail

MATCHING

Constant
public static const MATCHING:String = "matching"

Language Version: ActionScript 3.0
Runtime Versions: Flash Player 10.1, AIR 2

Initializes a Collator object so that the compare method is optimized for determining whether two strings are equivalent. In this mode, string comparisons ignore differences in uppercase and lower case letters, accented characters, etc.

See also

SORTING

Constant 
public static const SORTING:String = "sorting"

Language Version: ActionScript 3.0
Runtime Versions: Flash Player 10.1, AIR 2

Initializes a Collator object so that the compare method is optimized for sorting a list of text strings to be displayed to an end user. In this mode, string comparisons consider differences in uppercase and lowercase letters, accented characters, and so on, according to the language and sorting rules required by the locale.

See also