Web Dynpro API Documentation

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

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

public final class WDTextViewDesign
extends java.lang.Object

Enumeration type WDTextViewDesign. Defines the appearance of the text. The CSS controls how the different options get rendered. The following description is based on the standard CSS delivered..

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


Field Summary
static WDTextViewDesign EMPHASIZED
          Highlights the text and applies the standard font size.
static WDTextViewDesign HEADER1
          Highlights the text and applies the standard font size +4.
static WDTextViewDesign HEADER2
          Highlights the text and applies the standard font size +2.
static WDTextViewDesign HEADER3
          Highlights the text and applies the standard font size.
static WDTextViewDesign HEADER4
          Highlights the text and applies the standard font size -1 (small) -> (like the legend value, highlighted).
static WDTextViewDesign LABEL
          Displays the text using the standard font, a blank is inserted after the text.
static WDTextViewDesign LABEL_SMALL
          Displays the text using the standard font like the label value and the standard font size -1 like the font size for the header4 value.
static WDTextViewDesign LEGEND
          Displays the text using the standard font size -1.
static WDTextViewDesign MONOSPACE
          Displays the text using a non-proportional font size.
static WDTextViewDesign REFERENCE
          Displays the text in italics and applies the standard font size.
static WDTextViewDesign STANDARD
          Displays the text using the standard font size.
 
Method Summary
static java.util.Iterator iterateValues()
          Returns an iterator over the values of the WDTextViewDesign 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 WDTextViewDesign valueOf(int ordinal)
          Returns the enumeration value for the given ordinal.
static WDTextViewDesign 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

EMPHASIZED

public static final WDTextViewDesign EMPHASIZED
Highlights the text and applies the standard font size.

HEADER1

public static final WDTextViewDesign HEADER1
Highlights the text and applies the standard font size +4.

HEADER2

public static final WDTextViewDesign HEADER2
Highlights the text and applies the standard font size +2.

HEADER3

public static final WDTextViewDesign HEADER3
Highlights the text and applies the standard font size.

HEADER4

public static final WDTextViewDesign HEADER4
Highlights the text and applies the standard font size -1 (small) -> (like the legend value, highlighted).

LABEL

public static final WDTextViewDesign LABEL
Displays the text using the standard font, a blank is inserted after the text.

LABEL_SMALL

public static final WDTextViewDesign LABEL_SMALL
Displays the text using the standard font like the label value and the standard font size -1 like the font size for the header4 value.

LEGEND

public static final WDTextViewDesign LEGEND
Displays the text using the standard font size -1.

REFERENCE

public static final WDTextViewDesign REFERENCE
Displays the text in italics and applies the standard font size.

STANDARD

public static final WDTextViewDesign STANDARD
Displays the text using the standard font size. No text attributes are defined for this value.

MONOSPACE

public static final WDTextViewDesign MONOSPACE
Displays the text using a non-proportional font size. Each letter takes up the same space.
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 WDTextViewDesign 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 WDTextViewDesign 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 WDTextViewDesign 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