|
Mp3dings 20100427 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.mospace.lang.FullTextString
public final class FullTextString
An immutable String with multiple lines. Since it is not allowed in Java to subclass String I had to use this pretty ugly construct which is nothing more than a wrapper around a String (needed for JTable where cell renderer and cell editor are determined from the column class.)
| Constructor Summary | |
|---|---|
FullTextString(FullTextString fts)
Clones an existing FullTextString. |
|
FullTextString(String fts)
Constructs a new instance of this class. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
int |
hashCode()
|
String |
toString()
Returns a reference to the internal String. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FullTextString(String fts)
fts - the (multi-line) String that will be returned by the toString() methodtoString()public FullTextString(FullTextString fts)
fts - the FullTextString to clone| Method Detail |
|---|
public String toString()
toString in class Objectpublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
Mp3dings 20100427 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||