public class ViewerController
extends org.carewebframework.ui.FrameworkController
| Modifier and Type | Class and Description |
|---|---|
static class |
ViewerController.Action |
protected static class |
ViewerController.ActionEvent |
| Constructor and Description |
|---|
ViewerController() |
| Modifier and Type | Method and Description |
|---|---|
protected static ViewerController |
create(org.zkoss.zk.ui.event.EventListener<ViewerController.ActionEvent> actionListener)
Create an amodal instance of the viewer dialog.
|
void |
doAfterCompose(org.zkoss.zk.ui.Component comp) |
protected void |
onAction(ViewerController.Action action)
Forward the action to the listener.
|
void |
onClick$btnCancel()
Cancel notification processing.
|
void |
onClick$btnDelete()
Delete the notification.
|
void |
onClick$btnDeleteAll()
Delete this and all remaining notifications.
|
void |
onClick$btnSkip()
Skip this notification.
|
void |
onClick$btnSkipAll()
Skip this and all remaining notifications.
|
void |
onClick$btnView()
Change context to patient associated with the notification.
|
void |
process(Notification notification,
String message)
Process a single notification.
|
void |
setNotificationService(NotificationService service)
Allows IOC container to inject notification service.
|
abortBackgroundThread, abortBackgroundThreads, cleanup, getAppContext, getAppFramework, getController, getEventManager, hasActiveThreads, refresh, removeThread, startBackgroundThread, threadAborted, threadFinishedalert, didActivate, getPage, willClone, willPassivatedoBeforeCompose, doBeforeComposeChildren, doCatch, doFinallyprotected static ViewerController create(org.zkoss.zk.ui.event.EventListener<ViewerController.ActionEvent> actionListener)
actionListener - Listener to respond to viewer action events.public void doAfterCompose(org.zkoss.zk.ui.Component comp)
throws Exception
doAfterCompose in interface org.zkoss.zk.ui.util.Composer<org.zkoss.zk.ui.Component>doAfterCompose in class org.carewebframework.ui.FrameworkControllerExceptionpublic void process(Notification notification, String message)
notification - Notification to display.message - Optional message text to display. If null, the message text associated with
the notification is displayed.public void setNotificationService(NotificationService service)
service - Notification service.public void onClick$btnDelete()
public void onClick$btnDeleteAll()
public void onClick$btnSkip()
public void onClick$btnSkipAll()
public void onClick$btnCancel()
public void onClick$btnView()
protected void onAction(ViewerController.Action action)
action - Action to forward.Copyright © 2014 Regenstrief Center for Biomedical Informatics. All rights reserved.