Enum ShapeStateAttributeHandler.ShapeStateAttribute
- java.lang.Object
-
- java.lang.Enum<ShapeStateAttributeHandler.ShapeStateAttribute>
-
- org.kie.workbench.common.stunner.core.client.shape.impl.ShapeStateAttributeHandler.ShapeStateAttribute
-
- All Implemented Interfaces:
Serializable,Comparable<ShapeStateAttributeHandler.ShapeStateAttribute>
- Enclosing class:
- ShapeStateAttributeHandler<V extends org.kie.workbench.common.stunner.core.client.shape.view.ShapeView>
public static enum ShapeStateAttributeHandler.ShapeStateAttribute extends Enum<ShapeStateAttributeHandler.ShapeStateAttribute>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FILL_ALPHAFILL_COLORSTROKE_ALPHASTROKE_COLORSTROKE_WIDTH
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ShapeStateAttributeHandler.ShapeStateAttributevalueOf(String name)Returns the enum constant of this type with the specified name.static ShapeStateAttributeHandler.ShapeStateAttribute[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FILL_COLOR
public static final ShapeStateAttributeHandler.ShapeStateAttribute FILL_COLOR
-
FILL_ALPHA
public static final ShapeStateAttributeHandler.ShapeStateAttribute FILL_ALPHA
-
STROKE_COLOR
public static final ShapeStateAttributeHandler.ShapeStateAttribute STROKE_COLOR
-
STROKE_ALPHA
public static final ShapeStateAttributeHandler.ShapeStateAttribute STROKE_ALPHA
-
STROKE_WIDTH
public static final ShapeStateAttributeHandler.ShapeStateAttribute STROKE_WIDTH
-
-
Method Detail
-
values
public static ShapeStateAttributeHandler.ShapeStateAttribute[] 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 (ShapeStateAttributeHandler.ShapeStateAttribute c : ShapeStateAttributeHandler.ShapeStateAttribute.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ShapeStateAttributeHandler.ShapeStateAttribute 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
-
-