public enum MeterShapeEnum extends java.lang.Enum<MeterShapeEnum> implements JREnum
Enum Constant and Description |
---|
CHORD
The portion of the circle described by the Meter that is not occupied by the
Meter is drawn as a chord.
|
CIRCLE
The portion of the circle described by the Meter that is not occupied by the
Meter is drawn as a circle.
|
DIAL
The portion of the circle described by the Meter that is not occupied by the
Meter is drawn as a circle, and handled with specific dial objects.
|
PIE
The portion of the circle described by the Meter that is not occupied by the
Meter is not drawn.
|
Modifier and Type | Method and Description |
---|---|
static MeterShapeEnum |
getByName(java.lang.String name) |
static MeterShapeEnum |
getByValue(byte value) |
static MeterShapeEnum |
getByValue(java.lang.Byte value) |
java.lang.String |
getName() |
byte |
getValue() |
java.lang.Byte |
getValueByte() |
static MeterShapeEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MeterShapeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MeterShapeEnum CHORD
public static final MeterShapeEnum CIRCLE
public static final MeterShapeEnum PIE
public static final MeterShapeEnum DIAL
public static MeterShapeEnum[] values()
for (MeterShapeEnum c : MeterShapeEnum.values()) System.out.println(c);
public static MeterShapeEnum 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.Byte getValueByte()
getValueByte
in interface JREnum
public static MeterShapeEnum getByName(java.lang.String name)
public static MeterShapeEnum getByValue(java.lang.Byte value)
public static MeterShapeEnum getByValue(byte value)
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com