- 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:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description SplitBehavior(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 Type Method Description Qt.SplitBehavior
clone()
Clones the flagsQt.SplitBehavior
combined(Qt.SplitBehaviorFlags e)
Combines this flags with enum entry.int
compareTo(Qt.SplitBehavior other)
Qt.SplitBehaviorFlags[]
flags()
Returns an array of flag objects represented by this SplitBehavior.Qt.SplitBehavior
setFlag(Qt.SplitBehaviorFlags e)
Sets the flage
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>
-