java.lang.Object
io.qt.QFlags<QTreeWidgetItemIterator.IteratorFlag>
io.qt.widgets.QTreeWidgetItemIterator.IteratorFlags
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<QTreeWidgetItemIterator.IteratorFlags>
- Enclosing class:
- QTreeWidgetItemIterator
public static final class QTreeWidgetItemIterator.IteratorFlags extends QFlags<QTreeWidgetItemIterator.IteratorFlag> implements Comparable<QTreeWidgetItemIterator.IteratorFlags>
QFlags type for enum
QTreeWidgetItemIterator.IteratorFlag
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description IteratorFlags(int value)
Creates a new IteratorFlags with givenvalue
.IteratorFlags(QTreeWidgetItemIterator.IteratorFlag... args)
Creates a new IteratorFlags where the flags inargs
are set. -
Method Summary
Modifier and Type Method Description QTreeWidgetItemIterator.IteratorFlags
clone()
Clones the flagsQTreeWidgetItemIterator.IteratorFlags
combined(QTreeWidgetItemIterator.IteratorFlag e)
Combines this flags with enum entry.int
compareTo(QTreeWidgetItemIterator.IteratorFlags other)
QTreeWidgetItemIterator.IteratorFlag[]
flags()
Returns an array of flag objects represented by this IteratorFlags.QTreeWidgetItemIterator.IteratorFlags
setFlag(QTreeWidgetItemIterator.IteratorFlag e)
Sets the flage
QTreeWidgetItemIterator.IteratorFlags
setFlag(QTreeWidgetItemIterator.IteratorFlag e, boolean on)
Sets or clears the flagflag
-
Constructor Details
-
IteratorFlags
Creates a new IteratorFlags where the flags inargs
are set.- Parameters:
args
- enum entries
-
IteratorFlags
public IteratorFlags(int value)Creates a new IteratorFlags with givenvalue
.- Parameters:
value
-
-
-
Method Details
-
combined
public final QTreeWidgetItemIterator.IteratorFlags combined(QTreeWidgetItemIterator.IteratorFlag e)Combines this flags with enum entry.- Overrides:
combined
in classQFlags<QTreeWidgetItemIterator.IteratorFlag>
- Parameters:
e
- enum entry- Returns:
- new IteratorFlags
-
setFlag
Sets the flage
- Overrides:
setFlag
in classQFlags<QTreeWidgetItemIterator.IteratorFlag>
- Parameters:
e
- enum entry- Returns:
- this
-
setFlag
public final QTreeWidgetItemIterator.IteratorFlags setFlag(QTreeWidgetItemIterator.IteratorFlag e, boolean on)Sets or clears the flagflag
- Overrides:
setFlag
in classQFlags<QTreeWidgetItemIterator.IteratorFlag>
- Parameters:
e
- enum entryon
- set (true) or clear (false)- Returns:
- this
-
flags
Returns an array of flag objects represented by this IteratorFlags.- Overrides:
flags
in classQFlags<QTreeWidgetItemIterator.IteratorFlag>
- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clone
in classQFlags<QTreeWidgetItemIterator.IteratorFlag>
-
compareTo
- Specified by:
compareTo
in interfaceComparable<QTreeWidgetItemIterator.IteratorFlags>
-