Class SwingGui

    • Constructor Detail

      • SwingGui

        public SwingGui​(Dim dim,
                        String title)
        Creates a new SwingGui.
    • Method Detail

      • getMenubar

        public org.mozilla.javascript.tools.debugger.Menubar getMenubar()
        Returns the Menubar of this debugger frame.
      • setExitAction

        public void setExitAction​(Runnable r)
        Sets the Runnable that will be run when the "Exit" menu item is chosen.
      • getConsole

        public org.mozilla.javascript.tools.debugger.JSInternalConsole getConsole()
        Returns the debugger console component.
      • setVisible

        public void setVisible​(boolean b)
        Sets the visibility of the debugger GUI.
        Overrides:
        setVisible in class Window
      • isGuiEventThread

        public boolean isGuiEventThread()
        Returns whether the current thread is the GUI event thread.
        Specified by:
        isGuiEventThread in interface GuiCallback
      • actionPerformed

        public void actionPerformed​(ActionEvent e)
        Performs an action from the menu or toolbar.