|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.core.client.JavaScriptObject
com.sap.ui.core.client.Element
com.sap.ui.core.client.Control
com.sap.ui.commons.client.Message
public class Message
The class Message is the GWT wrapper
for the Phoenix control: sap.ui.commons.Message.
Creates the "Message"s to be supplied to the "MessageBar" Control.
| Constructor Summary | |
|---|---|
protected |
Message()
constructs the class Messagehidden due to JavaScriptObject restriction |
| Method Summary | |
|---|---|
String |
bindDetails()
Registers a callback function to be invoked if long text Details are to be made available. |
static Message |
create()
creates a new instance of the class Message |
static Message |
create(String idOrConfig)
creates a new instance of the class Message |
static Message |
create(String id,
String config)
creates a new instance of the class Message |
String |
getAssociatedElementId()
Getter for property associatedElementId
Associated UI element ID. |
String |
getDesign()
Getter for property design
Internal attribute, used to force the display of the "short" or the "long" text only. |
String |
getText()
Getter for property text
Message short text. |
MessageType |
getType()
Getter for property type
"Success", or "Warning", or "Error" messages. |
Message |
setAssociatedElementId(String value)
Setter for property associatedElementId |
Message |
setDesign(String value)
Setter for property design |
Message |
setText(String value)
Setter for property text |
Message |
setType(MessageType value)
Setter for property type |
| Methods inherited from class com.sap.ui.core.client.Control |
|---|
addStyleClass, hasStyleClass, invalidate, placeAt, placeAt, removeStyleClass, rerender |
| Methods inherited from class com.sap.ui.core.client.Element |
|---|
_convertArray, _convertArray, _convertArray, _convertArray, _convertArray, attachBrowserEvent, attachEvent, bindAggregation, bindContext, bindProperty, bindProperty, destroy, detachBrowserEvent, detachEvent, getDomRef, getElementName, getId, getLibraryName, getModel, getParent, getProperty, getTooltip_AsString, getTooltip_Text, getTooltip, isActive, setModel, setProperty, setTooltip, setTooltip, unbindAggregation, unbindContext, unbindProperty |
| Methods inherited from class com.google.gwt.core.client.JavaScriptObject |
|---|
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected Message()
MessageJavaScriptObject restriction
| Method Detail |
|---|
public static Message create()
Message
public static Message create(String idOrConfig)
Message
id - id of the Message or configuration JSON string
public static Message create(String id,
String config)
Message
id - id of the Messageconfig - configuration JSON stringpublic final MessageType getType()
type
"Success", or "Warning", or "Error" messages. (Mandatory)
public final Message setType(MessageType value)
type
value - com.sap.ui.commons.client.MessageType
this to allow method chainingpublic final String getText()
text
Message short text. (Mandatory)
public final Message setText(String value)
text
value - String
this to allow method chainingpublic final String getAssociatedElementId()
associatedElementId
Associated UI element ID. (Optional)
For navigation to error field.
public final Message setAssociatedElementId(String value)
associatedElementId
value - String
this to allow method chainingpublic final String getDesign()
design
Internal attribute, used to force the display of the "short" or the "long" text only.
public final Message setDesign(String value)
design
value - String
this to allow method chainingpublic final String bindDetails()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||