public enum DetailLevel extends Enum<DetailLevel>
Details:
DetailLevel
is an enumeration of possible choices for the level of detail at which a figure can be rendered.
Different levels of detail are defined to control the processing costs of rendering.
Enum Constant and Description |
---|
BOXES
Render as bounding box.
|
HOLLOW
Render as wire frame.
|
NORMAL
Render normally.
|
Modifier and Type | Method and Description |
---|---|
static DetailLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DetailLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DetailLevel NORMAL
Details:
NORMAL
indicates that the figure will be rendered at the normal level of detail.
public static final DetailLevel HOLLOW
Details:
HOLLOW
indicates that the figure will be rendered as a hollow wire frame.
public static final DetailLevel BOXES
Details:
BOXES
indicates that the figure will be rendered as a rectangular bounding box, normal to the X and Y axes.
public static DetailLevel[] values()
for (DetailLevel c : DetailLevel.values()) System.out.println(c);
public static DetailLevel 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 © 2013. All Rights Reserved.