- 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
ConstructorsConstructorDescriptionCreates a new AnimationOptions.AnimationOptions(int value) Creates a new AnimationOptions with givenvalue.AnimationOptions(QChart.AnimationOption ... args) Creates a new AnimationOptions where the flags inargsare set. -
Method Summary
Modifier and TypeMethodDescriptionfinal QChart.AnimationOptionsclone()Clones the flagsfinal QChart.AnimationOptionsCombines this flags with enum entry.final intcompareTo(QChart.AnimationOptions other) final QChart.AnimationOption []flags()Returns an array of flag objects represented by this AnimationOptions.final QChart.AnimationOptionsSets the flagefinal QChart.AnimationOptionssetFlag(QChart.AnimationOption e, boolean on) Sets or clears the flagflagfinal voidsetValue(int value) Sets the value of this QFlags.final intvalue()Returns the value of this QFlags.
-
Constructor Details
-
AnimationOptions
public AnimationOptions()Creates a new AnimationOptions. -
AnimationOptions
Creates a new AnimationOptions where the flags inargsare 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:
combinedin classQFlags<QChart.AnimationOption>- Parameters:
e- enum entry- Returns:
- new AnimationOptions
-
setFlag
Sets the flage- Overrides:
setFlagin classQFlags<QChart.AnimationOption>- Parameters:
e- enum entry- Returns:
- this
-
setFlag
Sets or clears the flagflag- Overrides:
setFlagin 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:
flagsin classQFlags<QChart.AnimationOption>- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clonein classQFlags<QChart.AnimationOption>
-
compareTo
- Specified by:
compareToin interfaceComparable<QChart.AnimationOptions>
-
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
-