Package org.insa.graphs.gui.drawing
Enum Drawing.AlphaMode
- java.lang.Object
-
- java.lang.Enum<Drawing.AlphaMode>
-
- org.insa.graphs.gui.drawing.Drawing.AlphaMode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Drawing.AlphaMode>
- Enclosing interface:
- Drawing
public static enum Drawing.AlphaMode extends java.lang.Enum<Drawing.AlphaMode>
Available fill mode for the creation of markers, see the documentation of each value for more details.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description OPAQUE
Do not use the original transparency of the inner part to fill it.TRANSPARENT
Use the original transparency of the inner part to fill it.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Drawing.AlphaMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Drawing.AlphaMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OPAQUE
public static final Drawing.AlphaMode OPAQUE
Do not use the original transparency of the inner part to fill it.
-
TRANSPARENT
public static final Drawing.AlphaMode TRANSPARENT
Use the original transparency of the inner part to fill it.
-
-
Method Detail
-
values
public static Drawing.AlphaMode[] 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 (Drawing.AlphaMode c : Drawing.AlphaMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Drawing.AlphaMode 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
-
-