HTMLDocWindow
vmm3d.xm3d

Class HTMLDocWindow

    • Constructor Detail

      • HTMLDocWindow

        public HTMLDocWindow()
        Creates an initially invisible window.
      • HTMLDocWindow

        public HTMLDocWindow(String initialFile)
        Creates a window showing the specified initial file, and shows the window. Note that the file name is treated as a resource name that is located using the getResource() method of the class loader.
      • HTMLDocWindow

        public HTMLDocWindow(URL initialURL)
        Creates a window showing the specified intiial URL, and shows the window.
    • Method Detail

      • showURL

        public void showURL(URL url)
        Set the contents of the window to a specified URL. If an error occurs while trying to load the url, an error message is shown in the window.
      • showFile

        public void showFile(String file)
        Set the content of the window to the specified file. Note that the file name is treated as a resource name that is located using the getResource() method of the class loader.
        Parameters:
        file - the name of the resource file whose contenxt are to appear in the window.

SCaVis 2.0 © jWork.ORG