public enum MeterShapeEnum extends 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(String name) |
static MeterShapeEnum |
getByValue(byte value)
Deprecated.
Used only by deprecated serialized fields.
|
static MeterShapeEnum |
getByValue(Byte value)
Deprecated.
Used only by deprecated serialized fields.
|
String |
getName() |
byte |
getValue()
Deprecated.
Used only by deprecated serialized fields.
|
Byte |
getValueByte()
Deprecated.
Used only by deprecated serialized fields.
|
static MeterShapeEnum |
valueOf(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(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 Byte getValueByte()
getValueByte
in interface JREnum
public final byte getValue()
public static MeterShapeEnum getByName(String name)
public static MeterShapeEnum getByValue(Byte value)
public static MeterShapeEnum getByValue(byte value)
Copyright © 2017. All rights reserved.