org.gnu.gtk
public class TreeModelFilter extends TreeModel
Deprecated: This class is part of the java-gnome 2.x family of libraries,
which, due to their inefficiency and complexity, are no longer
being maintained and have been abandoned by the java-gnome
project. This class may in the future have an equivalent in
java-gnome 4.0, try looking for
org.gnome.gtk.TreeModelFilter
.
You should be aware that there is a considerably different API
in the new library: the architecture is completely different
and most notably internals are no longer exposed to public view.
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.
|
Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Create a new TreeModelFilter using the given TreeModel as the underlying data model.Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Create a new TreeModelFilter using the given TreeModel as the underlying data model, and using root as the virtual root.Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Clear the filter of any cached iterators. This should almost never be called.Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Convert the given child TreePath to a path relative to this filter.Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Convert the given TreePath to a path relative to the child model.Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Return the underlying data model.Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Retrieve the runtime type used by the GLib library.Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Re-evaluate the visiblity of each row in the underlying data model. This should be called after changing the values in the underlying data model.Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Designate a boolean data column in the underlying TreeModel that will serve as the "visible" marker for each row. If the column's value is true, the row will be visible. If the column's value is false, the row will not be visible.NOTE: There is no unset method.
Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
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.