public static enum ShapePickSupport.Style extends Enum<ShapePickSupport.Style>
Style.CENTERED
: returns the element whose
center is closest to the pick point.
Style.LOWEST
: returns the first such element
encountered. (If the element collection has a consistent
ordering, this will also be the element "on the bottom",
that is, the one which is rendered first.)
Style.HIGHEST
: returns the last such element
encountered. (If the element collection has a consistent
ordering, this will also be the element "on the top",
that is, the one which is rendered last.)
Modifier and Type | Method and Description |
---|---|
static ShapePickSupport.Style |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ShapePickSupport.Style[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShapePickSupport.Style LOWEST
public static final ShapePickSupport.Style CENTERED
public static final ShapePickSupport.Style HIGHEST
public static ShapePickSupport.Style[] values()
for (ShapePickSupport.Style c : ShapePickSupport.Style.values()) System.out.println(c);
public static ShapePickSupport.Style 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 © 2015. All rights reserved.