public enum PercentBoxModel extends java.lang.Enum<PercentBoxModel> implements ValueEnum
percentBox
.Enum Constant and Description |
---|
VIEWPORT
use coordinates relative to the {
Canvas.getViewportHeight ,viewportHeight} and width of the other canvas |
VISIBLE
use coordinates relative to the {
Canvas.getVisibleHeight ,visibleHeight} and width of the other canvas |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static PercentBoxModel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PercentBoxModel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PercentBoxModel VISIBLE
Canvas.getVisibleHeight
,visibleHeight} and width of the other canvaspublic static final PercentBoxModel VIEWPORT
Canvas.getViewportHeight
,viewportHeight} and width of the other canvaspublic static PercentBoxModel[] values()
for (PercentBoxModel c : PercentBoxModel.values()) System.out.println(c);
public static PercentBoxModel 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 null