cct.grid.ui
Class JobStatusDialog

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by java.awt.Window
              extended by java.awt.Dialog
                  extended by javax.swing.JDialog
                      extended by cct.grid.ui.JobStatusDialog
All Implemented Interfaces:
java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible, javax.swing.RootPaneContainer, javax.swing.WindowConstants

public class JobStatusDialog
extends javax.swing.JDialog

Title: Molecular Structure Viewer/Editor

Description: Computational Chemistry Toolkit

Copyright: Copyright (c) 2006

Company: ANU

See Also:
Serialized Form

Nested Class Summary
(package private)  class JobStatusDialog.Task
          Title: Molecular Structure Viewer/Editor
 
Nested classes/interfaces inherited from class javax.swing.JDialog
javax.swing.JDialog.AccessibleJDialog
 
Nested classes/interfaces inherited from class java.awt.Dialog
java.awt.Dialog.AccessibleAWTDialog
 
Nested classes/interfaces inherited from class java.awt.Window
java.awt.Window.AccessibleAWTWindow
 
Nested classes/interfaces inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes/interfaces inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
(package private)  java.awt.BorderLayout borderLayout1
           
(package private)  javax.swing.JButton downloadButton
           
(package private)  javax.swing.JButton HelpButton
           
(package private)  javax.swing.JButton hideButton
           
(package private)  JobStatusInterface jobStatusInterface
           
(package private)  JobStatusPanel jobStatusPanel1
           
(package private)  javax.swing.JPanel jPanel1
           
static int JSD_DOWNLOAD_JOBS
           
static int JSD_KILL_JOBS
           
static int JSD_NO_TASK
           
static int JSD_QUERY_STATUS
           
(package private)  javax.swing.JButton killButton
           
(package private)  javax.swing.JPanel mainPanel
           
(package private)  boolean queryIsDone
           
(package private)  javax.swing.JButton removeButton
           
(package private)  int taskType
           
(package private)  javax.swing.JButton updateButton
           
 
Fields inherited from class javax.swing.JDialog
accessibleContext, rootPane, rootPaneCheckingEnabled
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface javax.swing.WindowConstants
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
JobStatusDialog()
           
JobStatusDialog(java.awt.Frame owner, java.lang.String title, boolean modal)
           
JobStatusDialog(java.awt.Frame owner, java.lang.String title, boolean modal, JobStatusInterface jsi)
           
 
Method Summary
 void downloadButton_actionPerformed(java.awt.event.ActionEvent e)
           
(package private)  void downloadOutputFiles()
           
 void HelpButton_actionPerformed(java.awt.event.ActionEvent e)
           
 void hideButton_actionPerformed(java.awt.event.ActionEvent e)
           
 void killButton_actionPerformed(java.awt.event.ActionEvent e)
           
(package private)  void killJobs()
          Kills selected jobs
static void main(java.lang.String[] args)
           
(package private)  void performTask(java.lang.String winTitle, java.lang.String labelTitle)
           
 void performTask(java.lang.String winTitle, java.lang.String labelTitle, int jobType)
           
 void queryJobStatus()
           
 void removeButton_actionPerformed(java.awt.event.ActionEvent e)
           
 void setFileViewer(FileViewerInterface fileviewer)
           
 void updateButton_actionPerformed(java.awt.event.ActionEvent e)
           
(package private)  void updateJobStatus()
           
 
Methods inherited from class javax.swing.JDialog
addImpl, createRootPane, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, update
 
Methods inherited from class java.awt.Dialog
addNotify, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setResizable, setTitle, setUndecorated, show
 
Methods inherited from class java.awt.Window
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, finalize, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getMostRecentFocusOwner, getOwnedWindows, getOwner, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindowStateListeners, isActive, isAlwaysOnTop, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isShowing, pack, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setAlwaysOnTop, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setLocationByPlatform, setLocationRelativeTo, toBack, toFront
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusBackward, transferFocusDownCycle, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

JSD_NO_TASK

public static final int JSD_NO_TASK
See Also:
Constant Field Values

JSD_QUERY_STATUS

public static final int JSD_QUERY_STATUS
See Also:
Constant Field Values

JSD_KILL_JOBS

public static final int JSD_KILL_JOBS
See Also:
Constant Field Values

JSD_DOWNLOAD_JOBS

public static final int JSD_DOWNLOAD_JOBS
See Also:
Constant Field Values

mainPanel

javax.swing.JPanel mainPanel

borderLayout1

java.awt.BorderLayout borderLayout1

jobStatusPanel1

JobStatusPanel jobStatusPanel1

jPanel1

javax.swing.JPanel jPanel1

updateButton

javax.swing.JButton updateButton

hideButton

javax.swing.JButton hideButton

queryIsDone

boolean queryIsDone

taskType

int taskType

jobStatusInterface

JobStatusInterface jobStatusInterface

removeButton

javax.swing.JButton removeButton

killButton

javax.swing.JButton killButton

HelpButton

javax.swing.JButton HelpButton

downloadButton

javax.swing.JButton downloadButton
Constructor Detail

JobStatusDialog

public JobStatusDialog(java.awt.Frame owner,
                       java.lang.String title,
                       boolean modal)

JobStatusDialog

public JobStatusDialog(java.awt.Frame owner,
                       java.lang.String title,
                       boolean modal,
                       JobStatusInterface jsi)

JobStatusDialog

public JobStatusDialog()
Method Detail

hideButton_actionPerformed

public void hideButton_actionPerformed(java.awt.event.ActionEvent e)

performTask

public void performTask(java.lang.String winTitle,
                        java.lang.String labelTitle,
                        int jobType)

performTask

void performTask(java.lang.String winTitle,
                 java.lang.String labelTitle)

queryJobStatus

public void queryJobStatus()

killJobs

void killJobs()
Kills selected jobs


setFileViewer

public void setFileViewer(FileViewerInterface fileviewer)

downloadOutputFiles

void downloadOutputFiles()

updateJobStatus

void updateJobStatus()

updateButton_actionPerformed

public void updateButton_actionPerformed(java.awt.event.ActionEvent e)

removeButton_actionPerformed

public void removeButton_actionPerformed(java.awt.event.ActionEvent e)

killButton_actionPerformed

public void killButton_actionPerformed(java.awt.event.ActionEvent e)

HelpButton_actionPerformed

public void HelpButton_actionPerformed(java.awt.event.ActionEvent e)

downloadButton_actionPerformed

public void downloadButton_actionPerformed(java.awt.event.ActionEvent e)

main

public static void main(java.lang.String[] args)