|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object gnu.x11.extension.render.Glyph
public final class Glyph
Represents one glyph in the X Render Extension. This can be used to cache
glyphs in a HashMap or similar data structure.
Glyph instances cannot be created directly. They must be create by
adding glyphs to a GlyphSet
. It is important to store the created
glyph instances somewhere, otherwise they get garbage collected and the
X server frees the resources for that glyph.
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
Compares this object with another object. |
protected void |
finalize()
Frees this glyph instance if it hasn't already been freed explicitly. |
int |
get_id()
Returns the ID of this glyph. |
int |
hashCode()
Computes a hashcode. |
Methods inherited from class java.lang.Object |
---|
clone, getClass, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int get_id()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- the other object
true
when both objects are equal, false
otherwisepublic int hashCode()
hashCode
in class java.lang.Object
protected void finalize()
finalize
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |