|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.moyoman.client.reference.debug.DataListEntry
Provides a data list entry item.
Field Summary | |
private String |
_color
Color description (optional). |
private String |
_file
File label. |
private int |
_index
Data index. |
private int |
_rank
Rank index. |
Constructor Summary | |
DataListEntry(int index,
int file,
int rank)
Construct this object using the given parameters. |
|
DataListEntry(int index,
int file,
int rank,
Color color)
Construct this object using the given parameters. |
Method Summary | |
protected int |
compare(int i1,
int i2)
Compare the two integers. |
int |
compareTo(Object obj)
Compare this to the given object. |
String |
toString()
Return a string representation of this object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private String _color
private String _file
private int _index
private int _rank
Constructor Detail |
public DataListEntry(int index, int file, int rank)
index
- Data index.file
- File label.rank
- Rank index.public DataListEntry(int index, int file, int rank, Color color)
index
- Data index.file
- File label.rank
- Rank index.color
- Color description (optional).Method Detail |
public int compareTo(Object obj)
compareTo
in interface Comparable
ClassCastException
- if the given object is not a
DataListEnty
.public String toString()
toString
in class Object
protected int compare(int i1, int i2)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |