TemplateJTreeModel
The underlying model of the TemplateJTree, which synchronizes its state with a TemplateList so that modifications to the model appear in the list and vice versa.
If the list is modified externally, this model should be notified using a fire
method (e.g. fireNodeChanged). Except for the fire
methods, the behavior of this model is undefined while uninformed of external changes.
Parameters
the list to be modeled
Properties
Converts the row index in the view to the corresponding row index in the model.
A wrapper provided by the view and used by TemplateJTreeModel.drop to ensure the view's selection and expansion state are retained.
Functions
Adds listener as a listener.
Invokes canMoveRow after converting fromIndex and toIndex using viewIndexToModelIndex.
Use canMoveRow instead.
Returns true
if and only if moveRow can be invoked with the given parameters.
Use moveRow instead.
Informs listeners that node has been changed.
Informs listeners that node's structure has been changed.
Returns the number of children of parent.
Returns the path from root to node.
Removes node from this model.
Removes listener as a listener.
Not implemented because this model does not contain an editor component.