Web Dynpro API Documentation

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

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

public final class WDTextViewSemanticColor
extends java.lang.Object

Enumeration type WDTextViewSemanticColor. Sets the semantic color in a TextView control.

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


Field Summary
static WDTextViewSemanticColor CRITICAL
          TextView color representing critical state, e.g.
static WDTextViewSemanticColor DIMINISHED
          TextView color representing diminished state.
static WDTextViewSemanticColor MARKED1
          TextView color representing a first marked state.
static WDTextViewSemanticColor MARKED2
          TextView color representing a second marked state.
static WDTextViewSemanticColor NEGATIVE
          TextView color representing negative state, e.g.
static WDTextViewSemanticColor POSITIVE
          TextView color representing positive state, e.g.
static WDTextViewSemanticColor STANDARD
          TextView color representing standard color.
 
Method Summary
static java.util.Iterator iterateValues()
          Returns an iterator over the values of the WDTextViewSemanticColor 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 WDTextViewSemanticColor valueOf(int ordinal)
          Returns the enumeration value for the given ordinal.
static WDTextViewSemanticColor 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

STANDARD

public static final WDTextViewSemanticColor STANDARD
TextView color representing standard color.

DIMINISHED

public static final WDTextViewSemanticColor DIMINISHED
TextView color representing diminished state.

POSITIVE

public static final WDTextViewSemanticColor POSITIVE
TextView color representing positive state, e.g. green.

CRITICAL

public static final WDTextViewSemanticColor CRITICAL
TextView color representing critical state, e.g. orange.

NEGATIVE

public static final WDTextViewSemanticColor NEGATIVE
TextView color representing negative state, e.g. red.

MARKED1

public static final WDTextViewSemanticColor MARKED1
TextView color representing a first marked state.

MARKED2

public static final WDTextViewSemanticColor MARKED2
TextView color representing a second marked state.
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 WDTextViewSemanticColor 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 WDTextViewSemanticColor 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 WDTextViewSemanticColor 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