leila.evaluate
Class HandTag.Word

java.lang.Object
  extended by leila.evaluate.HandTag.Word
Enclosing class:
HandTag

protected class HandTag.Word
extends java.lang.Object

Represents one marked word


Field Summary
protected  java.lang.Object h
          Identifies the highlighter
protected  javax.swing.text.Highlighter.HighlightPainter hilipa
          Used to highlight the word
 int len
          End position in text
 int start
          Start position in text
 
Constructor Summary
HandTag.Word()
          Constructor
 
Method Summary
 void clear()
          Resets this word
 boolean empty()
          Tells whether this word is empty
 java.lang.String getWord()
          Returns the word as String
 void set(int dot, int mark)
          Set this word by giving start and end position in text
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

hilipa

protected javax.swing.text.Highlighter.HighlightPainter hilipa
Used to highlight the word


start

public int start
Start position in text


len

public int len
End position in text


h

protected java.lang.Object h
Identifies the highlighter

Constructor Detail

HandTag.Word

public HandTag.Word()
Constructor

Method Detail

empty

public boolean empty()
Tells whether this word is empty


getWord

public java.lang.String getWord()
Returns the word as String


clear

public void clear()
Resets this word


set

public void set(int dot,
                int mark)
Set this word by giving start and end position in text