Package org.gnome.gio
Enum Class EmblemOrigin
- All Implemented Interfaces:
Enumeration
,Serializable
,Comparable<EmblemOrigin>
,Constable
@Generated("io.github.jwharm.JavaGI")
public enum EmblemOrigin
extends Enum<EmblemOrigin>
implements Enumeration
GEmblemOrigin is used to add information about the origin of the emblem
to
GEmblem
.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionEmblem adds device-specific informationEmblem depicts live metadata, such as "readonly"Emblem comes from a user-defined tag, e.g.Emblem of unknown origin -
Method Summary
Modifier and TypeMethodDescriptionstatic Type
getType()
Get the GType of the EmblemOrigin classint
getValue()
Get the numeric value of this enumstatic EmblemOrigin
of
(int value) Create a new EmblemOrigin for the provided valuestatic EmblemOrigin
Returns the enum constant of this class with the specified name.static EmblemOrigin[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN
Emblem of unknown origin -
DEVICE
Emblem adds device-specific information -
LIVEMETADATA
Emblem depicts live metadata, such as "readonly" -
TAG
Emblem comes from a user-defined tag, e.g. set by nautilus (in the future)
-
-
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 EmblemOrigin 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
-