|
SAP NetWeaver 7.11 (EhP1 SP02) 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.
| 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're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, 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 final 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 namepublic String getTranslationTextType()
public static CMITextType findByTranslationTextType(String translationTextType)
null is returned.
|
SAP NetWeaver 7.11 (EhP1 SP02) Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||