Class TopLevelWindow java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Frame
javax.swing.JFrame
icecube.testdaq.display.TopLevelWindow public class TopLevelWindow extends JFrame implements ActionListener, MouseListener TopLevelWindow is the main display window that all GUIs will use. Objects and menu items are added directly to it and displayed on the screen. Constructor Summary TopLevelWindow() Constructs a new TopLevelWindow with the default name and size. TopLevelWindow(String title) Creates a TopLevelWindow with the specified title. TopLevelWindow(String title, int length, int width) Creates a new window with the specified title and size. TopLevelWindow(Vector comps) Constructs a TopLevelWindow with the specified components. TopLevelWindow(String title, Vector comps) Creates a new window with the specified title and components. TopLevelWindow(Vector comps, Vector menus) Creates a TopLevelWindow with the specified components and menus. TopLevelWindow(String title, Vector comps, Vector menus) Constructs a new window with the specified title, components, and menus. TopLevelWindow(String title, int length, int width, Vector components) Constructs a TopLevelWindow with the specified title, size, and components. TopLevelWindow(String title, int length, int width, Vector components, Vector menus) Creates a TopLevelWindow with the specified title, size, components, and menus. Method Summary
|
public void |
addComponent(JComponent comp) Queues components to be added to the window. |
|
public void |
addMenu(JMenu menu) Queues menus to be added to the window's menubar. |
|
public void |
displayWindow() Displays the window and any added components or menus. |