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