- 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:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description PolarOrientations(int value)
Creates a new PolarOrientations with givenvalue
.PolarOrientations(QPolarChart.PolarOrientation... args)
Creates a new PolarOrientations where the flags inargs
are set. -
Method Summary
Modifier and Type Method Description QPolarChart.PolarOrientations
clone()
Clones the flagsQPolarChart.PolarOrientations
combined(QPolarChart.PolarOrientation e)
Combines this flags with enum entry.int
compareTo(QPolarChart.PolarOrientations other)
QPolarChart.PolarOrientation[]
flags()
Returns an array of flag objects represented by this PolarOrientations.QPolarChart.PolarOrientations
setFlag(QPolarChart.PolarOrientation e)
Sets the flage
QPolarChart.PolarOrientations
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>
-