|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.sap.ui.core.client.ControlWidget
com.sap.ui.commons.client.MessageWidget
public class MessageWidget
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.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled |
| Field Summary |
|---|
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
DEBUG_ID_PREFIX |
| Constructor Summary | |
|---|---|
|
MessageWidget()
constructs the class MessageWidget |
protected |
MessageWidget(Message control)
constructs the class MessageWidget |
|
MessageWidget(String id)
constructs the class MessageWidget |
| Method Summary | |
|---|---|
String |
bindDetails()
Registers a callback function to be invoked if long text Details are to be made available. |
String |
getAssociatedElementId()
Getter for property associatedElementId
Associated UI element ID. |
Message |
getControl()
returns the reference to the Phoenix Control |
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. |
void |
setAssociatedElementId(String value)
Setter for property associatedElementId |
void |
setDesign(String value)
Setter for property design |
void |
setText(String value)
Setter for property text |
void |
setType(MessageType value)
Setter for property type |
| Methods inherited from class com.sap.ui.core.client.ControlWidget |
|---|
destroy, doAttachChildren, doDetachChildren, isDesignTime, wrap |
| Methods inherited from class com.google.gwt.user.client.ui.Widget |
|---|
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents |
| Methods inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEvents |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MessageWidget()
MessageWidget
public MessageWidget(String id)
MessageWidget
id - id of the MessageWidgetprotected MessageWidget(Message control)
MessageWidget
control - reference to an existing Message| Method Detail |
|---|
public Message getControl()
Control
getControl in class com.sap.ui.core.client.ControlWidgetControlpublic MessageType getType()
type
"Success", or "Warning", or "Error" messages. (Mandatory)
public void setType(MessageType value)
type
value - com.sap.ui.commons.client.MessageTypepublic String getText()
text
Message short text. (Mandatory)
public void setText(String value)
text
value - Stringpublic String getAssociatedElementId()
associatedElementId
Associated UI element ID. (Optional)
For navigation to error field.
public void setAssociatedElementId(String value)
associatedElementId
value - Stringpublic String getDesign()
design
Internal attribute, used to force the display of the "short" or the "long" text only.
public void setDesign(String value)
design
value - Stringpublic String bindDetails()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||