|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.swing.table.AbstractTableModel | +--org.apache.batik.util.gui.DOMViewer.Panel.NodeAttributesModel
To display the attributes of a DOM node attributes in a table.
Field Summary | |
protected Node |
node
The node. |
Fields inherited from class javax.swing.table.AbstractTableModel |
listenerList |
Constructor Summary | |
DOMViewer.Panel.NodeAttributesModel(Node n)
Creates a new NodeAttributesModel object. |
Method Summary | |
int |
getColumnCount()
Returns the number of columns in the table. |
java.lang.String |
getColumnName(int col)
Returns the name to give to a column. |
int |
getRowCount()
Returns the number of rows in the table. |
java.lang.Object |
getValueAt(int row,
int col)
Returns the value of the given cell. |
boolean |
isCellEditable(int row,
int col)
Whether the given cell is editable. |
Methods inherited from class javax.swing.table.AbstractTableModel |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener, setValueAt |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Node node
Constructor Detail |
public DOMViewer.Panel.NodeAttributesModel(Node n)
Method Detail |
public java.lang.String getColumnName(int col)
getColumnName
in interface javax.swing.table.TableModel
getColumnName
in class javax.swing.table.AbstractTableModel
public int getColumnCount()
public int getRowCount()
public boolean isCellEditable(int row, int col)
isCellEditable
in interface javax.swing.table.TableModel
isCellEditable
in class javax.swing.table.AbstractTableModel
public java.lang.Object getValueAt(int row, int col)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |