Class DOMViewer.Panel.NodeCSSValuesModel
java.lang.Object
javax.swing.table.AbstractTableModel
org.apache.batik.apps.svgbrowser.DOMViewer.Panel.NodeCSSValuesModel
- All Implemented Interfaces:
Serializable, TableModel
- Enclosing class:
DOMViewer.Panel
To display the CSS properties of a DOM node in a table.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected NodeThe node.protected ListThe property names.protected CSSStyleDeclarationThe computed style.Fields inherited from class AbstractTableModel
listenerList -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the number of columns in the table.getColumnName(int col) Returns the name to give to a column.intReturns the number of rows in the table.getValueAt(int row, int col) Returns the value of the given cell.booleanisCellEditable(int row, int col) Whether the given cell is editable.Methods inherited from class AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener, setValueAt
-
Field Details
-
node
The node. -
style
The computed style. -
propertyNames
The property names.
-
-
Constructor Details
-
NodeCSSValuesModel
Creates a new NodeAttributesModel object.
-
-
Method Details
-
getColumnName
Returns the name to give to a column.- Specified by:
getColumnNamein interfaceTableModel- Overrides:
getColumnNamein classAbstractTableModel
-
getColumnCount
public int getColumnCount()Returns the number of columns in the table. -
getRowCount
public int getRowCount()Returns the number of rows in the table. -
isCellEditable
public boolean isCellEditable(int row, int col) Whether the given cell is editable.- Specified by:
isCellEditablein interfaceTableModel- Overrides:
isCellEditablein classAbstractTableModel
-
getValueAt
Returns the value of the given cell.
-