Package com.saperion.ngc.message
Class MessageViewImpl
java.lang.Object
com.saperion.ngc.message.MessageViewImpl
- All Implemented Interfaces:
MessageView,Serializable
Handler class for message popups in ZK.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidshowErrorMessage(String message) Shows an error message.voidshowErrorMessage(String message, org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event> customListener) Shows an error message.voidshowInfoMessage(String message) Shows an information message.voidshowInfoMessage(String message, org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event> customListener) Shows an information message.voidshowWarningMessage(String message) Shows a warning message.voidshowWarningMessage(String message, org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event> customListener) Shows a warning message.
-
Constructor Details
-
MessageViewImpl
public MessageViewImpl()Constructor.
-
-
Method Details
-
showErrorMessage
Shows an error message.- Specified by:
showErrorMessagein interfaceMessageView- Parameters:
message- message text
-
showInfoMessage
Shows an information message.- Specified by:
showInfoMessagein interfaceMessageView- Parameters:
message- message text
-
showWarningMessage
Shows a warning message.- Specified by:
showWarningMessagein interfaceMessageView- Parameters:
message- message text
-
showErrorMessage
public void showErrorMessage(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(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(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
-