Package org.graphstream.stream.file
Enum FileSinkImages.OutputPolicy
- All Implemented Interfaces:
Serializable
,Comparable<FileSinkImages.OutputPolicy>
,java.lang.constant.Constable
- Enclosing class:
- FileSinkImages
public static enum FileSinkImages.OutputPolicy extends Enum<FileSinkImages.OutputPolicy>
Output policy. Specify when an image is written. This is an important choice.
Best choice is to divide the graph in steps and choose the *ByStepOutput*.
Remember that if your graph has x nodes and *ByEventOutput* or
*ByNodeEventOutput* is chosen, this will produce x images just for nodes
creation.
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description BY_ATTRIBUTE_EVENT
BY_EDGE_ADDED_REMOVED
BY_EDGE_ATTRIBUTE
BY_EDGE_EVENT
BY_ELEMENT_EVENT
BY_EVENT
BY_GRAPH_ATTRIBUTE
BY_GRAPH_EVENT
BY_LAYOUT_STEP
BY_NODE_ADDED_REMOVED
BY_NODE_ATTRIBUTE
BY_NODE_EVENT
BY_NODE_MOVED
BY_STEP
NONE
ON_RUNNER
-
Method Summary
Modifier and Type Method Description static FileSinkImages.OutputPolicy
valueOf(String name)
Returns the enum constant of this type with the specified name.static FileSinkImages.OutputPolicy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-