public static enum LineFormat.CapStyleEnum extends Enum<LineFormat.CapStyleEnum>
Modifier and Type | Class and Description |
---|---|
static class |
LineFormat.CapStyleEnum.Adapter |
Enum Constant and Description |
---|
FLAT |
NOTDEFINED |
ROUND |
SQUARE |
Modifier and Type | Method and Description |
---|---|
static LineFormat.CapStyleEnum |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static LineFormat.CapStyleEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LineFormat.CapStyleEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LineFormat.CapStyleEnum ROUND
public static final LineFormat.CapStyleEnum SQUARE
public static final LineFormat.CapStyleEnum FLAT
public static final LineFormat.CapStyleEnum NOTDEFINED
public static LineFormat.CapStyleEnum[] values()
for (LineFormat.CapStyleEnum c : LineFormat.CapStyleEnum.values()) System.out.println(c);
public static LineFormat.CapStyleEnum valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getValue()
public String toString()
toString
in class Enum<LineFormat.CapStyleEnum>
public static LineFormat.CapStyleEnum fromValue(String text)
Copyright © 2022. All rights reserved.