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