org.gnu.gtk
public class TreeIter extends Boxed
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.TreeIter
.
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 | |
---|---|
TreeIter(Handle handle, TreeModel model)
construct iter from handle to native resources. |
Method Summary | |
---|---|
TreeIter | getChild(int index)
Returns an iterator for the child of the given parent at a position
identified by index. |
int | getChildCount()
Returns the number of children that iter has |
TreeIter | getFirstChild()
Returns an iterator for the first child of the given iterator, or
null if the iter has no children. |
boolean | getHasChild()
Returns TRUE if iter has children, FALSE otherwise. |
TreeModel | getModel()
Returns the TreeModel which this Iter is associated with |
TreeIter | getNextIter()
Returns the next iter pointing to the node following the
TreeIter provided at the same level. |
TreeIter | getParent()
Return the parent iterator of the given child. |
TreePath | getPath()
Returns a newly-created TreePath referenced by this iter. |
static Type | getType()
Retrieve the runtime type used by the GLib library. |
String | toString()
Generates a string representation of the iter. |
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.
construct iter from handle to native resources.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.
Returns an iterator for the child of the given parent at a position identified by index.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.
Returns the number of children thatiter
hasDeprecated: 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.
Returns an iterator for the first child of the given iterator, ornull
if the iter has no children.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.
Returns TRUE if iter has children, FALSE otherwise.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.
Returns the TreeModel which this Iter is associated withDeprecated: 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.
Returns the nextiter
pointing to the node following the
TreeIter provided at the same level. If there is no next iter it will
return null.
Use this in combination with getFirstIter to loop through all values in the 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 parent iterator of the given child.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.
Returns a newly-created TreePath referenced by this iter.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.
Generates a string representation of the iter. This string is a ':' separated list of numbers. For example, "4:10:0:3" would be an acceptable return value for this string.