Class ElementPropertiesPanel.PropertiesTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
org.openpdf.swing.ElementPropertiesPanel.PropertiesTableModel
- All Implemented Interfaces:
Serializable, TableModel
- Enclosing class:
ElementPropertiesPanel
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final String[]private final Map<String, CSSPrimitiveValue> Fields inherited from class AbstractTableModel
listenerList -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintGets the columnCount attribute of the PropertiesTableModel objectgetColumnName(int col) Gets the columnName attribute of the PropertiesTableModel objectintGets the rowCount attribute of the PropertiesTableModel object@Nullable ObjectgetValueAt(int row, int col) Gets the valueAt attribute of the PropertiesTableModel objectbooleanisCellEditable(int row, int col) Gets the cellEditable attribute of the PropertiesTableModel objectMethods inherited from class AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener, setValueAt
-
Field Details
-
_colNames
-
_properties
-
-
Constructor Details
-
PropertiesTableModel
PropertiesTableModel(Map<String, CSSPrimitiveValue> cssProperties)
-
-
Method Details
-
getColumnName
Gets the columnName attribute of the PropertiesTableModel object- Specified by:
getColumnNamein interfaceTableModel- Overrides:
getColumnNamein classAbstractTableModel
-
getColumnCount
public int getColumnCount()Gets the columnCount attribute of the PropertiesTableModel object -
getRowCount
public int getRowCount()Gets the rowCount attribute of the PropertiesTableModel object -
getValueAt
Gets the valueAt attribute of the PropertiesTableModel object -
isCellEditable
public boolean isCellEditable(int row, int col) Gets the cellEditable attribute of the PropertiesTableModel object- Specified by:
isCellEditablein interfaceTableModel- Overrides:
isCellEditablein classAbstractTableModel
-