org.dom4j.swing
public class XMLTableModel extends AbstractTableModel
XMLTableDefinition
repro.
Version: $Revision: 1.8 $
Constructor Summary | |
---|---|
XMLTableModel(Element tableDefinition, Object source)
Creates a TableModel from an XML table definition document and an XML
source
| |
XMLTableModel(Document tableDefinition, Object source)
Creates a TableModel from an XML table definition document and an XML
source
| |
XMLTableModel(XMLTableDefinition definition, Object source) |
Method Summary | |
---|---|
Class | getColumnClass(int columnIndex) |
int | getColumnCount() |
String | getColumnName(int columnIndex) |
XMLTableDefinition | getDefinition()
Getter for property definition.
|
int | getRowCount() |
List | getRows() |
Object | getRowValue(int rowIndex) |
Object | getSource()
Getter for the XML source, which is usually a Node or List of nodes.
|
Object | getValueAt(int rowIndex, int columnIndex) |
protected void | handleException(Exception e) |
void | setDefinition(XMLTableDefinition definition)
Setter for property definition.
|
void | setSource(Object source)
Setter for the XML source, which is usually a Node or List of nodes.
|
Parameters: tableDefinition DOCUMENT ME! source DOCUMENT ME!
Parameters: tableDefinition DOCUMENT ME! source DOCUMENT ME!
Returns: Value of property definition.
Returns: Value of property source.
Parameters: definition New value of property definition.
Parameters: source New value of property source.