|
||||||||||
| 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.MessageListWidget
public class MessageListWidget
The class MessageList is the GWT wrapper
for the Phoenix control: sap.ui.commons.MessageList.
Instantiated by the "MessageBar" Control if the user ever requests to generate the corresponding "MessageList".
| 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 | |
|---|---|
|
MessageListWidget()
constructs the class MessageListWidget |
protected |
MessageListWidget(MessageList control)
constructs the class MessageListWidget |
|
MessageListWidget(String id)
constructs the class MessageListWidget |
| Method Summary | |
|---|---|
String |
getAnchorId()
Getter for property anchorId
Id of the anchor under which the MessageList is to render. |
MessageList |
getControl()
returns the reference to the Phoenix Control |
String |
getMaxListed()
Getter for property maxListed
Maximum number of messages being display in the List before a scrollbar appears. |
boolean |
isVisible()
Getter for property visible
To open or close the Control. |
void |
setAnchorId(String value)
Setter for property anchorId |
void |
setMaxListed(String value)
Setter for property maxListedDefault value is: 7 |
void |
setMessages(com.sap.ui.core.client.js.JsArray<Message> messages)
Sets the message list to be displayed. |
void |
setVisible(boolean value)
Setter for property visibleDefault value is: false |
| 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, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, 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 MessageListWidget()
MessageListWidget
public MessageListWidget(String id)
MessageListWidget
id - id of the MessageListWidgetprotected MessageListWidget(MessageList control)
MessageListWidget
control - reference to an existing MessageList| Method Detail |
|---|
public MessageList getControl()
Control
getControl in class com.sap.ui.core.client.ControlWidgetControlpublic boolean isVisible()
visible
To open or close the Control.
isVisible in class com.google.gwt.user.client.ui.UIObjectpublic void setVisible(boolean value)
visiblefalse
setVisible in class com.google.gwt.user.client.ui.UIObjectvalue - booleanpublic String getAnchorId()
anchorId
Id of the anchor under which the MessageList is to render.
public void setAnchorId(String value)
anchorId
value - Stringpublic String getMaxListed()
maxListed
Maximum number of messages being display in the List before a scrollbar appears. Value '0' means no limit.
public void setMaxListed(String value)
maxListed7
value - Stringpublic void setMessages(com.sap.ui.core.client.js.JsArray<Message> messages)
messages - Message list.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||