Class TabbedDesktop

All Implemented Interfaces:
IDesktop, ISupportMask, UIPart
Direct Known Subclasses:
DefaultDesktop

public abstract class TabbedDesktop extends AbstractDesktop
Abstract base class for Tabbed MDI implementation
Author:
hengsin
  • Field Details

    • windowContainer

      protected WindowContainer windowContainer
      Controller for open desktop windows.
  • Constructor Details

    • TabbedDesktop

      public TabbedDesktop()
      Default constructor
  • Method Details

    • openProcessDialog

      public ProcessDialog openProcessDialog(int processId, boolean soTrx)
      Description copied from interface: IDesktop
      Open process dialog in desktop
      Parameters:
      processId -
      soTrx -
      Returns:
      ProcessDialog
    • openForm

      public ADForm openForm(int formId)
      Description copied from interface: IDesktop
      Open AD form in desktop
      Parameters:
      formId -
      Returns:
      ADForm
    • openInfo

      public void openInfo(int infoId)
      Description copied from interface: IDesktop
      Open info window in desktop
      Parameters:
      infoId -
    • openWorkflow

      public void openWorkflow(int workflow_ID)
      Description copied from interface: IDesktop
      Open workflow window in desktop
      Parameters:
      workflow_ID -
    • openWindow

      public void openWindow(int windowId, Callback<ADWindow> callback)
      Description copied from interface: IDesktop
      Open AD window in desktop
      Parameters:
      windowId -
      callback -
    • openWindow

      public void openWindow(int windowId, MQuery query, Callback<ADWindow> callback)
      Description copied from interface: IDesktop
      Open AD window in desktop
      Parameters:
      windowId -
      query -
      callback -
    • openTask

      public void openTask(int taskId)
      Description copied from interface: IDesktop
      Open operating system task window
      Parameters:
      taskId -
    • showURL

      public void showURL(String url, boolean closeable)
      Description copied from interface: IDesktop
      Show URL in desktop window
      Parameters:
      url -
    • showURL

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

      public void showHTMLContent(String content, String title, boolean closeable)
      Description copied from interface: IDesktop
      Show HTML content in desktop window
      Parameters:
      content - HTML content
      title -
      closeable -
    • showZoomWindow

      public void showZoomWindow(int AD_Window_ID, MQuery query)
      Description copied from interface: IDesktop
      Zoom to AD window and show in desktop
      Parameters:
      AD_Window_ID -
      query -
    • showWindow

      public void showWindow(int AD_Window_ID, MQuery query)
      Deprecated.
      Parameters:
      AD_Window_ID -
      query -
    • showEmbedded

      protected void showEmbedded(Window window)
      Show window in new tab
      Specified by:
      showEmbedded in class AbstractDesktop
      Parameters:
      window -
    • closeActiveWindow

      public boolean closeActiveWindow()
      Close active tab
      Returns:
      boolean
    • getActiveWindow

      public org.zkoss.zk.ui.Component getActiveWindow()
      Get component of active tab
      Returns:
      Component
    • closeWindow

      public boolean closeWindow(int windowNo)
      Description copied from interface: IDesktop
      Close window via registered window no
      Parameters:
      windowNo -
      Returns:
      true if found and close
    • preOpenNewTab

      protected void preOpenNewTab()
      invoke before a new tab is added to the desktop
    • setTabTitle

      public void setTabTitle(String title, int windowNo)
      Description copied from interface: IDesktop
      Update tab title by windowNo
      Parameters:
      title -
      windowNo -