|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nasa.worldwind.util.tree.BasicTreeLayout.TextCacheKey
protected static class BasicTreeLayout.TextCacheKey
Cache key for cache text bound cache.
| Field Summary | |
|---|---|
protected Font |
font
Font used to compute bounds. |
protected int |
hash
Hash code. |
protected String |
text
Text string. |
| Constructor Summary | |
|---|---|
BasicTreeLayout.TextCacheKey(String text,
Font font)
Create a cache key for a string rendered in a font. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
int |
hashCode()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Font font
protected int hash
protected String text
| Constructor Detail |
|---|
public BasicTreeLayout.TextCacheKey(String text,
Font font)
text - String for which to cache bounds.font - Font of the rendered string.| Method Detail |
|---|
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||