Package ucar.ui.table
Class TableRowAbstract
- java.lang.Object
-
- ucar.ui.table.TableRowAbstract
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTableRowAbstract.Sorter
-
Field Summary
Fields Modifier and Type Field Description protected inttieBreakerColprotected int[]tryNext
-
Constructor Summary
Constructors Constructor Description TableRowAbstract()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description intcompare(TableRow other, int col)protected intcompareBoolean(TableRow other, int col, boolean b1, boolean b2)protected intcompareDate(TableRow other, int col, Date d1, Date d2)protected intcompareDouble(TableRow other, int col, double d1, double d2)protected intcompareInt(TableRow other, int col, int i1, int i2)protected intcompareLong(TableRow other, int col, long i1, long i2)protected intcompareString(TableRow other, int col, String s1, String s2, boolean ignoreCase)abstract ObjectgetUserObject()abstract ObjectgetValueAt(int col)voidsetNextSort(int[] nextSort)protected voidsetTryNext(int[] t)StringtoString()
-
-
-
Method Detail
-
getValueAt
public abstract Object getValueAt(int col)
- Specified by:
getValueAtin interfaceTableRow
-
getUserObject
public abstract Object getUserObject()
- Specified by:
getUserObjectin interfaceTableRow
-
setNextSort
public void setNextSort(int[] nextSort)
- Specified by:
setNextSortin 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)
-
-