public enum ShapeTypeEnum extends Enum<ShapeTypeEnum> implements net.sf.jasperreports.engine.type.NamedEnum
| Enum Constant and Description |
|---|
ELLIPSE |
POLYGON |
POLYLINE |
RECTANGLE |
| Modifier and Type | Method and Description |
|---|---|
static ShapeTypeEnum |
getByName(String name) |
String |
getName() |
static ShapeTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ShapeTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShapeTypeEnum ELLIPSE
public static final ShapeTypeEnum RECTANGLE
public static final ShapeTypeEnum POLYLINE
public static final ShapeTypeEnum POLYGON
public static ShapeTypeEnum[] values()
for (ShapeTypeEnum c : ShapeTypeEnum.values()) System.out.println(c);
public static ShapeTypeEnum 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 String getName()
getName in interface net.sf.jasperreports.engine.type.NamedEnumpublic static ShapeTypeEnum getByName(String name)
Copyright © 2019 TIBCO Software Inc.. All rights reserved.