org.gephi.data.attributes.api
Enum AttributeOrigin
java.lang.Object
java.lang.Enum<AttributeOrigin>
org.gephi.data.attributes.api.AttributeOrigin
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<AttributeOrigin>
public enum AttributeOrigin
- extends java.lang.Enum<AttributeOrigin>
Meta-data that describes the origin of columns content. Default value is DATA.
- PROPERTY: The attribute is a static field like Label, X or Y.
- DATA: The attribute is a normal associated data to the object.
- COMPUTED: The attribute has been computed during the program execution.
- Author:
- Mathieu Bastian, Martin Ć kurla
Method Summary |
static AttributeOrigin |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static AttributeOrigin[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
PROPERTY
public static final AttributeOrigin PROPERTY
DATA
public static final AttributeOrigin DATA
COMPUTED
public static final AttributeOrigin COMPUTED
DELEGATE
public static final AttributeOrigin DELEGATE
values
public static AttributeOrigin[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (AttributeOrigin c : AttributeOrigin.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static AttributeOrigin valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null