public class RunWindow extends java.lang.Object implements java.awt.event.ActionListener, CloseableWindow
Modifier and Type | Field and Description |
---|---|
protected javax.swing.JDialog |
runWindow
The current window
|
protected java.util.Map<java.lang.String,Widget> |
widgets
List of widgets for the window.
|
Constructor and Description |
---|
RunWindow(java.lang.String name,
java.util.Map<java.lang.String,Widget> widgets,
javax.swing.JFrame mainWindow,
java.awt.Image icon)
Creates a new instance of RunWindow
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Displays the command parameter window.
|
void |
close()
Action for command buttons to close the window.
|
java.awt.Component |
getJFrame()
This method returns a Component object, such as
a JFrame or JDialog object, which can be used as
a parent window object for modal child windows.
|
protected javax.swing.JDialog runWindow
protected java.util.Map<java.lang.String,Widget> widgets
public RunWindow(java.lang.String name, java.util.Map<java.lang.String,Widget> widgets, javax.swing.JFrame mainWindow, java.awt.Image icon)
name
- the name to display in the window's title barwidgets
- the list of variable widgets to associate with the windowpublic void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
e
- is currently ignored by this function.public void close()
close
in interface CloseableWindow
public java.awt.Component getJFrame()
getJFrame
in interface CloseableWindow
Copyright © 2008-2022 University of Manitoba.