Web Dynpro API Documentation

com.sap.tc.webdynpro.clientserver.uielib.standard.api
Class WDTabAlignment

java.lang.Object
  |
  +--com.sap.tc.webdynpro.clientserver.uielib.standard.api.WDTabAlignment

public final class WDTabAlignment
extends java.lang.Object

Enumeration type WDTabAlignment. Determines how each tab's width and height are aligned with the other tabs' widths and heights. BEWARE Forcing a browser based client to make all tabs equally wide and high is extremely inefficient.

This type can be called by applications using Web Dynpro, but DO NOT EXTEND IT!


Field Summary
static WDTabAlignment EXACT
          Forces each client to exactly align the tabs' widths and heights, i.e.
static WDTabAlignment FAST
          Allows each client to align the tabs' widths and heights in an efficient way.
 
Method Summary
static java.util.Iterator iterateValues()
          Returns an iterator over the values of the WDTabAlignment type.
 int ordinal()
          Returns the ordinal of this enumeration value (its position in its enum declaration, where the first value is assigned an ordinal of zero).
 java.lang.String toString()
          Returns the string representation of this enumeration value.
static WDTabAlignment valueOf(int ordinal)
          Returns the enumeration value for the given ordinal.
static WDTabAlignment valueOf(java.lang.String name)
          Returns the enumeration value for the given name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

FAST

public static final WDTabAlignment FAST
Allows each client to align the tabs' widths and heights in an efficient way. Browser based clients will not align at all, but rather have every tab as wide and high as needed for its content; of course the minimum width and height is still regarded. Smart clients are well allowed to align all tabs' widths and heights in order to achieve the best visual experience without sacrificing performance noticeably.

EXACT

public static final WDTabAlignment EXACT
Forces each client to exactly align the tabs' widths and heights, i.e. all tabs will have the same width and height, which is at least the given minimum and what is required by their content. BEWARE Forcing a browser based client to make all tabs equally wide and high is extremely inefficient.
Method Detail

ordinal

public int ordinal()
Returns the ordinal of this enumeration value (its position in its enum declaration, where the first value is assigned an ordinal of zero). Most programmers will have no use for this method. It is designed for use by sophisticated enum-based data structures.
Returns:
the ordinal of this enumeration value

toString

public java.lang.String toString()
Returns the string representation of this enumeration value.
Overrides:
toString in class java.lang.Object
Returns:
the string value of this enumeration value

valueOf

public static WDTabAlignment valueOf(int ordinal)
Returns the enumeration value for the given ordinal.
Parameters:
ordinal - an ordinal
Returns:
the enumeration value for the given ordinal

valueOf

public static WDTabAlignment valueOf(java.lang.String name)
Returns the enumeration value for the given name. Ignores case.
Parameters:
name - a name
Returns:
the enumeration value for the given name

iterateValues

public static java.util.Iterator iterateValues()
Returns an iterator over the values of the WDTabAlignment type.
Returns:
a read-only iterator over the values of this enumeration type

Web Dynpro API Documentation

Copyright © 2004 SAP AG. Automatically generated Thu Mar 3 2005, 22:15