public static enum ScrollableTabBar.ScrollMode extends java.lang.Enum<ScrollableTabBar.ScrollMode>
Enum Constant and Description |
---|
SCROLL
In the SCROLL scrollmode, scrolling left or right moves the viewport
containing visible tabs, but does not change the selected tab.
|
SWITCH_TABS
In the SWITCH_TABS scrollmode, scrolling left or right selects the
next tab to the left or right of the currently selected tab.
|
Modifier and Type | Method and Description |
---|---|
static ScrollableTabBar.ScrollMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ScrollableTabBar.ScrollMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScrollableTabBar.ScrollMode SWITCH_TABS
public static final ScrollableTabBar.ScrollMode SCROLL
public static ScrollableTabBar.ScrollMode[] values()
for (ScrollableTabBar.ScrollMode c : ScrollableTabBar.ScrollMode.values()) System.out.println(c);
public static ScrollableTabBar.ScrollMode 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