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