com.sap.ui.commons.client
Class MessageListWidget

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.sap.ui.core.client.ControlWidget
              extended by com.sap.ui.commons.client.MessageListWidget
All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.IsWidget

public class MessageListWidget
extends com.sap.ui.core.client.ControlWidget

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".

Version:
0.18.0-SNAPSHOT
Author:
GENERATOR (JavaScript 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
  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 maxListed
Default 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 visible
Default 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

MessageListWidget

public MessageListWidget()
constructs the class MessageListWidget


MessageListWidget

public MessageListWidget(String id)
constructs the class MessageListWidget

Parameters:
id - id of the MessageListWidget

MessageListWidget

protected MessageListWidget(MessageList control)
constructs the class MessageListWidget

Parameters:
control - reference to an existing MessageList
Method Detail

getControl

public MessageList getControl()
returns the reference to the Phoenix Control

Overrides:
getControl in class com.sap.ui.core.client.ControlWidget
Returns:
reference to the Phoenix Control

isVisible

public boolean isVisible()
Getter for property visible To open or close the Control.

Overrides:
isVisible in class com.google.gwt.user.client.ui.UIObject
Returns:
the value of property visible

setVisible

public void setVisible(boolean value)
Setter for property visible
Default value is: false

Overrides:
setVisible in class com.google.gwt.user.client.ui.UIObject
Parameters:
value - boolean

getAnchorId

public String getAnchorId()
Getter for property anchorId Id of the anchor under which the MessageList is to render.

Returns:
the value of property anchorId

setAnchorId

public void setAnchorId(String value)
Setter for property anchorId

Parameters:
value - String

getMaxListed

public String getMaxListed()
Getter for property maxListed Maximum number of messages being display in the List before a scrollbar appears. Value '0' means no limit.

Returns:
the value of property maxListed

setMaxListed

public void setMaxListed(String value)
Setter for property maxListed
Default value is: 7

Parameters:
value - String

setMessages

public void setMessages(com.sap.ui.core.client.js.JsArray<Message> messages)
Sets the message list to be displayed.

Parameters:
messages - Message list.


Copyright © 2011 SAP. All Rights Reserved.