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