Package org.apache.batik.apps.svgbrowser
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 Node
The node.protected List
The property names.protected org.w3c.dom.css.CSSStyleDeclaration
The computed style.Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the number of columns in the table.getColumnName
(int col) Returns the name to give to a column.int
Returns the number of rows in the table.getValueAt
(int row, int col) Returns the value of the given cell.boolean
isCellEditable
(int row, int col) Whether the given cell is editable.Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener, setValueAt
-
Field Details
-
node
The node. -
style
protected org.w3c.dom.css.CSSStyleDeclaration styleThe 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:
getColumnName
in interfaceTableModel
- Overrides:
getColumnName
in 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:
isCellEditable
in interfaceTableModel
- Overrides:
isCellEditable
in classAbstractTableModel
-
getValueAt
Returns the value of the given cell.
-