public enum SpinnerStyle extends java.lang.Enum<SpinnerStyle>
FormattedTextField.setSpinnerStyle(SpinnerStyle).FormattedTextField| Enum Constant and Description |
|---|
INSIDE_CENTER_HORIZONTAL
The spinner buttons are inside the field, on both sides and horizontally positioned.
|
INSIDE_LEFT_HORIZONTAL
The spinner buttons are inside the field, on the left hand side and horizontally positioned.
|
INSIDE_LEFT_VERTICAL
The spinner buttons are inside the field, on the left hand side and vertically positioned.
|
INSIDE_RIGHT_HORIZONTAL
The spinner buttons are inside the field, on the right hand side and horizontally positioned.
|
INSIDE_RIGHT_VERTICAL
The spinner buttons are inside the field, on the right hand side and vertically positioned.
|
OUTSIDE_CENTER_HORIZONTAL
The spinner buttons are outside the field, on both sides and horizontally positioned.
|
OUTSIDE_CENTER_VERTICAL
The spinner buttons are outside the field, on the horizontal center and vertically positioned.
|
OUTSIDE_LEFT_HORIZONTAL
The spinner buttons are outside the field, on the left hand side and horizontally positioned.
|
OUTSIDE_LEFT_VERTICAL
The spinner buttons are outside the field, on the left hand side and vertically positioned.
|
OUTSIDE_RIGHT_HORIZONTAL
The spinner buttons are outside the field, on the right hand side and horizontally positioned.
|
OUTSIDE_RIGHT_VERTICAL
The spinner buttons are outside the field, on the right hand side and vertically positioned.
|
| Modifier and Type | Method and Description |
|---|---|
static SpinnerStyle |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SpinnerStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpinnerStyle INSIDE_RIGHT_VERTICAL
public static final SpinnerStyle INSIDE_LEFT_VERTICAL
public static final SpinnerStyle INSIDE_RIGHT_HORIZONTAL
public static final SpinnerStyle INSIDE_LEFT_HORIZONTAL
public static final SpinnerStyle INSIDE_CENTER_HORIZONTAL
public static final SpinnerStyle OUTSIDE_RIGHT_VERTICAL
FormattedTextField.asSpinner() to a parent.public static final SpinnerStyle OUTSIDE_LEFT_VERTICAL
FormattedTextField.asSpinner() to a parent.public static final SpinnerStyle OUTSIDE_CENTER_VERTICAL
FormattedTextField.asSpinner() to a parent.public static final SpinnerStyle OUTSIDE_RIGHT_HORIZONTAL
FormattedTextField.asSpinner() to a parent.public static final SpinnerStyle OUTSIDE_LEFT_HORIZONTAL
FormattedTextField.asSpinner() to a parent.public static final SpinnerStyle OUTSIDE_CENTER_HORIZONTAL
FormattedTextField.asSpinner() to a parent.public static SpinnerStyle[] values()
for (SpinnerStyle c : SpinnerStyle.values()) System.out.println(c);
public static SpinnerStyle 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