Package org.adempiere.webui.desktop
Class DashboardController
- java.lang.Object
-
- org.adempiere.webui.desktop.DashboardController
-
- All Implemented Interfaces:
org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>
public class DashboardController extends Object implements org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>
- Author:
- hengsin
-
-
Constructor Summary
Constructors Constructor Description DashboardController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addDashboardPanel(DashboardPanel dashboardPanel)
org.zkoss.util.media.AMedia
generateReport(int AD_Process_ID, String parameters)
void
onEvent(org.zkoss.zk.ui.event.Event event)
void
onLogOut()
clean up for logoutvoid
onSetPage(org.zkoss.zk.ui.Page page, org.zkoss.zk.ui.Desktop desktop)
protected void
openReportInViewer(int AD_Process_ID, String parameters)
void
render(org.zkoss.zk.ui.Component parent, IDesktop desktopImpl, boolean isShowInDashboard)
protected void
render(org.zkoss.zk.ui.Component parent, IDesktop desktopImpl, boolean isShowInDashboard, boolean update)
boolean
render(org.zkoss.zk.ui.Component content, MDashboardContent dc, DashboardRunnable dashboardRunnable)
void
updateLayout(ClientInfo clientInfo)
-
-
-
Method Detail
-
render
public void render(org.zkoss.zk.ui.Component parent, IDesktop desktopImpl, boolean isShowInDashboard)
-
render
protected void render(org.zkoss.zk.ui.Component parent, IDesktop desktopImpl, boolean isShowInDashboard, boolean update)
-
render
public boolean render(org.zkoss.zk.ui.Component content, MDashboardContent dc, DashboardRunnable dashboardRunnable) throws Exception
- Throws:
Exception
-
onEvent
public void onEvent(org.zkoss.zk.ui.event.Event event) throws Exception
- Specified by:
onEvent
in interfaceorg.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>
- Throws:
Exception
-
onSetPage
public void onSetPage(org.zkoss.zk.ui.Page page, org.zkoss.zk.ui.Desktop desktop)
- Parameters:
page
-desktop
-
-
onLogOut
public void onLogOut()
clean up for logout
-
addDashboardPanel
public void addDashboardPanel(DashboardPanel dashboardPanel)
-
generateReport
public org.zkoss.util.media.AMedia generateReport(int AD_Process_ID, String parameters) throws Exception
- Throws:
Exception
-
openReportInViewer
protected void openReportInViewer(int AD_Process_ID, String parameters)
-
updateLayout
public void updateLayout(ClientInfo clientInfo)
-
-