Class VisibilityWindowAdapter

    • Constructor Detail

      • VisibilityWindowAdapter

        public VisibilityWindowAdapter()
    • Method Detail

      • hide

        public void hide​(WindowEvent event)
        Description copied from interface: VisibilityWindowListener
        This method is called when the window hosting a Browser is requested to be hidden. Application would typically hide the Shell that hosts the Browser.

        The following fields in the WindowEvent apply:

        • (in) widget the Browser that needs to be hidden
        Specified by:
        hide in interface VisibilityWindowListener
        Parameters:
        event - the WindowEvent that specifies the Browser that needs to be hidden
        See Also:
        Shell.setVisible(boolean)
      • show

        public void show​(WindowEvent event)
        Description copied from interface: VisibilityWindowListener
        This method is called when the window hosting a Browser is requested to be displayed. Application would typically set the location and the size of the Shell that hosts the Browser, if a particular location and size are specified. The application would then open that Shell.

        The following fields in the WindowEvent apply:

        • (in) widget the Browser to display
        • (in) location the requested location for the Shell hosting the browser. It is null if no location is set.
        • (in) size the requested size for the Browser. The client area of the Shell hosting the Browser should be large enough to accommodate that size. It is null if no size is set.
        • (in) addressBar true if the Shell hosting the Browser should display an address bar or false otherwise
        • (in) menuBar true if the Shell hosting the Browser should display a menu bar or false otherwise
        • (in) statusBar true if the Shell hosting the Browser should display a status bar or false otherwise
        • (in) toolBar true if the Shell hosting the Browser should display a tool bar or false otherwise
        Specified by:
        show in interface VisibilityWindowListener
        Parameters:
        event - the WindowEvent that specifies the Browser that needs to be displayed
        See Also:
        Control.setLocation(org.eclipse.swt.graphics.Point), Control.setSize(org.eclipse.swt.graphics.Point), Shell.open()