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