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