Enum Action
- java.lang.Object
-
- java.lang.Enum<Action>
-
- com.hybris.cockpitng.components.visjs.network.response.Action
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ActionvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Action[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADD
public static final Action ADD
Adds nodes/edges to existing network chart. If networkchart already contains element with the same id, an exception in browser will be thrown. Therefore consider usingUPDATEinstead
-
UPDATE
public static final Action UPDATE
Updated nodes/edges in existing network chart. If networkchart doesn't contain given elements, vis.js will create them
-
REMOVE
public static final Action REMOVE
Removes nodes/edges from existing network chart
-
-
Method Detail
-
values
public static Action[] 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 (Action c : Action.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Action 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
-
-