WindowXM
vmm3d.xm3d

Class WindowXM

    • Constructor Detail

      • WindowXM

        public WindowXM()
        Creates a WindowXM with no "parent" window. This method is used in 3D-XPlorMath to make the first WindowXM of the program.
      • WindowXM

        public WindowXM(WindowXM parent)
        Creates a WindowXM.
        Parameters:
        parent - if non-null, then the location of the new window is based on the location of its "parent." (Also, any options for the menu bar are copied from the parent.) This parameter is not otherwise used.
      • WindowXM

        public WindowXM(int menuOptionFlags)
        Creates a window whose menu bar has the specified set of options. Introduced for use with MainForWebStart.
        Parameters:
        menuOptionFlags - option flags to be used in construction of the menu bar for this window
      • WindowXM

        public WindowXM(LauncherApplet launcher,        int menuOptionFlags)
        Used by LauncherApplet to create a window when the user clicks the button on the applet.
        Parameters:
        launcher - The LauncherApplet that is creating this window
        menuOptionFlags - option flags to be used in construction of the menu bar for this window
    • Method Detail

      • getDisplay

        public DisplayXM getDisplay()
        Returns that Display that is shown in this window. Every WindowXM has one associated display.
      • getView

        public View getView()
        Returns the View currently associated with this window's display, or null if there is no current view. This is a convenience method that does the same thing as getDisplay().getView();
      • getExhibit

        public Exhibit getExhibit()
        Returns the Exhibit currently associated with this window's display, or null if there is no current exhibit. This is a convenience method that does the same thing as getDisplay().getExhibit();
      • getMenus

        public Menus getMenus()
        This package-visible method returns the menu bar for this window. This method is used in Menus.
      • showHTMLDocWindow

        public static void showHTMLDocWindow(String resourceFileName)
        There is single HTMLDocWindow associated with all WindowXM windows. (It is a private static variable in the WinodwXM class.) This method will show show the HTMLDocWindow, if it is not already visible, with its contents set to a specified file.
        Parameters:
        resourceFileName - the file to be displayed, or null to show the window without changing its contents. This is a resouces name, so the file should be somewhere in the path that is searched by the class loader.
      • showHTMLDocWindow

        public static void showHTMLDocWindow(URL resourceURL)
        There is single HTMLDocWindow associated with all WindowXM windows. (It is a private static variable in the WinodwXM class.) This method will show show the HTMLDocWindow, if it is not already visible, with its contents set to the Web page at a specified URL.
        Parameters:
        resourceURL - the non-null URL of the page that is to be displayed to be displayed,

SCaVis 1.8 © jWork.org