private static class JHelpRichText.Symbol extends java.lang.Object implements java.lang.Comparable<JHelpRichText.Symbol>
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
resource
Image resource name
|
private java.lang.String |
symbol
Symbol associated
|
Constructor and Description |
---|
JHelpRichText.Symbol(java.lang.String symbol,
java.lang.String resource)
Create a new instance of Symbol
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(JHelpRichText.Symbol symbol)
Compare with an other symbol.
|
java.lang.String |
getResource()
Image resource name associated
|
java.lang.String |
getSymbol()
Associated symbol
|
java.lang.String |
toString()
String representation
Parent documentation: |
private final java.lang.String resource
private final java.lang.String symbol
public JHelpRichText.Symbol(java.lang.String symbol, java.lang.String resource)
symbol
- The symbolresource
- Image resource namepublic int compareTo(JHelpRichText.Symbol symbol)
compareTo
in interface java.lang.Comparable<JHelpRichText.Symbol>
symbol
- Symbol to compareComparable.compareTo(java.lang.Object)
public java.lang.String getResource()
public java.lang.String getSymbol()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()