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