Save This Page
Home » dom4j-1.6.1 » org.dom4j.swing » [javadoc | source]
org.dom4j.swing
public class: XMLTableModel [javadoc | source]
java.lang.Object
   javax.swing.table.AbstractTableModel
      org.dom4j.swing.XMLTableModel

All Implemented Interfaces:
    Serializable, TableModel

XMLTableDefinition repro.

Constructor:
 public XMLTableModel(Element tableDefinition,
    Object source) 
    Creates a TableModel from an XML table definition document and an XML source
    Parameters:
    tableDefinition - DOCUMENT ME!
    source - DOCUMENT ME!
 public XMLTableModel(Document tableDefinition,
    Object source) 
    Creates a TableModel from an XML table definition document and an XML source
    Parameters:
    tableDefinition - DOCUMENT ME!
    source - DOCUMENT ME!
 public XMLTableModel(XMLTableDefinition definition,
    Object source) 
Method from org.dom4j.swing.XMLTableModel Summary:
getColumnClass,   getColumnCount,   getColumnName,   getDefinition,   getRowCount,   getRowValue,   getRows,   getSource,   getValueAt,   handleException,   setDefinition,   setSource
Methods from javax.swing.table.AbstractTableModel:
addTableModelListener,   findColumn,   fireTableCellUpdated,   fireTableChanged,   fireTableDataChanged,   fireTableRowsDeleted,   fireTableRowsInserted,   fireTableRowsUpdated,   fireTableStructureChanged,   getColumnClass,   getColumnName,   getListeners,   getTableModelListeners,   isCellEditable,   removeTableModelListener,   setValueAt
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.dom4j.swing.XMLTableModel Detail:
 public Class getColumnClass(int columnIndex) 
 public int getColumnCount() 
 public String getColumnName(int columnIndex) 
 public XMLTableDefinition getDefinition() 
    Getter for property definition.
 public int getRowCount() 
 public Object getRowValue(int rowIndex) 
 public List getRows() 
 public Object getSource() 
    Getter for the XML source, which is usually a Node or List of nodes.
 public Object getValueAt(int rowIndex,
    int columnIndex) 
 protected  void handleException(Exception e) 
 public  void setDefinition(XMLTableDefinition definition) 
    Setter for property definition.
 public  void setSource(Object source) 
    Setter for the XML source, which is usually a Node or List of nodes.