Class AbstractDesktop

    • Constructor Detail

      • AbstractDesktop

        public AbstractDesktop()
    • Method Detail

      • onMenuSelected

        public void onMenuSelected​(int menuId)
        Event listener for menu item selection. Identifies the action associated with the selected menu item and acts accordingly.
        Specified by:
        onMenuSelected in interface IDesktop
        Parameters:
        menuId - Identifier for the selected menu item
        Throws:
        ApplicationException - If the selected menu action has yet to be implemented
      • registerWindow

        public int registerWindow​(Object win)
        Specified by:
        registerWindow in interface IDesktop
        Parameters:
        win -
        Returns:
        windowNo
      • unregisterWindow

        public void unregisterWindow​(int WindowNo)
        Specified by:
        unregisterWindow in interface IDesktop
        Parameters:
        WindowNo -
      • findWindow

        public Object findWindow​(int WindowNo)
        Specified by:
        findWindow in interface IDesktop
        Parameters:
        WindowNo -
        Returns:
        Object
      • showWindow

        public void showWindow​(Window win)
        Specified by:
        showWindow in interface IDesktop
        Parameters:
        win -
      • showEmbedded

        protected abstract void showEmbedded​(Window win)
      • showModal

        protected void showModal​(Window win)
        Parameters:
        win -
      • showPopup

        protected void showPopup​(Window win,
                                 String position)
        Parameters:
        win -
        position -
      • showOverlapped

        protected void showOverlapped​(Window win,
                                      String position)
        Parameters:
        win -
        position -
      • showHighlighted

        protected void showHighlighted​(Window win,
                                       String position)
        Parameters:
        win -
        position -
      • getWindows

        protected List<Object> getWindows()
      • setPredefinedContextVariables

        public void setPredefinedContextVariables​(String predefinedVariables)
      • getPredefinedContextVariables

        protected String getPredefinedContextVariables()
      • setMenuIsSOTrx

        public void setMenuIsSOTrx​(boolean isSOTrx)
      • isMenuSOTrx

        protected boolean isMenuSOTrx()