A single treetable model instance may be shared among more than one JXTreeTable
instances. To access the treetable model, always call {@link #getTreeTableModel() getTreeTableModel} and{@link #setTreeTableModel(org.jdesktop.swingx.treetable.TreeTableModel) setTreeTableModel}. JXTreeTable
wraps the supplied treetable model inside a private adapter class to adapt it to a {@link javax.swing.table.TableModel}. Although the model adapter is accessible through the {@link #getModel() getModel} method, youshould avoid accessing and manipulating it in any way. In particular, each model adapter instance is tightly bound to a single table instance, and any attempt to share it with another table (for example, by calling {@link #setModel(javax.swing.table.TableModel) setModel}) will throw an IllegalArgumentException
!
@author Philip Milne
@author Scott Violet
@author Ramesh Gupta
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|