Package org.gnome.gdkpixbuf
Enum Class PixbufError
- All Implemented Interfaces:
Enumeration
,Serializable
,Comparable<PixbufError>
,Constable
@Generated("io.github.jwharm.JavaGI")
public enum PixbufError
extends Enum<PixbufError>
implements Enumeration
An error code in the
GDK_PIXBUF_ERROR
domain.
Many gdk-pixbuf operations can cause errors in this domain, or in
the G_FILE_ERROR
domain.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionA bad option was passed to a pixbuf save module.An image file was broken somehow.Generic failure code, something went wrong.Only part of the animation was loaded.Not enough memory.Unknown image type.Don't know how to perform the given operation on the type of image at hand. -
Method Summary
Modifier and TypeMethodDescriptionstatic Type
getType()
Get the GType of the PixbufError classint
getValue()
Get the numeric value of this enumstatic PixbufError
of
(int value) Create a new PixbufError for the provided valuestatic Quark
quark()
static PixbufError
Returns the enum constant of this class with the specified name.static PixbufError[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CORRUPT_IMAGE
An image file was broken somehow. -
INSUFFICIENT_MEMORY
Not enough memory. -
BAD_OPTION
A bad option was passed to a pixbuf save module. -
UNKNOWN_TYPE
Unknown image type. -
UNSUPPORTED_OPERATION
Don't know how to perform the given operation on the type of image at hand. -
FAILED
Generic failure code, something went wrong. -
INCOMPLETE_ANIMATION
Only part of the animation was loaded.
-
-
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 PixbufError for the provided value- Parameters:
value
- the enum value- Returns:
- the enum for the provided value
-
getValue
public int getValue()Get the numeric value of this enum- Specified by:
getValue
in interfaceEnumeration
- Returns:
- the enum value
-
getType
-
quark
-