com.sap.ui.core.client
Enum Scrolling

java.lang.Object
  extended by java.lang.Enum<Scrolling>
      extended by com.sap.ui.core.client.Scrolling
All Implemented Interfaces:
Serializable, Comparable<Scrolling>

public enum Scrolling
extends Enum<Scrolling>

The enum Scrolling is the GWT wrapper for the Phoenix type: com.sap.ui.core.client.Scrolling.
Defines the possible values for horizontal and vertical scrolling behavior.

Version:
0.18.0-SNAPSHOT
Author:
GENERATOR

Enum Constant Summary
Auto
          The scrollbar is shown if the content requires more space than the given rectangle provides.
Hidden
          The scrollbar is not shown, and the content stays in the given rectangle.
None
          The scrollbar is not used even when the content is larger than the space that is available.
Scroll
          The scrollbar is always shown even if the space is large enough for the current content.
 
Method Summary
static Scrolling valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Scrolling[] 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

None

public static final Scrolling None
The scrollbar is not used even when the content is larger than the space that is available.


Auto

public static final Scrolling Auto
The scrollbar is shown if the content requires more space than the given rectangle provides.


Scroll

public static final Scrolling Scroll
The scrollbar is always shown even if the space is large enough for the current content.


Hidden

public static final Scrolling Hidden
The scrollbar is not shown, and the content stays in the given rectangle.

Method Detail

values

public static Scrolling[] 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 (Scrolling c : Scrolling.values())
    System.out.println(c);

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

valueOf

public static Scrolling valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2011 SAP. All Rights Reserved.