|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.table.AbstractTableModel
org.apache.batik.util.gui.DOMViewer.Panel.NodeAttributesModel
protected class 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. |
String |
getColumnName(int col)
Returns the name to give to a column. |
int |
getRowCount()
Returns the number of rows in the table. |
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 String getColumnName(int col)
getColumnName
in interface TableModel
getColumnName
in class AbstractTableModel
public int getColumnCount()
public int getRowCount()
public boolean isCellEditable(int row, int col)
isCellEditable
in interface TableModel
isCellEditable
in class AbstractTableModel
public Object getValueAt(int row, int col)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |