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)
      Parameters:
      processId -
      soTrx -
      Returns:
      ProcessDialog
    • openForm

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

      public void openInfo(int infoId)
      Parameters:
      infoId -
    • openWorkflow

      public void openWorkflow(int workflow_ID)
      Parameters:
      workflow_ID -
    • openWindow

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

      public void openWindow(int windowId, MQuery query, Callback<ADWindow> callback)
      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)
      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)
      Parameters:
      content - HTML content
      title -
      closeable -
    • showZoomWindow

      public void showZoomWindow(int AD_Window_ID, MQuery query)
      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()
      Description copied from interface: IDesktop
      get active window
      Returns:
      Component
    • closeWindow

      public boolean closeWindow(int windowNo)
      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 -