Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

oracle.ide.controls
Enum ScrollableTabBar.ScrollMode

java.lang.Object
  extended by java.lang.Enum<ScrollableTabBar.ScrollMode>
      extended by oracle.ide.controls.ScrollableTabBar.ScrollMode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ScrollableTabBar.ScrollMode>
Enclosing class:
ScrollableTabBar

public static enum ScrollableTabBar.ScrollMode
extends java.lang.Enum<ScrollableTabBar.ScrollMode>

The behavior of the scroll left / right buttons.


Enum Constant Summary
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.
 
Method Summary
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SWITCH_TABS

public static final ScrollableTabBar.ScrollMode 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.


SCROLL

public static final ScrollableTabBar.ScrollMode SCROLL
In the SCROLL scrollmode, scrolling left or right moves the viewport containing visible tabs, but does not change the selected tab.

Method Detail

values

public static ScrollableTabBar.ScrollMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ScrollableTabBar.ScrollMode c : ScrollableTabBar.ScrollMode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ScrollableTabBar.ScrollMode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

Copyright © 1997, 2011, Oracle. All rights reserved.