org.apache.batik.apps.svgbrowser

Class NodePickerPanel.AttributesTableModel

public static class NodePickerPanel.AttributesTableModel extends DefaultTableModel

The attributesTable model.
Constructor Summary
AttributesTableModel(int rowCount, int columnCount)
Method Summary
ObjectgetAttrNameAt(int i)
Gets the name of the attribute with the table row.
ObjectgetAttrValueAt(int i)
Gets the value of the attribute with the table row.
StringgetColumnName(int column)
intgetRow(Object attrName)
Gets the first row where the given attribute name appears.
ObjectgetValueForName(Object attrName)
Gets the value of the attribute with the given attribute name.

Constructor Detail

AttributesTableModel

public AttributesTableModel(int rowCount, int columnCount)

Method Detail

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.

getColumnName

public String getColumnName(int column)

getRow

public int getRow(Object attrName)
Gets the first row where the given attribute name appears.

Parameters: attrName The given attribute name

getValueForName

public Object getValueForName(Object attrName)
Gets the value of the attribute with the given attribute name.

Parameters: attrName The given attribute name

Copyright B) 2008 Apache Software Foundation. All Rights Reserved.