public class MainController
extends org.carewebframework.ui.sharedforms.CaptionedForm
implements org.carewebframework.cal.api.context.PatientContext.IPatientContextEvent
| Modifier and Type | Field and Description |
|---|---|
static String |
ICON_ACTIONABLE |
static String |
ICON_INDICATOR |
static String |
ICON_INFO |
static String |
ICON_PRIORITY |
static String |
ICON_TYPE |
| Constructor and Description |
|---|
MainController() |
| Modifier and Type | Method and Description |
|---|---|
void |
canceled() |
void |
cleanup() |
void |
committed()
Update display when patient context changes.
|
void |
doBeforeComposeChildren(org.zkoss.zk.ui.Component comp)
Expose icon urls for auto-wiring.
|
int |
getAlertDuration()
Returns the duration, in seconds, of any slide-down message alert.
|
String |
getAlertThreshold()
Returns the alert threshold as a string value.
|
boolean |
getShowAll()
Returns show all setting.
|
protected void |
highlightNotification(Notification notification)
Places the highlight indicator next to the specified notification.
|
void |
init()
Set up display.
|
void |
onCheck$radAll()
Refresh the display when the filter changes.
|
void |
onCheck$radPatient()
Refresh the display when the filter changes.
|
void |
onClick$btnAll()
Process all notifications.
|
void |
onClick$btnDelete()
Delete selected notifications.
|
void |
onClick$btnForward()
Forward selected notifications.
|
void |
onClick$btnInfoAll()
Process all information-only notifications.
|
void |
onClick$btnRefresh()
Refresh the display.
|
void |
onClick$btnSchedule()
Invoke the scheduled notification management dialog.
|
void |
onClick$btnSelected()
Process selected notifications.
|
void |
onProcessItem$lstNotification(org.zkoss.zk.ui.event.Event event)
Process a double-clicked notification.
|
void |
onSelect$lstNotification()
Update controls when the selection changes.
|
String |
pending(boolean silent)
Conditionally suppress patient context changes.
|
void |
refresh()
Refresh the display.
|
void |
setAlertDuration(int alertDuration)
Sets the duration, in seconds, of any slide-down message alert.
|
void |
setAlertThreshold(String value)
Sets the alert threshold as a string value.
|
void |
setNotificationService(NotificationService service)
Allows IOC container to inject notification service.
|
void |
setProcessing(boolean isProcessing) |
void |
setShowAll(boolean value)
Sets the show all setting.
|
getCaption, getCaptionStyle, getColor1, getColor2, getIcon, setCaption, setCaptionStyle, setColor1, setColor2, setIconattachController, doAfterCompose, getContainer, isActive, onActivate, onInactivate, onUnload, removeThread, showBusyabortBackgroundThread, abortBackgroundThreads, getAppContext, getAppFramework, getController, getEventManager, hasActiveThreads, startBackgroundThread, threadAborted, threadFinishedalert, didActivate, getPage, willClone, willPassivatedoBeforeCompose, doCatch, doFinallypublic static final String ICON_INFO
public static final String ICON_ACTIONABLE
public static final String ICON_TYPE
public static final String ICON_PRIORITY
public static final String ICON_INDICATOR
public void doBeforeComposeChildren(org.zkoss.zk.ui.Component comp)
throws Exception
doBeforeComposeChildren in interface org.zkoss.zk.ui.util.ComposerExt<org.zkoss.zk.ui.Component>doBeforeComposeChildren in class org.zkoss.zk.ui.util.GenericComposer<org.zkoss.zk.ui.Component>Exceptionpublic void init()
init in class org.carewebframework.ui.sharedforms.CaptionedFormpublic void cleanup()
cleanup in class org.carewebframework.ui.FrameworkControllerpublic void refresh()
refresh in class org.carewebframework.ui.FrameworkControllerprotected void highlightNotification(Notification notification)
notification - Notification to highlight.public void onSelect$lstNotification()
public void onClick$btnRefresh()
public void onClick$btnDelete()
public void onCheck$radAll()
public void onCheck$radPatient()
public void onClick$btnSchedule()
public void onClick$btnAll()
public void onClick$btnInfoAll()
public void onClick$btnSelected()
public void onProcessItem$lstNotification(org.zkoss.zk.ui.event.Event event)
event - The process item event.public void onClick$btnForward()
public String pending(boolean silent)
pending in interface org.carewebframework.api.context.IContextEventpublic void committed()
committed in interface org.carewebframework.api.context.IContextEventpublic void canceled()
canceled in interface org.carewebframework.api.context.IContextEventpublic void setNotificationService(NotificationService service)
service - Notification service.public boolean getShowAll()
public void setShowAll(boolean value)
value - The show all setting.public String getAlertThreshold()
public void setAlertThreshold(String value)
value - The alert threshold.public int getAlertDuration()
public void setAlertDuration(int alertDuration)
alertDuration - Alert duration in seconds.public void setProcessing(boolean isProcessing)
Copyright © 2014 Regenstrief Center for Biomedical Informatics. All rights reserved.