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