public final class TreeRowReference extends Boxed
This class is primarily necessary because a TreeIter instance is no longer usable if the model changes. Neither are TreePaths for that matter; if you change the sorting order then the row pointed at by TreePath "2" will [likely] be different before and after the sort.
Typical usage of this is from a TreeIter as follows:
TreeModel source; TreePath path; TreeIter row; TreeRowReference ref; ... path = source.getPath(row); ref = new TreeRowReference(source, path);
|Constructor and Description|
Construct a new TreeRowReference for the given TreePath into the given Model.
|Modifier and Type||Method and Description|
Get a TreePath representing the row that this TreeRowReference is currently pointing at.
public TreePath getPath()
nullback if the TreeRowReference is no longer valid, which would happen if the row has been deleted.