public enum Corner extends Enum<Corner>
| Enum Constant and Description |
|---|
lowerLeading |
lowerLeft |
lowerRight |
lowerTrailing |
upperLeading |
upperLeft |
upperRight |
upperTrailing |
| Modifier and Type | Method and Description |
|---|---|
static Corner |
at(String scrollPaneConstant)
Returns corner type for the specified scroll pane constant.
|
String |
getScrollPaneConstant()
Returns scroll pane constant of this corner type.
|
static boolean |
is(String value)
Returns whether or not specified value is a scroll pane constant.
|
static Corner |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Corner[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Corner upperLeft
public static final Corner upperLeading
public static final Corner upperRight
public static final Corner upperTrailing
public static final Corner lowerLeft
public static final Corner lowerLeading
public static final Corner lowerRight
public static final Corner lowerTrailing
public static Corner[] values()
for (Corner c : Corner.values()) System.out.println(c);
public static Corner 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 nullpublic String getScrollPaneConstant()
public static boolean is(String value)
value - value to processCopyright © 2020. All rights reserved.