public class IlxWMessageList extends IlxWComponent
The message list manages an internal list of simple messages and an internal list of alert messages. When displayed on the web browser, the message list displays an HTML table with the list of simple messages and pops up a message box for each alert message. Once displayed, the alert message internal list is cleared.
IlxWComponent.DynamicStyleMaplistenerList| Constructor and Description |
|---|
IlxWMessageList() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAlert(java.lang.String message)
Adds an alert message to the existing list.
|
void |
addMessage(java.lang.String text)
Adds a text message to the component.
|
void |
clear()
Clear the message list.
|
protected void |
printComponent(IlxWPort port)
Prints the HTML code that will display the graphical
representation of this component.
|
addPropertyChangeListener, addPropertyChangeListener, detach, doPrint, firePropertyChange, firePropertyChange, getName, getRealHtmlTagName, getStyle, invalidate, isInvalidated, notifyDependencies, print, removePropertyChangeListener, removePropertyChangeListener, setName, validateadd, add, getAttribute, getAttributeNames, getComponent, getComponentCount, getComponentNamed, getComponents, getManager, getParent, getUserAgentRules, indexOf, isAncestorOf, remove, remove, removeAll, removeAttribute, setAttribute, setAuthorRules, setFinalizerprotected void printComponent(IlxWPort port) throws java.io.IOException
IlxWComponentIlxWComponent.print(ilog.webui.dhtml.IlxWPort) method.printComponent in class IlxWComponentjava.io.IOExceptionport - The port on which the component will be printed.IlxWComponent.print(ilog.webui.dhtml.IlxWPort)public void clear()
public void addMessage(java.lang.String text)
text - The message to add.public void addAlert(java.lang.String message)
message - The message to add.© Copyright IBM Corp. 1987, 2017