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