- 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
ConstructorDescriptionCreates a new PolarOrientations.PolarOrientations
(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
final void
setValue
(int value) Sets the value of this QFlags.final int
value()
Returns the value of this QFlags.
-
Constructor Details
-
PolarOrientations
public PolarOrientations()Creates a new PolarOrientations. -
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>
-
value
public final int value()Returns the value of this QFlags. -
setValue
public final void setValue(int value) Sets the value of this QFlags.- Parameters:
value
- new value
-