public enum ChartPattern extends Enum<ChartPattern> implements MpxjEnum
Enum Constant and Description |
---|
BACKSLASH |
CHECKERED |
DOTTED |
FORWARDSLASH |
GRID |
HEAVYDOTTED |
HORIZONTALSTRIPE |
LIGHTDOTTED |
SOLID |
SOLIDHAIRY |
TRANSPARENT |
VERTICALSTRIPE |
Modifier and Type | Method and Description |
---|---|
static ChartPattern |
getInstance(int type)
Retrieve an instance of the enum based on its int value.
|
static ChartPattern |
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 ChartPattern |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChartPattern[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChartPattern TRANSPARENT
public static final ChartPattern SOLID
public static final ChartPattern LIGHTDOTTED
public static final ChartPattern DOTTED
public static final ChartPattern HEAVYDOTTED
public static final ChartPattern BACKSLASH
public static final ChartPattern FORWARDSLASH
public static final ChartPattern CHECKERED
public static final ChartPattern VERTICALSTRIPE
public static final ChartPattern HORIZONTALSTRIPE
public static final ChartPattern GRID
public static final ChartPattern SOLIDHAIRY
public static ChartPattern[] values()
for (ChartPattern c : ChartPattern.values()) System.out.println(c);
public static ChartPattern 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 ChartPattern getInstance(int type)
type
- int typepublic static ChartPattern getInstance(Number type)
type
- int typepublic int getValue()
public String getName()
public String toString()
toString
in class Enum<ChartPattern>
Copyright © 2000–2024 Packwood Software. All rights reserved.