irc.style
Class DrawResultItem

java.lang.Object
  |
  +--irc.style.DrawResultItem

public class DrawResultItem
extends java.lang.Object

A recognized item.


Field Summary
 java.lang.String item
          The item content.
 java.lang.String originalstrippedword
          The original word content, but stripped from all special codes.
 java.lang.String originalword
          The original word content.
 DrawResult parent
          The parent DrawResult.
 StyledRectangle rectangle
          The item rectangle on display, relative to its parent.
 
Constructor Summary
DrawResultItem()
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

rectangle

public StyledRectangle rectangle
The item rectangle on display, relative to its parent.


item

public java.lang.String item
The item content. This content is the trimmed version of the stripped content. Characters like parenthesis and braces are also trimmed. For instance, "(text)" gives "text" in the itemized version. Item is used for word recognition.


originalword

public java.lang.String originalword
The original word content.


originalstrippedword

public java.lang.String originalstrippedword
The original word content, but stripped from all special codes.


parent

public DrawResult parent
The parent DrawResult.

Constructor Detail

DrawResultItem

public DrawResultItem()
Method Detail

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object