- All Implemented Interfaces:
Serializable,Cloneable,Comparable<QChartView.RubberBands>
- Enclosing class:
- QChartView
public static final class QChartView.RubberBands
extends QFlags<QChartView.RubberBand>
implements Comparable<QChartView.RubberBands>
QFlags type for enum
QChartView.RubberBand- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRubberBands(int value) Creates a new RubberBands with givenvalue.RubberBands(QChartView.RubberBand... args) Creates a new RubberBands where the flags inargsare set. -
Method Summary
Modifier and TypeMethodDescriptionfinal QChartView.RubberBandsclone()Clones the flagsfinal QChartView.RubberBandsCombines this flags with enum entry.final intcompareTo(QChartView.RubberBands other) final QChartView.RubberBand[]flags()Returns an array of flag objects represented by this RubberBands.final QChartView.RubberBandsSets the flagefinal QChartView.RubberBandssetFlag(QChartView.RubberBand e, boolean on) Sets or clears the flagflag
-
Constructor Details
-
RubberBands
Creates a new RubberBands where the flags inargsare set.- Parameters:
args- enum entries
-
RubberBands
public RubberBands(int value) Creates a new RubberBands with givenvalue.- Parameters:
value-
-
-
Method Details
-
combined
Combines this flags with enum entry.- Overrides:
combinedin classQFlags<QChartView.RubberBand>- Parameters:
e- enum entry- Returns:
- new RubberBands
-
setFlag
Sets the flage- Overrides:
setFlagin classQFlags<QChartView.RubberBand>- Parameters:
e- enum entry- Returns:
- this
-
setFlag
Sets or clears the flagflag- Overrides:
setFlagin classQFlags<QChartView.RubberBand>- Parameters:
e- enum entryon- set (true) or clear (false)- Returns:
- this
-
flags
Returns an array of flag objects represented by this RubberBands.- Overrides:
flagsin classQFlags<QChartView.RubberBand>- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clonein classQFlags<QChartView.RubberBand>
-
compareTo
- Specified by:
compareToin interfaceComparable<QChartView.RubberBands>
-