Class DefaultDesktop

    • Constructor Detail

      • DefaultDesktop

        public DefaultDesktop()
    • Method Detail

      • doCreatePart

        protected org.zkoss.zk.ui.Component doCreatePart​(org.zkoss.zk.ui.Component parent)
        Specified by:
        doCreatePart in class AbstractUIPart
      • updateSideControllerWidthPreference

        protected void updateSideControllerWidthPreference​(String width)
      • updateHelpWidthPreference

        protected void updateHelpWidthPreference​(String width)
      • setSidePopupWidth

        protected void setSidePopupWidth​(org.zkoss.zul.Popup popup)
      • onEvent

        public void onEvent​(org.zkoss.zk.ui.event.Event event)
        Specified by:
        onEvent in interface org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>
      • restoreHeader

        protected void restoreHeader()
      • collapseHeader

        protected void collapseHeader()
      • setPage

        public void setPage​(org.zkoss.zk.ui.Page page)
        Description copied from interface: IDesktop
        Attached to page
        Specified by:
        setPage in interface IDesktop
        Parameters:
        page -
      • getComponent

        public org.zkoss.zk.ui.Component getComponent()
        Get the root component
        Specified by:
        getComponent in interface IDesktop
        Specified by:
        getComponent in interface UIPart
        Returns:
        Component
      • logout

        public void logout()
        Description copied from interface: IDesktop
        User logout from desktop, do clean up
        Specified by:
        logout in interface IDesktop
      • updateUI

        public void updateUI()
      • bindEventManager

        public void bindEventManager()
      • unbindEventManager

        public void unbindEventManager()
      • handleEvent

        public void handleEvent​(org.osgi.service.event.Event event)
        Specified by:
        handleEvent in interface org.osgi.service.event.EventHandler
      • cleanup

        public void cleanup​(org.zkoss.zk.ui.Desktop desktop)
                     throws Exception
        Specified by:
        cleanup in interface org.zkoss.zk.ui.util.DesktopCleanup
        Throws:
        Exception