org.gnu.gtk
public class TreeModelFilter extends TreeModel
Constructor Summary | |
---|---|
TreeModelFilter(TreeModel model)
Create a new TreeModelFilter using the given TreeModel as the underlying
data model. | |
TreeModelFilter(TreeModel model, TreePath root)
Create a new TreeModelFilter using the given TreeModel as the underlying
data model, and using root as the virtual root. |
Method Summary | |
---|---|
void | clearCache()
Clear the filter of any cached iterators. |
TreePath | convertChildPathToPath(TreePath child)
Convert the given child TreePath to a path relative to this filter. |
TreePath | convertPathToChildPath(TreePath path)
Convert the given TreePath to a path relative to the child model. |
TreeModel | getModel()
Return the underlying data model. |
static Type | getType()
Retrieve the runtime type used by the GLib library. |
void | refilter()
Re-evaluate the visiblity of each row in the underlying data model. |
void | setVisibleColumn(DataColumnBoolean column)
Designate a boolean data column in the underlying TreeModel that will
serve as the "visible" marker for each row. |
void | setVisibleMethod(TreeModelFilterVisibleMethod method)
Designate the given TreeModelFilterVisibleMethod object with the
responsibility of determining if the rows in the underlying TreeModel
should be visible.
|
NOTE: There is no unset method.
NOTE: There is no unset method.