modnlp.capte
public class ExampleTableModel extends javax.swing.table.AbstractTableModel
Constructor and Description |
---|
ExampleTableModel(java.util.Vector<java.lang.String> cols,
java.util.Vector<java.lang.Object[]> dat) |
Modifier and Type | Method and Description |
---|---|
void |
flush() |
java.lang.Class |
getColumnClass(int column) |
int |
getColumnCount() |
java.lang.String |
getColumnName(int column) |
java.lang.Object[] |
getRow(int row) |
int |
getRowCount() |
java.lang.Object |
getValueAt(int row,
int column) |
void |
insertRow(java.lang.Object[] r,
int row) |
boolean |
isCellEditable(int row,
int col) |
void |
lockRow(int row) |
void |
mergeRows(int row1,
int row2) |
void |
mergeSource(int row1,
int row2) |
void |
mergeTarget(int row1,
int row2) |
void |
moveSegmentDown(int row1) |
void |
moveSegmentUp(int row1) |
void |
removeRow(int row) |
void |
setValueAt(java.lang.Object o,
int row,
int column) |
java.lang.Object[] |
StringArrayToObject(java.lang.String[] sa) |
void |
unlockRow(int row) |
void |
updateIndexes() |
void |
updateRow(java.lang.Object[] s,
int row) |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
public ExampleTableModel(java.util.Vector<java.lang.String> cols, java.util.Vector<java.lang.Object[]> dat)
public java.lang.Class getColumnClass(int column)
getColumnClass
in interface javax.swing.table.TableModel
getColumnClass
in class javax.swing.table.AbstractTableModel
public boolean isCellEditable(int row, int col)
isCellEditable
in interface javax.swing.table.TableModel
isCellEditable
in class javax.swing.table.AbstractTableModel
public int getColumnCount()
public java.lang.String getColumnName(int column)
getColumnName
in interface javax.swing.table.TableModel
getColumnName
in class javax.swing.table.AbstractTableModel
public int getRowCount()
public void removeRow(int row)
public void insertRow(java.lang.Object[] r, int row)
public void moveSegmentUp(int row1)
public void moveSegmentDown(int row1)
public void mergeRows(int row1, int row2)
public void mergeSource(int row1, int row2)
public void mergeTarget(int row1, int row2)
public void updateRow(java.lang.Object[] s, int row)
public void updateIndexes()
public void lockRow(int row)
public void unlockRow(int row)
public java.lang.Object[] StringArrayToObject(java.lang.String[] sa)
public void setValueAt(java.lang.Object o, int row, int column)
setValueAt
in interface javax.swing.table.TableModel
setValueAt
in class javax.swing.table.AbstractTableModel
public java.lang.Object getValueAt(int row, int column)
public java.lang.Object[] getRow(int row)
public void flush()