|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for the model of a DataLineTable
Method Summary | |
int |
add(DataLine dl)
Adds a new DataLine to the info. |
int |
add(DataLine dl,
int row)
Adds a new DataLine to the info at a specific row. |
int |
add(java.lang.Object o)
Add a new DataLine to the info, initialized by o. |
int |
add(java.lang.Object o,
int row)
Add a new DataLine to the info, at a specific row initialized by o. |
int |
addSorted(DataLine dl)
Adds a new DataLine to the model in whatever row will keep the DataLine sorted. |
int |
addSorted(java.lang.Object o)
Adds a new DataLine to the info, initialized by o. |
void |
clear()
Clear the table of all data. |
boolean |
contains(java.lang.Object o)
Determine if the list contains a row that was initialized by Object o. |
boolean |
contains(java.lang.Object o,
int col)
Determine if the list contains Object o in column col. |
DataLine |
get(int row)
Get the DataLine associated with the row. |
DataLine |
get(java.lang.Object o)
Gets the DataLine that was initialized by Object o. |
DataLine |
get(java.lang.Object o,
int col)
Gets the first DataLine that has Object o in column col. |
java.lang.Object |
getColumnId(int col)
Gets the id of the specified column. |
int |
getRow(DataLine dl)
Get the index of this DataLine. |
int |
getRow(java.lang.Object o)
Get the index of the DataLine that was initialized by Object o. |
int |
getRow(java.lang.Object o,
int col)
Get the row of the row that contains Object o in column col. |
int |
getSortColumn()
Returns the column by which the underlying data is sorted ascending. |
LimeTableColumn |
getTableColumn(int col)
Gets the LimeTableColumn for this column. |
java.lang.String[] |
getToolTipArray(int row)
Gets the tooltip for a specific row. |
boolean |
isSortAscending()
Returns whether or not the underlying data is sorted ascending. |
boolean |
isSorted()
Whether or not the underlying data is sorted. |
boolean |
needsResort()
Whether or not the underlying data needs to be resorted. |
java.lang.Object |
refresh()
Refresh the data's info. |
void |
remove(DataLine line)
Remove the row associated with the DataLine 'line'. |
void |
remove(int row)
Remove a row from the data. |
void |
remove(java.lang.Object o)
Remove the row that was initialized by Object 'o'. |
void |
resort()
Resorts the underlying data. |
void |
sort(int col)
Sort the underlying data by the column. |
int |
update(java.lang.Object o)
Update a specific DataLine. |
Methods inherited from interface java.util.Comparator |
compare, equals |
Methods inherited from interface javax.swing.table.TableModel |
addTableModelListener, getColumnClass, getColumnCount, getColumnName, getRowCount, getValueAt, isCellEditable, removeTableModelListener, setValueAt |
Method Detail |
public boolean isSorted()
public boolean isSortAscending()
public int getSortColumn()
public void sort(int col)
public boolean needsResort()
public void resort()
public void clear()
public java.lang.Object refresh()
public int update(java.lang.Object o)
public int add(java.lang.Object o)
public int addSorted(java.lang.Object o)
public int add(DataLine dl)
public int addSorted(DataLine dl)
public int add(java.lang.Object o, int row)
public int add(DataLine dl, int row)
public DataLine get(int row)
public DataLine get(java.lang.Object o)
public DataLine get(java.lang.Object o, int col)
public void remove(int row)
public void remove(DataLine line)
public void remove(java.lang.Object o)
public boolean contains(java.lang.Object o, int col)
public boolean contains(java.lang.Object o)
public int getRow(java.lang.Object o, int col)
public int getRow(java.lang.Object o)
public int getRow(DataLine dl)
public java.lang.String[] getToolTipArray(int row)
public LimeTableColumn getTableColumn(int col)
public java.lang.Object getColumnId(int col)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |