public class StyleMapTableModel extends AbstractTableModel
listenerList| Modifier and Type | Method and Description |
|---|---|
void |
addRow(Vector rowVector)
Adds the row.
|
Class |
getColumnClass(int c) |
int |
getColumnCount() |
String |
getColumnName(int col) |
int |
getRowCount() |
Object |
getValueAt(int row,
int col) |
boolean |
isCellEditable(int row,
int col) |
void |
moveRowDown(int row)
Move row down.
|
void |
moveRowUp(int row)
Move row up.
|
void |
removeRow(int row)
Removes the row.
|
void |
set(Object[][] data)
Sets the.
|
void |
setValueAt(Object value,
int row,
int col) |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListenerpublic int getColumnCount()
public int getRowCount()
public String getColumnName(int col)
getColumnName in interface TableModelgetColumnName in class AbstractTableModelpublic Object getValueAt(int row, int col)
public Class getColumnClass(int c)
getColumnClass in interface TableModelgetColumnClass in class AbstractTableModelpublic boolean isCellEditable(int row,
int col)
isCellEditable in interface TableModelisCellEditable in class AbstractTableModelpublic void setValueAt(Object value, int row, int col)
setValueAt in interface TableModelsetValueAt in class AbstractTableModelpublic void set(Object[][] data)
data - the datapublic void removeRow(int row)
row - the rowpublic void addRow(Vector rowVector)
rowVector - the row vectorpublic void moveRowUp(int row)
row - the rowpublic void moveRowDown(int row)
row - the rowCopyright © 2006–2017 The Apache Software Foundation. All rights reserved.