- 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:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description Transformations(int value)
Creates a new Transformations with givenvalue
.Transformations(QImageIOHandler.Transformation... args)
Creates a new Transformations where the flags inargs
are set. -
Method Summary
Modifier and Type Method Description QImageIOHandler.Transformations
clone()
Clones the flagsQImageIOHandler.Transformations
combined(QImageIOHandler.Transformation e)
Combines this flags with enum entry.int
compareTo(QImageIOHandler.Transformations other)
QImageIOHandler.Transformation[]
flags()
Returns an array of flag objects represented by this Transformations.QImageIOHandler.Transformations
setFlag(QImageIOHandler.Transformation e)
Sets the flage
QImageIOHandler.Transformations
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>
-