- All Implemented Interfaces:
QtObjectInterface
,Iterable<QTreeWidgetItem>
,Iterator<QTreeWidgetItem>
Way to iterate over the items in a QTreeWidget instance
Java wrapper for Qt's class QTreeWidgetItemIterator
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QTreeWidgetItemIterator::IteratorFlagstatic final class
QFlags type for enumQTreeWidgetItemIterator.IteratorFlag
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor for internal use only.QTreeWidgetItemIterator
(QTreeWidget widget) Overloaded constructor forQTreeWidgetItemIterator(io.qt.widgets.QTreeWidget, io.qt.widgets.QTreeWidgetItemIterator.IteratorFlags)
withflags = new io.qt.widgets.QTreeWidgetItemIterator.IteratorFlags(0)
.Overloaded constructor forQTreeWidgetItemIterator(io.qt.widgets.QTreeWidgetItem, io.qt.widgets.QTreeWidgetItemIterator.IteratorFlags)
withflags = new io.qt.widgets.QTreeWidgetItemIterator.IteratorFlags(0)
.Overloaded constructor forQTreeWidgetItemIterator(io.qt.widgets.QTreeWidgetItem, io.qt.widgets.QTreeWidgetItemIterator.IteratorFlags)
.QTreeWidgetItemIterator
(QTreeWidget widget, QTreeWidgetItemIterator.IteratorFlag... flags) Overloaded constructor forQTreeWidgetItemIterator(io.qt.widgets.QTreeWidget, io.qt.widgets.QTreeWidgetItemIterator.IteratorFlags)
. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
hasNext()
final Iterator<QTreeWidgetItem>
iterator()
final QTreeWidgetItem
next()
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Constructor Details
-
QTreeWidgetItemIterator
Overloaded constructor for
QTreeWidgetItemIterator(io.qt.widgets.QTreeWidget, io.qt.widgets.QTreeWidgetItemIterator.IteratorFlags)
. -
QTreeWidgetItemIterator
Overloaded constructor for
QTreeWidgetItemIterator(io.qt.widgets.QTreeWidget, io.qt.widgets.QTreeWidgetItemIterator.IteratorFlags)
withflags = new io.qt.widgets.QTreeWidgetItemIterator.IteratorFlags(0)
. -
QTreeWidgetItemIterator
-
QTreeWidgetItemIterator
Overloaded constructor for
QTreeWidgetItemIterator(io.qt.widgets.QTreeWidgetItem, io.qt.widgets.QTreeWidgetItemIterator.IteratorFlags)
. -
QTreeWidgetItemIterator
Overloaded constructor for
QTreeWidgetItemIterator(io.qt.widgets.QTreeWidgetItem, io.qt.widgets.QTreeWidgetItemIterator.IteratorFlags)
withflags = new io.qt.widgets.QTreeWidgetItemIterator.IteratorFlags(0)
. -
QTreeWidgetItemIterator
-
QTreeWidgetItemIterator
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
hasNext
- Specified by:
hasNext
in interfaceIterator<QTreeWidgetItem>
-
next
- Specified by:
next
in interfaceIterator<QTreeWidgetItem>
-
iterator
- Specified by:
iterator
in interfaceIterable<QTreeWidgetItem>
-