- All Implemented Interfaces:
QtObjectInterface
,Iterable<QTreeWidgetItem>
,Iterator<QTreeWidgetItem>
Way to iterate over the items in a QTreeWidget instance
Java wrapper for Qt class QTreeWidgetItemIterator
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQTreeWidgetItemIterator::IteratorFlag
static final class
QFlags
type for enumQTreeWidgetItemIterator.IteratorFlag
-
Constructor Summary
ConstructorDescriptionOverloaded constructor forQTreeWidgetItemIterator(io.qt.widgets.QTreeWidgetItem, io.qt.widgets.QTreeWidgetItemIterator.IteratorFlags)
withflags = new io.qt.widgets.QTreeWidgetItemIterator.IteratorFlags(0)
.QTreeWidgetItemIterator
(QTreeWidgetItem item, QTreeWidgetItemIterator.IteratorFlag ... flags) Overloaded constructor forQTreeWidgetItemIterator(io.qt.widgets.QTreeWidgetItem, io.qt.widgets.QTreeWidgetItemIterator.IteratorFlags)
.QTreeWidgetItemIterator
(QTreeWidget widget) Overloaded constructor forQTreeWidgetItemIterator(io.qt.widgets.QTreeWidget, io.qt.widgets.QTreeWidgetItemIterator.IteratorFlags)
withflags = new io.qt.widgets.QTreeWidgetItemIterator.IteratorFlags(0)
.QTreeWidgetItemIterator
(QTreeWidget widget, QTreeWidgetItemIterator.IteratorFlag ... flags) Overloaded constructor forQTreeWidgetItemIterator(io.qt.widgets.QTreeWidget, io.qt.widgets.QTreeWidgetItemIterator.IteratorFlags)
. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
final 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
- Parameters:
widget
-flags
-
-
QTreeWidgetItemIterator
- Parameters:
item
-flags
-
-
QTreeWidgetItemIterator
Overloaded constructor for
QTreeWidgetItemIterator(io.qt.widgets.QTreeWidget, io.qt.widgets.QTreeWidgetItemIterator.IteratorFlags)
withflags = new io.qt.widgets.QTreeWidgetItemIterator.IteratorFlags(0)
. -
QTreeWidgetItemIterator
Overloaded constructor for
QTreeWidgetItemIterator(io.qt.widgets.QTreeWidget, 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
public QTreeWidgetItemIterator(QTreeWidgetItem item, QTreeWidgetItemIterator.IteratorFlag ... flags) Overloaded constructor for
QTreeWidgetItemIterator(io.qt.widgets.QTreeWidgetItem, io.qt.widgets.QTreeWidgetItemIterator.IteratorFlags)
.
-
-
Method Details
-
hasNext
- Specified by:
hasNext
in interfaceIterator<QTreeWidgetItem>
- Returns:
-
next
- Specified by:
next
in interfaceIterator<QTreeWidgetItem>
- Returns:
-
assign
- Parameters:
it
-
-
iterator
- Specified by:
iterator
in interfaceIterable<QTreeWidgetItem>
-