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:
java.io.Serializable,javax.swing.table.TableModel
- Enclosing class:
- NodePickerPanel
public static class NodePickerPanel.AttributesTableModel extends javax.swing.table.DefaultTableModelThe attributesTable model.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AttributesTableModel(int rowCount, int columnCount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetAttrNameAt(int i)Gets the name of the attribute with the table row.java.lang.ObjectgetAttrValueAt(int i)Gets the value of the attribute with the table row.java.lang.StringgetColumnName(int column)intgetRow(java.lang.Object attrName)Gets the first row where the given attribute name appears.java.lang.ObjectgetValueForName(java.lang.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
-
-
-
-
Method Detail
-
getColumnName
public java.lang.String getColumnName(int column)
- Specified by:
getColumnNamein interfacejavax.swing.table.TableModel- Overrides:
getColumnNamein classjavax.swing.table.DefaultTableModel
-
getValueForName
public java.lang.Object getValueForName(java.lang.Object attrName)
Gets the value of the attribute with the given attribute name.- Parameters:
attrName- The given attribute name
-
getAttrNameAt
public java.lang.Object getAttrNameAt(int i)
Gets the name of the attribute with the table row.
-
getAttrValueAt
public java.lang.Object getAttrValueAt(int i)
Gets the value of the attribute with the table row.
-
getRow
public int getRow(java.lang.Object attrName)
Gets the first row where the given attribute name appears.- Parameters:
attrName- The given attribute name
-
-