public static final class JDebugPropertiesTable.PropertiesTableModel<T> extends AbstractTableModel implements PropertyChangeListener
listenerList
Constructor and Description |
---|
PropertiesTableModel(T propertyObject) |
Modifier and Type | Method and Description |
---|---|
JPropertiesTable.PropertyDescriptor |
addProperty(String caption,
String name,
boolean editable,
JPropertiesTable.PropertyFormatter formatter) |
JPropertiesTable.PropertyDescriptor |
addProperty(String caption,
String name,
Object[] options) |
JPropertiesTable.PropertyDescriptor |
addPropertyShadow(String caption,
String name,
boolean editable) |
void |
attach() |
int |
getColumnCount() |
JPropertiesTable.PropertyDescriptor |
getPropertyDescriptorAt(int row) |
int |
getRowCount() |
Object |
getValueAt(int rowIndex,
int columnIndex) |
void |
propertyChange(PropertyChangeEvent evt) |
void |
release() |
void |
setPropertyObject(T propertyObject) |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getColumnName, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
public PropertiesTableModel(T propertyObject)
public void attach()
public void setPropertyObject(T propertyObject)
public JPropertiesTable.PropertyDescriptor addProperty(String caption, String name, boolean editable, JPropertiesTable.PropertyFormatter formatter)
public JPropertiesTable.PropertyDescriptor addProperty(String caption, String name, Object[] options)
public int getRowCount()
getRowCount
in interface TableModel
public int getColumnCount()
getColumnCount
in interface TableModel
public Object getValueAt(int rowIndex, int columnIndex)
getValueAt
in interface TableModel
public JPropertiesTable.PropertyDescriptor getPropertyDescriptorAt(int row)
public void propertyChange(PropertyChangeEvent evt)
propertyChange
in interface PropertyChangeListener
public void release()
public JPropertiesTable.PropertyDescriptor addPropertyShadow(String caption, String name, boolean editable)
Copyright © 2019. All Rights Reserved.