public interface OutlineModel extends TableModel, TreeModel
DefaultOutlineModel
than to implement this interface
directly.Modifier and Type | Method and Description |
---|---|
AbstractLayoutCache |
getLayout()
Get the layout cache which is used to track the visual state of nodes.
|
TreePathSupport |
getTreePathSupport()
Get the
TreePathSupport object this model uses to manage
information about expanded nodes. |
boolean |
isLargeModel()
Determine if the model is a large-model.
|
addTableModelListener, getColumnClass, getColumnCount, getColumnName, getRowCount, getValueAt, isCellEditable, removeTableModelListener, setValueAt
addTreeModelListener, getChild, getChildCount, getIndexOfChild, getRoot, isLeaf, removeTreeModelListener, valueForPathChanged
TreePathSupport getTreePathSupport()
TreePathSupport
object this model uses to manage
information about expanded nodes. TreePathSupport
implements
logic for tracking expanded nodes, manages TreeWillExpandListener
s,
and is a repository for preserving expanded state information about nodes whose parents
are currently collapsed. JTree implements very similar logic internally
to itself.
(PENDING) It is not yet determined if TreePathSupport will remain a public class.
AbstractLayoutCache getLayout()
VariableHeightLayoutCache
or
FixedHeightLayoutCache
.boolean isLargeModel()