public static enum PlotAreaSelectionTool.AreaType extends Enum<PlotAreaSelectionTool.AreaType>
Enum Constant and Description |
---|
ELLIPSE
Shape is an instance of
Ellipse2D . |
RECTANGLE
Shape is an instance of
Rectangle2D . |
X_RANGE
Shape is an instance of
Rectangle2D , only X-coordinates are valid. |
Y_RANGE
Shape is an instance of
Rectangle2D , only Y-coordinates are valid. |
Modifier and Type | Method and Description |
---|---|
static PlotAreaSelectionTool.AreaType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlotAreaSelectionTool.AreaType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlotAreaSelectionTool.AreaType X_RANGE
Rectangle2D
, only X-coordinates are valid.public static final PlotAreaSelectionTool.AreaType Y_RANGE
Rectangle2D
, only Y-coordinates are valid.public static final PlotAreaSelectionTool.AreaType RECTANGLE
Rectangle2D
.public static final PlotAreaSelectionTool.AreaType ELLIPSE
Ellipse2D
.public static PlotAreaSelectionTool.AreaType[] values()
for (PlotAreaSelectionTool.AreaType c : PlotAreaSelectionTool.AreaType.values()) System.out.println(c);
public static PlotAreaSelectionTool.AreaType 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 nullCopyright © 2014–2016 European Space Agency (ESA). All rights reserved.