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:
  • Constructor Details

    • AttributesTableModel

      public AttributesTableModel(int rowCount, int columnCount)
  • Method Details

    • 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