BioLegato 0.7.5 Core API

org.biolegato.menu
Class RunWindow

java.lang.Object
  extended by org.biolegato.menu.RunWindow
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener

public class RunWindow
extends java.lang.Object
implements java.awt.event.ActionListener

Author:
alvare

Field Summary
protected  java.util.List<CommandButton> buttons
          List of buttons for the window.
 javax.swing.AbstractAction CLOSE_ACTION
          Action for command buttons to close the window.
protected  javax.swing.JDialog runWindow
          The current window
protected  java.util.Map<java.lang.String,Widget> widgets
          List of widgets for the window.
 
Constructor Summary
RunWindow(java.lang.String name, java.util.List<CommandButton> buttons, java.util.Map<java.lang.String,Widget> widgets)
          Creates a new instance of RunWindow
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

runWindow

protected javax.swing.JDialog runWindow
The current window


buttons

protected java.util.List<CommandButton> buttons
List of buttons for the window.


widgets

protected java.util.Map<java.lang.String,Widget> widgets
List of widgets for the window.


CLOSE_ACTION

public final javax.swing.AbstractAction CLOSE_ACTION
Action for command buttons to close the window. A good example usage is closing the window when running a program

Constructor Detail

RunWindow

public RunWindow(java.lang.String name,
                 java.util.List<CommandButton> buttons,
                 java.util.Map<java.lang.String,Widget> widgets)
Creates a new instance of RunWindow

Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

BioLegato 0.7.5 Core API

Copyright © 2008-2011 University of Manitoba.