Package ptolemy.vergil.basic.layout
Enum AbstractLayoutConfiguration.InteractionMode
- java.lang.Object
-
- java.lang.Enum<AbstractLayoutConfiguration.InteractionMode>
-
- ptolemy.vergil.basic.layout.AbstractLayoutConfiguration.InteractionMode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AbstractLayoutConfiguration.InteractionMode>
- Enclosing class:
- AbstractLayoutConfiguration
public static enum AbstractLayoutConfiguration.InteractionMode extends java.lang.Enum<AbstractLayoutConfiguration.InteractionMode>
Available modes of user interaction.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Columns
User positioning affects cycle detection and node layering.Cycles
User positioning affects cycle detection.Full
User positioning affects cycle detection, node layering, and node order.None
No user interaction: full automatic layout.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AbstractLayoutConfiguration.InteractionMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AbstractLayoutConfiguration.InteractionMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
None
public static final AbstractLayoutConfiguration.InteractionMode None
No user interaction: full automatic layout.
-
Cycles
public static final AbstractLayoutConfiguration.InteractionMode Cycles
User positioning affects cycle detection.
-
Columns
public static final AbstractLayoutConfiguration.InteractionMode Columns
User positioning affects cycle detection and node layering.
-
Full
public static final AbstractLayoutConfiguration.InteractionMode Full
User positioning affects cycle detection, node layering, and node order.
-
-
Method Detail
-
values
public static AbstractLayoutConfiguration.InteractionMode[] 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 (AbstractLayoutConfiguration.InteractionMode c : AbstractLayoutConfiguration.InteractionMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AbstractLayoutConfiguration.InteractionMode 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 namejava.lang.NullPointerException
- if the argument is null
-
-