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

Class WDTextViewLayout

java.lang.Object
  extended bycom.sap.tc.webdynpro.clientserver.uielib.standard.api.WDTextViewLayout

public final class WDTextViewLayout
extends Object

Enumeration type WDTextViewLayout. Defines the layout values of a text view.

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

Type Classification Type Classification:

This class is part of the Web Dynpro API, so applications may reference it or call any method of this type, but they must not subclass it.

For a detailed explanation of API classification see the Web Dynpro Compatibility Guide

Field Summary
static WDTextViewLayout BLOCK
          Renders the text view with a <div> HTML tag.
static WDTextViewLayout NATIVE
          Renders the text view with a <span> HTML tag.
static WDTextViewLayout PARAGRAPH
          Renders the text view with a <p> HTML tag.
 
Method Summary
static Iterator iterateValues()
          Returns an iterator over the values of the WDTextViewLayout 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).
 String toString()
          Returns the string representation of this enumeration value.
static WDTextViewLayout valueOf(int ordinal)
          Returns the enumeration value for the given ordinal.
static WDTextViewLayout valueOf(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

BLOCK

public static final WDTextViewLayout BLOCK
Renders the text view with a <div> HTML tag.


NATIVE

public static final WDTextViewLayout NATIVE
Renders the text view with a <span> HTML tag.


PARAGRAPH

public static final WDTextViewLayout PARAGRAPH
Renders the text view with a <p> HTML tag.

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 String toString()
Returns the string representation of this enumeration value.

Returns:
the string value of this enumeration value

valueOf

public static WDTextViewLayout 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 WDTextViewLayout valueOf(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 Iterator iterateValues()
Returns an iterator over the values of the WDTextViewLayout type.

Returns:
a read-only iterator over the values of this enumeration type


Copyright 2006 SAP AG Complete Copyright Notice