Package net.codecrete.qrbill.canvas
Enum Canvas.LineStyle
- java.lang.Object
-
- java.lang.Enum<Canvas.LineStyle>
-
- net.codecrete.qrbill.canvas.Canvas.LineStyle
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Canvas.LineStyle>
- Enclosing interface:
- Canvas
public static enum Canvas.LineStyle extends java.lang.Enum<Canvas.LineStyle>
Line style
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Canvas.LineStylevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Canvas.LineStyle[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Solid
public static final Canvas.LineStyle Solid
-
Dashed
public static final Canvas.LineStyle Dashed
-
Dotted
public static final Canvas.LineStyle Dotted
-
-
Method Detail
-
values
public static Canvas.LineStyle[] 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 (Canvas.LineStyle c : Canvas.LineStyle.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Canvas.LineStyle 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
-
-