com.ldodds.thinlet
Class Table
java.lang.Object
|
+--com.ldodds.thinlet.Table
- public class Table
- extends java.lang.Object
Helper class for manipulating tables through the thinlet API.
- Author:
- ldodds
Constructor Summary |
Table(Thinlet thinlet,
java.lang.String name)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Table
public Table(Thinlet thinlet,
java.lang.String name)
add
public void add(java.lang.Object[] data)
- Dynamically adds a row of data to a table.
- Parameters:
data
- an array containing one entry for each cell in the row. Cells
are added in array order.
updateSelected
public void updateSelected(java.lang.Object[] data)
deleteSelectedRows
public void deleteSelectedRows()
- Deletes the currently selected rows from a table
getSelectedIndex
public int getSelectedIndex()
getFirstSelectedRow
public java.lang.Object getFirstSelectedRow()
getSelectedCellData
public java.util.List getSelectedCellData()
getCellData
public java.util.List getCellData(java.lang.Object row)
getCell
public java.lang.Object getCell(java.lang.Object row,
int cell)
getCells
public java.lang.Object[] getCells(int row)
getCells
public java.lang.Object[] getCells(java.lang.Object row)
makeRow
public java.lang.Object makeRow()
makeCell
public java.lang.Object makeCell()
getTable
public java.lang.Object getTable()
deleteRow
public void deleteRow(int i)
rowSelected
public boolean rowSelected(int i)
getRow
public java.lang.Object getRow(int i)
getRows
public java.util.List getRows()
getRowCount
public int getRowCount()
getText
public java.lang.String getText(java.lang.Object row,
int cell)