public enum PercentBoxModel extends java.lang.Enum<PercentBoxModel> implements ValueEnum
percentBox
.Enum Constant and Description |
---|
INNER
use coordinates relative to the
specified inner height and
width of the other canvas |
SPECIFIED
use coordinates relative to the
specified height and width of the
other canvas. |
VIEWPORT
use coordinates relative to the
drawn viewport height and
width of the other canvas |
VISIBLE
use coordinates relative to the
drawn height 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
drawn height
and width of
the other canvas
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "visible".
public static final PercentBoxModel VIEWPORT
drawn viewport height
and
width of the other canvas
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "viewport".
public static final PercentBoxModel SPECIFIED
specified height
and width of the
other canvas. For overflow:"visible"
canvases this may be
smaller than drawn size.
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "specified".
public static final PercentBoxModel INNER
specified inner height
and
width of the other canvas
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "inner".
public 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