public enum LineStyle extends Enum<LineStyle> implements MpxjEnum
| Enum Constant and Description |
|---|
DASHED |
DOTTED1 |
DOTTED2 |
NONE |
SOLID |
| Modifier and Type | Method and Description |
|---|---|
static LineStyle |
getInstance(int type)
Retrieve an instance of the enum based on its int value.
|
static LineStyle |
getInstance(Number type)
Retrieve an instance of the enum based on its int value.
|
String |
getName()
Retrieve the line style name.
|
int |
getValue()
Accessor method used to retrieve the numeric representation of the enum.
|
String |
toString()
Retrieve the String representation of this line style.
|
static LineStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LineStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LineStyle NONE
public static final LineStyle SOLID
public static final LineStyle DOTTED1
public static final LineStyle DOTTED2
public static final LineStyle DASHED
public static LineStyle[] values()
for (LineStyle c : LineStyle.values()) System.out.println(c);
public static LineStyle 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 static LineStyle getInstance(int type)
type - int typepublic static LineStyle getInstance(Number type)
type - int typepublic int getValue()
public String getName()
Copyright © 2000–2025 MPXJ. All rights reserved.