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
public static class NodePickerPanel.AttributesTableModel
- extends DefaultTableModel
The attributesTable model.
- See Also:
- Serialized Form
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodePickerPanel.AttributesTableModel
public NodePickerPanel.AttributesTableModel(int rowCount,
int columnCount)
getColumnName
public String getColumnName(int column)
- Specified by:
getColumnName
in interface TableModel
- Overrides:
getColumnName
in class DefaultTableModel
getValueForName
public Object getValueForName(Object attrName)
- Gets the value of the attribute with the given attribute name.
- Parameters:
attrName
- The given attribute name
getAttrNameAt
public Object getAttrNameAt(int i)
- Gets the name of the attribute with the table row.
getAttrValueAt
public Object getAttrValueAt(int i)
- Gets the value of the attribute with the table row.
getRow
public int getRow(Object attrName)
- Gets the first row where the given attribute name appears.
- Parameters:
attrName
- The given attribute name
Copyright © 2017 Apache Software Foundation. All Rights Reserved.