java.io.Serializable
, java.lang.Comparable<AnnotationInfo.PenStyleEnum>
public static enum AnnotationInfo.PenStyleEnum extends java.lang.Enum<AnnotationInfo.PenStyleEnum>
Modifier and Type | Class | Description |
---|---|---|
static class |
AnnotationInfo.PenStyleEnum.Adapter |
Enum Constant | Description |
---|---|
DASH |
|
DASHDOT |
|
DASHDOTDOT |
|
DOT |
|
LONGDASH |
|
SOLID |
Modifier and Type | Method | Description |
---|---|---|
static AnnotationInfo.PenStyleEnum |
fromValue(java.lang.String text) |
|
java.lang.String |
getValue() |
|
java.lang.String |
toString() |
|
static AnnotationInfo.PenStyleEnum |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static AnnotationInfo.PenStyleEnum[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnnotationInfo.PenStyleEnum SOLID
public static final AnnotationInfo.PenStyleEnum DASH
public static final AnnotationInfo.PenStyleEnum DASHDOT
public static final AnnotationInfo.PenStyleEnum DOT
public static final AnnotationInfo.PenStyleEnum LONGDASH
public static final AnnotationInfo.PenStyleEnum DASHDOTDOT
public static AnnotationInfo.PenStyleEnum[] values()
for (AnnotationInfo.PenStyleEnum c : AnnotationInfo.PenStyleEnum.values()) System.out.println(c);
public static AnnotationInfo.PenStyleEnum valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getValue()
public java.lang.String toString()
toString
in class java.lang.Enum<AnnotationInfo.PenStyleEnum>
public static AnnotationInfo.PenStyleEnum fromValue(java.lang.String text)
Copyright © 2022. All rights reserved.