- All Implemented Interfaces:
QtObjectInterface
,Iterable<QTreeWidgetItem>
,Iterator<QTreeWidgetItem>
public class QTreeWidgetItemIterator extends QtObject implements Iterable<QTreeWidgetItem>, Iterator<QTreeWidgetItem>
Way to iterate over the items in a QTreeWidget instance
Java wrapper for Qt class QTreeWidgetItemIterator
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QTreeWidgetItemIterator.IteratorFlag
Java wrapper for Qt enum QTreeWidgetItemIterator::IteratorFlagstatic class
QTreeWidgetItemIterator.IteratorFlags
QFlags type for enumQTreeWidgetItemIterator.IteratorFlag
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description boolean
hasNext()
Iterator<QTreeWidgetItem>
iterator()
QTreeWidgetItem
next()
-
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
public QTreeWidgetItemIterator(QTreeWidgetItem item, QTreeWidgetItemIterator.IteratorFlag... flags)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>
-