Package org.gephi.appearance.api
Enum AppearanceModel.GraphFunction
- java.lang.Object
-
- java.lang.Enum<AppearanceModel.GraphFunction>
-
- org.gephi.appearance.api.AppearanceModel.GraphFunction
-
- All Implemented Interfaces:
Serializable
,Comparable<AppearanceModel.GraphFunction>
- Enclosing interface:
- AppearanceModel
public static enum AppearanceModel.GraphFunction extends Enum<AppearanceModel.GraphFunction>
Identifies the non-column-based functions.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EDGE_TYPE
EDGE_WEIGHT
NODE_DEGREE
NODE_INDEGREE
NODE_OUTDEGREE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getId()
static AppearanceModel.GraphFunction
valueOf(String name)
Returns the enum constant of this type with the specified name.static AppearanceModel.GraphFunction[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NODE_DEGREE
public static final AppearanceModel.GraphFunction NODE_DEGREE
-
NODE_INDEGREE
public static final AppearanceModel.GraphFunction NODE_INDEGREE
-
NODE_OUTDEGREE
public static final AppearanceModel.GraphFunction NODE_OUTDEGREE
-
EDGE_WEIGHT
public static final AppearanceModel.GraphFunction EDGE_WEIGHT
-
EDGE_TYPE
public static final AppearanceModel.GraphFunction EDGE_TYPE
-
-
Method Detail
-
values
public static AppearanceModel.GraphFunction[] 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 (AppearanceModel.GraphFunction c : AppearanceModel.GraphFunction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AppearanceModel.GraphFunction valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getId
public String getId()
-
-