Package com.saperion.ngc.message
Class MessageViewImpl
- java.lang.Object
-
- com.saperion.ngc.message.MessageViewImpl
-
- All Implemented Interfaces:
MessageView,java.io.Serializable
public final class MessageViewImpl extends java.lang.Object implements MessageView
Handler class for message popups in ZK.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MessageViewImpl()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidshowErrorMessage(java.lang.String message)Shows an error message.voidshowErrorMessage(java.lang.String message, org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event> customListener)Shows an error message.voidshowInfoMessage(java.lang.String message)Shows an information message.voidshowInfoMessage(java.lang.String message, org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event> customListener)Shows an information message.voidshowWarningMessage(java.lang.String message)Shows a warning message.voidshowWarningMessage(java.lang.String message, org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event> customListener)Shows a warning message.
-
-
-
Method Detail
-
showErrorMessage
public void showErrorMessage(java.lang.String message)
Shows an error message.- Specified by:
showErrorMessagein interfaceMessageView- Parameters:
message- message text
-
showInfoMessage
public void showInfoMessage(java.lang.String message)
Shows an information message.- Specified by:
showInfoMessagein interfaceMessageView- Parameters:
message- message text
-
showWarningMessage
public void showWarningMessage(java.lang.String message)
Shows a warning message.- Specified by:
showWarningMessagein interfaceMessageView- Parameters:
message- message text
-
showErrorMessage
public void showErrorMessage(java.lang.String message, org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event> customListener)Shows an error message.- Specified by:
showErrorMessagein interfaceMessageView- Parameters:
message- message textcustomListener- listener to notify when the messagebox is closed
-
showInfoMessage
public void showInfoMessage(java.lang.String message, org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event> customListener)Shows an information message.- Specified by:
showInfoMessagein interfaceMessageView- Parameters:
message- message textcustomListener- listener to notify when the messagebox is closed
-
showWarningMessage
public void showWarningMessage(java.lang.String message, org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event> customListener)Shows a warning message.- Specified by:
showWarningMessagein interfaceMessageView- Parameters:
message- message textcustomListener- listener to notify when the messagebox is closed
-
-