Package org.gnome.gdkpixbuf
Enum Class PixbufFormatFlags
- All Implemented Interfaces:
Enumeration
,Serializable
,Comparable<PixbufFormatFlags>
,Constable
@Generated("io.github.jwharm.JavaGI")
public enum PixbufFormatFlags
extends Enum<PixbufFormatFlags>
implements Enumeration
Flags which allow a module to specify further details about the supported
operations.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionthe image format is scalablethe module is threadsafe.the module can write out images in the format. -
Method Summary
Modifier and TypeMethodDescriptionint
getValue()
Get the numeric value of this enumstatic PixbufFormatFlags
of
(int value) Create a new PixbufFormatFlags for the provided valuestatic PixbufFormatFlags
Returns the enum constant of this class with the specified name.static PixbufFormatFlags[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
WRITABLE
the module can write out images in the format. -
SCALABLE
the image format is scalable -
THREADSAFE
the module is threadsafe. gdk-pixbuf ignores modules that are not marked as threadsafe. (Since 2.28).
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
of
Create a new PixbufFormatFlags for the provided value- Parameters:
value
- the bitfield value- Returns:
- the bitfield for the provided value
-
getValue
public int getValue()Get the numeric value of this enum- Specified by:
getValue
in interfaceEnumeration
- Returns:
- the enum value
-