- 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
ConstructorDescriptionCreates a new Transformations.Transformations
(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
final void
setValue
(int value) Sets the value of this QFlags.final int
value()
Returns the value of this QFlags.
-
Constructor Details
-
Transformations
public Transformations()Creates a new Transformations. -
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>
-
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
-