|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdasher.applet.TextSize
class TextSize
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 |
|---|
java.lang.String glyph
int size
| Constructor Detail |
|---|
TextSize()
| Method Detail |
|---|
public boolean equals(java.lang.Object otherone)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||