|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.table.AbstractTableModel org.dom4j.swing.XMLTableModel
XMLTableDefinition
repro.
Field Summary |
Fields inherited from class javax.swing.table.AbstractTableModel |
listenerList |
Constructor Summary | |
XMLTableModel(Document tableDefinition,
Object source)
Creates a TableModel from an XML table definition document and an XML source |
|
XMLTableModel(Element 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. |
Methods inherited from class javax.swing.table.AbstractTableModel |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XMLTableModel(Element tableDefinition, Object source)
tableDefinition
- DOCUMENT ME!source
- DOCUMENT ME!public XMLTableModel(Document tableDefinition, Object source)
tableDefinition
- DOCUMENT ME!source
- DOCUMENT ME!public XMLTableModel(XMLTableDefinition definition, Object source)
Method Detail |
public Object getRowValue(int rowIndex)
public List getRows()
public Class getColumnClass(int columnIndex)
public int getColumnCount()
public String getColumnName(int columnIndex)
public Object getValueAt(int rowIndex, int columnIndex)
public int getRowCount()
public XMLTableDefinition getDefinition()
public void setDefinition(XMLTableDefinition definition)
definition
- New value of property definition.public Object getSource()
public void setSource(Object source)
source
- New value of property source.protected void handleException(Exception e)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |