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 DefaultTableModel
columnIdentifiers, dataVectorFields inherited from class 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) intGets 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 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, setValueAtMethods inherited from class 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:
getColumnNamein interfaceTableModel- Overrides:
getColumnNamein classDefaultTableModel
-
getValueForName
-
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
-