dasher.applet
Class TextSize

java.lang.Object
  extended by dasher.applet.TextSize

 class TextSize
extends java.lang.Object

Small struct used to store a glyph and font-size pair in the character-to-drawn-size map.


Field Summary
(package private)  java.lang.String glyph
          Character(s)
(package private)  int size
          Font size
 
Constructor Summary
TextSize()
           
 
Method Summary
 boolean equals(java.lang.Object otherone)
          Returns true if the String and font size both match.
 int hashCode()
          Overridden to use the String's hashCode plus the size.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

glyph

java.lang.String glyph
Character(s)


size

int size
Font size

Constructor Detail

TextSize

TextSize()
Method Detail

equals

public boolean equals(java.lang.Object otherone)
Returns true if the String and font size both match.

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overridden to use the String's hashCode plus the size.

Overrides:
hashCode in class java.lang.Object