Package ucar.ui.table
Class TableRowAbstract
- java.lang.Object
-
- ucar.ui.table.TableRowAbstract
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TableRowAbstract.Sorter
-
Field Summary
Fields Modifier and Type Field Description protected int
tieBreakerCol
protected int[]
tryNext
-
Constructor Summary
Constructors Constructor Description TableRowAbstract()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description int
compare(TableRow other, int col)
protected int
compareBoolean(TableRow other, int col, boolean b1, boolean b2)
protected int
compareDate(TableRow other, int col, Date d1, Date d2)
protected int
compareDouble(TableRow other, int col, double d1, double d2)
protected int
compareInt(TableRow other, int col, int i1, int i2)
protected int
compareLong(TableRow other, int col, long i1, long i2)
protected int
compareString(TableRow other, int col, String s1, String s2, boolean ignoreCase)
abstract Object
getUserObject()
abstract Object
getValueAt(int col)
void
setNextSort(int[] nextSort)
protected void
setTryNext(int[] t)
String
toString()
-
-
-
Method Detail
-
getValueAt
public abstract Object getValueAt(int col)
- Specified by:
getValueAt
in interfaceTableRow
-
getUserObject
public abstract Object getUserObject()
- Specified by:
getUserObject
in interfaceTableRow
-
setNextSort
public void setNextSort(int[] nextSort)
- Specified by:
setNextSort
in interfaceTableRow
-
setTryNext
protected void setTryNext(int[] t)
-
compareBoolean
protected int compareBoolean(TableRow other, int col, boolean b1, boolean b2)
-
compareInt
protected int compareInt(TableRow other, int col, int i1, int i2)
-
compareLong
protected int compareLong(TableRow other, int col, long i1, long i2)
-
compareDouble
protected int compareDouble(TableRow other, int col, double d1, double d2)
-
compareString
protected int compareString(TableRow other, int col, String s1, String s2, boolean ignoreCase)
-
-