Package | flash.text.ime |
Class | public final class CompositionAttributeRange |
Inheritance | CompositionAttributeRange Object |
Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10.1, AIR 1.5 |
By convention, the client should adorn these composition ranges with underlining or hiliting according to the flags.
For example:
!converted = thick gray underline (raw text) !selected && converted = thin black underline selected && converted = thick black underline
Property | Defined By | ||
---|---|---|---|
constructor : Object
A reference to the class object or constructor function for a given object instance. | Object | ||
converted : Boolean
The converted flag, meaning this clause has been processed by the IME
and is awaiting acceptance/confirmation by the user
| CompositionAttributeRange | ||
prototype : Object [static]
A reference to the prototype object of a class or function object. | Object | ||
relativeEnd : int
The relative end of the composition clause, relative to the beginning
of the inline edit session. | CompositionAttributeRange | ||
relativeStart : int
The relative start from the beginning of the inline edit session
i.e. | CompositionAttributeRange | ||
selected : Boolean
The selected flag, meaning this composition clause is active and
being lengthened or shortened or edited with the IME, and the neighboring
clauses are not. | CompositionAttributeRange |
Method | Defined By | ||
---|---|---|---|
Creates a CompositionAttributeRange object. | CompositionAttributeRange | ||
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 |
converted | property |
public var converted:Boolean
Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 1.0 Flash Player 10.1 |
The converted flag, meaning this clause has been processed by the IME and is awaiting acceptance/confirmation by the user
relativeEnd | property |
public var relativeEnd:int
Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 1.0 Flash Player 10.1 |
The relative end of the composition clause, relative to the beginning of the inline edit session. i.e. 0 = the start of the text the IME can see (there may be text before that in the edit field)
relativeStart | property |
public var relativeStart:int
Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 1.0 Flash Player 10.1 |
The relative start from the beginning of the inline edit session i.e. 0 = the start of the text the IME can see (there may be text before that in the edit field)
selected | property |
public var selected:Boolean
Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 1.0 Flash Player 10.1 |
The selected flag, meaning this composition clause is active and being lengthened or shortened or edited with the IME, and the neighboring clauses are not.
CompositionAttributeRange | () | Constructor |
public function CompositionAttributeRange(relativeStart:int, relativeEnd:int, selected:Boolean, converted:Boolean)
Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 1.0 Flash Player 10.1 |
Creates a CompositionAttributeRange object.
ParametersrelativeStart:int — The zero based index of the first character included in the character range.
| |
relativeEnd:int — The zero based index of the last character included in the character range.
| |
selected:Boolean — The selected flag
| |
converted:Boolean — The converted flag
|
Fri Mar 19 2010, 02:45 AM -07:00