public static final class JPropertiesTable.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) | 
| boolean | isCellEditable(int rowIndex,
              int columnIndex) | 
| void | propertyChange(PropertyChangeEvent evt) | 
| void | release() | 
| void | setPropertyObject(T propertyObject) | 
| void | setValueAt(Object aValue,
          int rowIndex,
          int columnIndex) | 
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getColumnName, getListeners, getTableModelListeners, removeTableModelListenerpublic 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 TableModelpublic int getColumnCount()
getColumnCount in interface TableModelpublic boolean isCellEditable(int rowIndex,
                              int columnIndex)
isCellEditable in interface TableModelisCellEditable in class AbstractTableModelpublic void setValueAt(Object aValue, int rowIndex, int columnIndex)
setValueAt in interface TableModelsetValueAt in class AbstractTableModelpublic Object getValueAt(int rowIndex, int columnIndex)
getValueAt in interface TableModelpublic JPropertiesTable.PropertyDescriptor getPropertyDescriptorAt(int row)
public void propertyChange(PropertyChangeEvent evt)
propertyChange in interface PropertyChangeListenerpublic void release()
public JPropertiesTable.PropertyDescriptor addPropertyShadow(String caption, String name, boolean editable)
Copyright © 2019. All Rights Reserved.