Interface IDesktop

    • Method Detail

      • getClientInfo

        ClientInfo getClientInfo()
        Returns:
        ClientInfo
      • onMenuSelected

        void onMenuSelected​(int nodeId)
        Parameters:
        nodeId -
      • registerWindow

        int registerWindow​(Object window)
        Parameters:
        window -
        Returns:
        windowNo
      • findWindow

        Object findWindow​(int WindowNo)
        Parameters:
        WindowNo -
        Returns:
        Object
      • closeActiveWindow

        boolean closeActiveWindow()
        close active window
        Returns:
        boolean
      • getActiveWindow

        org.zkoss.zk.ui.Component getActiveWindow()
        get active window
        Returns:
        Component
      • closeWindow

        boolean closeWindow​(int windowNo)
        Parameters:
        windowNo -
        Returns:
        boolean
      • showURL

        void showURL​(String url,
                     boolean closeable)
        Parameters:
        url -
        closeable -
      • showHTMLContent

        void showHTMLContent​(String content,
                             String title,
                             boolean closeable)
        Parameters:
        content -
        title -
        closeable -
      • showWindow

        void showWindow​(Window win)
        Parameters:
        win -
      • showWindow

        void showWindow​(Window win,
                        String position)
        Parameters:
        win -
        position -
      • showZoomWindow

        void showZoomWindow​(int window_ID,
                            MQuery query)
        Parameters:
        window_ID -
        query -
      • showWindow

        void showWindow​(int window_ID,
                        MQuery query)
        Deprecated.
        Parameters:
        window_ID -
        query -
      • unregisterWindow

        void unregisterWindow​(int windowNo)
        Parameters:
        windowNo -
      • openProcessDialog

        ProcessDialog openProcessDialog​(int processId,
                                        boolean soTrx)
        Parameters:
        processId -
        soTrx -
        Returns:
        ProcessDialog
      • openForm

        ADForm openForm​(int formId)
        Parameters:
        formId -
        Returns:
        ADWindow
      • openInfo

        void openInfo​(int infoId)
        Parameters:
        infoId -
      • openWindow

        void openWindow​(int windowId,
                        Callback<ADWindow> callback)
        Parameters:
        windowId -
        callback -
      • openWindow

        void openWindow​(int windowId,
                        MQuery query,
                        Callback<ADWindow> callback)
        Parameters:
        windowId -
        query -
        callback -
      • openTask

        void openTask​(int task_ID)
        Open operating system task window
        Parameters:
        task_ID -
      • openWorkflow

        void openWorkflow​(int workflow_ID)
        Parameters:
        workflow_ID -
      • getComponent

        org.zkoss.zk.ui.Component getComponent()
        Get the root component of the desktop
        Specified by:
        getComponent in interface UIPart
        Returns:
        Component
      • setPage

        void setPage​(org.zkoss.zk.ui.Page page)
        Attached to page
        Parameters:
        page -
      • setClientInfo

        void setClientInfo​(ClientInfo clientInfo)
        Parameters:
        clientInfo -
      • logout

        void logout()
        User logout from desktop, do clean up
      • updateHelpContext

        void updateHelpContext​(String ctxType,
                               int recordId)
      • updateHelpTooltip

        void updateHelpTooltip​(GridField gridField)
      • updateHelpQuickInfo

        void updateHelpQuickInfo​(GridTab gridTab)
      • isPendingWindow

        boolean isPendingWindow()
      • setTabTitle

        void setTabTitle​(String title,
                         int windowNo)
      • renderHomeTab

        void renderHomeTab()