|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ka2ddo.aprs.Symbols.SymbolAttr
public static class Symbols.SymbolAttr
Wrapper for all the non-graphics-related attributes for a symbol code, with a pointer to the rendering-related attributes object.
| Field Summary | |
|---|---|
char |
aprsSymCode
The APRS symbol code for this particular symbol. |
char |
aprsSymTableId
The APRS symbol table or overlay character for this particular symbol. |
SymbolImageData |
img
Reference to GUI-specific icon data for this symbol. |
| Method Summary | |
|---|---|
int |
compareTo(Symbols.SymbolAttr o)
Compares this object with the specified object for order. |
boolean |
equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one. |
char |
getAprsSymCode()
Get the APRS symbol code character for this particular symbol. |
char |
getAprsSymTableId()
Get the APRS symbol table or overlay character for this particular symbol. |
Symbols.Category |
getCategory()
Get the category this symbol is associated with |
char |
getOverlay(char symTableId)
Report if the specified character is an overlay, not the defined table ID for this symbol. |
SymbolImageData |
getSymbolImageData()
Get the reference to GUI-specific icon data for this symbol. |
java.lang.String |
getTypeName()
Get the localized name for this symbol. |
int |
hashCode()
Returns a hash code value for the object. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final char aprsSymTableId
public final char aprsSymCode
public SymbolImageData img
| Method Detail |
|---|
public char getAprsSymCode()
public char getAprsSymTableId()
public Symbols.Category getCategory()
public SymbolImageData getSymbolImageData()
public java.lang.String getTypeName()
public char getOverlay(char symTableId)
symTableId - char to compare against this symbol's symbol table ID
public int compareTo(Symbols.SymbolAttr o)
compareTo in interface java.lang.Comparable<Symbols.SymbolAttr>o - the object to be compared.
java.lang.NullPointerException - if the specified object is null
java.lang.ClassCastException - if the specified object's type prevents it
from being compared to this object.public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - the reference object with which to compare.
true if this object is the same as the obj
argument; false otherwise.public int hashCode()
hashCode in class java.lang.Objectequals(Object)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||