public class PropertyTableModel extends AbstractTableModel
| Modifier and Type | Field and Description |
|---|---|
ArrayList<String> |
sortedNameList |
CastorHashMap |
sourceMap |
listenerList| Constructor and Description |
|---|
PropertyTableModel(boolean useAbstract) |
| Modifier and Type | Method and Description |
|---|---|
void |
addProperty(String text,
Object object,
boolean isAbstract) |
void |
delProperty(Object propName) |
Class<?> |
getColumnClass(int columnIndex) |
int |
getColumnCount() |
String |
getColumnName(int col) |
int |
getRowCount() |
Object |
getValueAt(int rowIndex,
int colIndex) |
boolean |
isCellEditable(int row,
int col) |
boolean |
isEditable() |
void |
setEditable(boolean isEditable) |
void |
setMap(CastorHashMap props) |
void |
setValueAt(Object value,
int rowIndex,
int colIndex) |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListenerpublic CastorHashMap sourceMap
public int getColumnCount()
public String getColumnName(int col)
getColumnName in interface TableModelgetColumnName in class AbstractTableModelpublic int getRowCount()
public Object getValueAt(int rowIndex, int colIndex)
public void setValueAt(Object value, int rowIndex, int colIndex)
setValueAt in interface TableModelsetValueAt in class AbstractTableModelpublic Class<?> getColumnClass(int columnIndex)
getColumnClass in interface TableModelgetColumnClass in class AbstractTableModelpublic void setMap(CastorHashMap props)
public boolean isCellEditable(int row,
int col)
isCellEditable in interface TableModelisCellEditable in class AbstractTableModelpublic boolean isEditable()
public void setEditable(boolean isEditable)
isEditable - The isEditable to set.public void addProperty(String text, Object object, boolean isAbstract)
text - object - public void delProperty(Object propName)
object - Copyright © 1997–2020 CRISTAL-iSE. All rights reserved.