public static class Symbols.SymbolAttr extends java.lang.Object implements java.lang.Comparable<Symbols.SymbolAttr>
Modifier and Type | Field and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public final char aprsSymTableId
public final char aprsSymCode
public SymbolImageData img
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 IDpublic 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 nulljava.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.Object
obj
- 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.Object
equals(Object)