|
SAP NetWeaver 7.4 (SP03) Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<CMITextType>
com.sap.tc.cmi.texts.CMITextType
public enum CMITextType
Enumeration of the possible types of a UIText.
Note that the field documentation has been taken from the definition of the text types as provided by the SAP Translation group.
Type Classification:
This class is part of the Common Model Interface, so applications may reference it or call any method of this type, but they must not subclass it.
| Enum Constant Summary | |
|---|---|
BUTTON_TEXT
Text for a button object, for example a PUSHBUTTON control |
|
CAPTION
Indicates a caption, such as the caption of a dialog box |
|
COLUMN_LABEL
Heading of a table column. |
|
FIELD_LABEL
Indicates a label object. |
|
LIST_BOX_ENTRY
Text for a listbox object, for example in a LISTBOX control in Windows |
|
TAB_STRIP_HEADER
Text for graphical control element that resembles a card in a card index (Name of a Tab in a Tab Strip). |
|
TOOLTIP
Text which is shown when the mouse is moved over a control. |
|
| Field Summary | |
|---|---|
static CMITextType[] |
NO_TEXT_TYPES
|
| Method Summary | |
|---|---|
static CMITextType |
findByTranslationTextType(String translationTextType)
Searches for a CMITextType that matches the given name of translation text type. |
String |
getTranslationTextType()
Returns the name of the best matching technical text type as used by the transalation. |
static CMITextType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static CMITextType[] |
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 |
|---|
public static final CMITextType FIELD_LABEL
public static final CMITextType COLUMN_LABEL
public static final CMITextType TOOLTIP
public static final CMITextType CAPTION
public static final CMITextType BUTTON_TEXT
public static final CMITextType TAB_STRIP_HEADER
public static final CMITextType LIST_BOX_ENTRY
| Field Detail |
|---|
public static final CMITextType[] NO_TEXT_TYPES
| Method Detail |
|---|
public static CMITextType[] values()
for (CMITextType c : CMITextType.values()) System.out.println(c);
public static CMITextType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String getTranslationTextType()
public static CMITextType findByTranslationTextType(String translationTextType)
null is returned.
| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] FRAMEWORK
|
[sap.com] tc/cm/ejb/api
|
api
|
BC-JAS-EJB
|
[sap.com] FRAMEWORK
|
[sap.com] tc/cmi
|
default
|
BC-WD-JAV-RUN
|
|
SAP NetWeaver 7.4 (SP03) Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||