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