Packagecom.adobe.linguistics.spelling.framework.ui
Classpublic class HaloHighlighter
InheritanceHaloHighlighter Inheritance Object
Implements IHighlighter

Language Version : ActionScript 3.0
Runtime Versions : AIR 1.0, Flash Player 9.x

This class facilitates drawing of squiggly lines below words for TextField class. TextField class is used to create display objects for text display and input for Halo TextArea and TextInput components. HaloHighlighter could therefore be used for drawing squiggly lines in these Halo components.



Public Properties
 PropertyDefined By
  offsetPoint : Point
Get offset point information for scrollable controls.
HaloHighlighter
Public Methods
 MethodDefined By
  
HaloHighlighter(textField:TextField)
The constructor for HaloHighlighter.
HaloHighlighter
  
Clear all squiggly lines in the TextField.
HaloHighlighter
  
drawSquiggleAt(token:Token):void
Draw squiggly lines below a given token.
HaloHighlighter
Property Detail
offsetPointproperty
offsetPoint:Point

Language Version : ActionScript 3.0
Runtime Versions : AIR 1.0, Flash Player 10

Get offset point information for scrollable controls. This is used by the highlighter to move the squiggly lines as the text scrolls inside the control.


Implementation
    public function get offsetPoint():Point
    public function set offsetPoint(value:Point):void
Constructor Detail
HaloHighlighter()Constructor
public function HaloHighlighter(textField:TextField)

Language Version : ActionScript 3.0
Runtime Versions : AIR 1.0, Flash Player 10

The constructor for HaloHighlighter.

Parameters
textField:TextFieldTextField in which to enable highlighting.
Method Detail
clearSquiggles()method
public function clearSquiggles():void

Language Version : ActionScript 3.0
Runtime Versions : AIR 1.0, Flash Player 10

Clear all squiggly lines in the TextField.

drawSquiggleAt()method 
public function drawSquiggleAt(token:Token):void

Language Version : ActionScript 3.0
Runtime Versions : AIR 1.0, Flash Player 10

Draw squiggly lines below a given token.

Parameters

token:TokenToken information of the word to be highlighted.