public static enum FilteredTable.CenterOnScroll extends Enum<FilteredTable.CenterOnScroll>
Enum Constant and Description |
---|
BOTH
Centers both the selected column and row, if possible.
|
COLUMN
Centers the selected column, if possible.
|
NEITHER
Centers neither the selected column nor row.
|
ROW
Centers the selected row, if possible.
|
Modifier and Type | Method and Description |
---|---|
static FilteredTable.CenterOnScroll |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FilteredTable.CenterOnScroll[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FilteredTable.CenterOnScroll COLUMN
public static final FilteredTable.CenterOnScroll ROW
public static final FilteredTable.CenterOnScroll BOTH
public static final FilteredTable.CenterOnScroll NEITHER
public static FilteredTable.CenterOnScroll[] values()
for (FilteredTable.CenterOnScroll c : FilteredTable.CenterOnScroll.values()) System.out.println(c);
public static FilteredTable.CenterOnScroll 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 null