|
||||||||||
| 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.MessageList
public class MessageList
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".
| Constructor Summary | |
|---|---|
protected |
MessageList()
constructs the class MessageListhidden due to JavaScriptObject restriction |
| Method Summary | |
|---|---|
static MessageList |
create()
creates a new instance of the class MessageList |
static MessageList |
create(String idOrConfig)
creates a new instance of the class MessageList |
static MessageList |
create(String id,
String config)
creates a new instance of the class MessageList |
String |
getAnchorId()
Getter for property anchorId
Id of the anchor under which the MessageList is to render. |
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. |
MessageList |
setAnchorId(String value)
Setter for property anchorId |
MessageList |
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. |
MessageList |
setVisible(boolean value)
Setter for property visibleDefault value is: false |
| 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 MessageList()
MessageListJavaScriptObject restriction
| Method Detail |
|---|
public static MessageList create()
MessageList
public static MessageList create(String idOrConfig)
MessageList
id - id of the MessageList or configuration JSON string
public static MessageList create(String id,
String config)
MessageList
id - id of the MessageListconfig - configuration JSON stringpublic final boolean isVisible()
visible
To open or close the Control.
public final MessageList setVisible(boolean value)
visiblefalse
value - boolean
this to allow method chainingpublic final String getAnchorId()
anchorId
Id of the anchor under which the MessageList is to render.
public final MessageList setAnchorId(String value)
anchorId
value - String
this to allow method chainingpublic final String getMaxListed()
maxListed
Maximum number of messages being display in the List before a scrollbar appears. Value '0' means no limit.
public final MessageList setMaxListed(String value)
maxListed7
value - String
this to allow method chainingpublic final 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 | |||||||||