Class SimplifiedPropertyTableModel
- java.lang.Object
-
- javax.swing.table.AbstractTableModel
-
- com.inductiveautomation.factorypmi.designer.property.PropertyTableModel
-
- com.inductiveautomation.factorypmi.designer.property.customizers.SimplifiedPropertyTableModel
-
- All Implemented Interfaces:
java.io.Serializable
,javax.swing.table.TableModel
public class SimplifiedPropertyTableModel extends PropertyTableModel
This is a simplified wrapper around the legacy PropertyTableModel that is used in the classic chart customizer.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.inductiveautomation.factorypmi.designer.property.PropertyTableModel
alphabeticalComparator, bean, beanDescriptor, beans, COL_NAME, COL_VALUE, currentFilter, descriptors, editorsRegistered, info, multiObject, naturalComparator, NUM_COLUMNS, propEditors, SORT_ALPHABETICAL, SORT_NATURAL, SORT_TYPE, sortOrder, typeComparator, VIEW_ALL, VIEW_BOUND, VIEW_CONSTRAINED, VIEW_EXPERT, VIEW_HIDDEN, VIEW_PREFERRED, VIEW_READ_ONLY, VIEW_STANDARD
-
-
Constructor Summary
Constructors Constructor Description SimplifiedPropertyTableModel(VisionDesignerImpl fpmi)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isRowCustomEditor(int row)
void
setObject(java.lang.Object bean)
Set the table model to represents the properties of the object.void
setTable(javax.swing.JTable table)
void
sortTable(int sort)
Sorts the table according to the sort type.-
Methods inherited from class com.inductiveautomation.factorypmi.designer.property.PropertyTableModel
filterTable, getColumnCount, getContext, getCustomEditorClass, getCustomizer, getFilter, getObject, getObjectHolder, getPropertyDescriptor, getPropertyEditor, getPropertyType, getRowCount, getSortOrder, getValueAt, hasCustomizer, isCellEditable, reloadBean, setFilter, setMultiObject, setSortOrder, setValueAt
-
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getColumnName, getListeners, getTableModelListeners, removeTableModelListener
-
-
-
-
Constructor Detail
-
SimplifiedPropertyTableModel
public SimplifiedPropertyTableModel(VisionDesignerImpl fpmi)
-
-
Method Detail
-
isRowCustomEditor
public boolean isRowCustomEditor(int row)
- Overrides:
isRowCustomEditor
in classPropertyTableModel
-
setObject
public void setObject(java.lang.Object bean)
Description copied from class:PropertyTableModel
Set the table model to represents the properties of the object.- Overrides:
setObject
in classPropertyTableModel
-
sortTable
public void sortTable(int sort)
Description copied from class:PropertyTableModel
Sorts the table according to the sort type.- Overrides:
sortTable
in classPropertyTableModel
-
setTable
public void setTable(javax.swing.JTable table)
-
-