Package org.apache.batik.apps.svgbrowser
Class NodePickerPanel.AttributesTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
javax.swing.table.DefaultTableModel
org.apache.batik.apps.svgbrowser.NodePickerPanel.AttributesTableModel
- All Implemented Interfaces:
Serializable
,TableModel
- Enclosing class:
NodePickerPanel
The attributesTable model.
- See Also:
-
Field Summary
Fields inherited from class javax.swing.table.DefaultTableModel
columnIdentifiers, dataVector
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAttrNameAt
(int i) Gets the name of the attribute with the table row.getAttrValueAt
(int i) Gets the value of the attribute with the table row.getColumnName
(int column) int
Gets the first row where the given attribute name appears.getValueForName
(Object attrName) Gets the value of the attribute with the given attribute name.Methods inherited from class javax.swing.table.DefaultTableModel
addColumn, addColumn, addColumn, addRow, addRow, convertToVector, convertToVector, getColumnCount, getDataVector, getRowCount, getValueAt, insertRow, insertRow, isCellEditable, moveRow, newDataAvailable, newRowsAdded, removeRow, rowsRemoved, setColumnCount, setColumnIdentifiers, setColumnIdentifiers, setDataVector, setDataVector, setNumRows, setRowCount, setValueAt
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener
-
Constructor Details
-
AttributesTableModel
public AttributesTableModel(int rowCount, int columnCount)
-
-
Method Details
-
getColumnName
- Specified by:
getColumnName
in interfaceTableModel
- Overrides:
getColumnName
in classDefaultTableModel
-
getValueForName
Gets the value of the attribute with the given attribute name.- Parameters:
attrName
- The given attribute name
-
getAttrNameAt
Gets the name of the attribute with the table row. -
getAttrValueAt
Gets the value of the attribute with the table row. -
getRow
Gets the first row where the given attribute name appears.- Parameters:
attrName
- The given attribute name
-