cct.grid.ui
Class PBS_Panel

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by javax.swing.JComponent
              extended by javax.swing.JPanel
                  extended by cct.grid.ui.PBS_Panel
All Implemented Interfaces:
java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible

public class PBS_Panel
extends javax.swing.JPanel

Title: Molecular Structure Viewer/Editor

Description: Computational Chemistry Toolkit

Copyright: Copyright (c) 2006

Company: ANU

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.JPanel
javax.swing.JPanel.AccessibleJPanel
 
Nested classes/interfaces inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent
 
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) static java.lang.String cpuKey
           
(package private)  javax.swing.JLabel cpuLabel
           
 javax.swing.JTextField CPUTextField
           
 javax.swing.JCheckBox extCheckBox
           
(package private)  java.awt.GridBagLayout gridBagLayout1
           
(package private) static java.lang.String jobfsKey
           
(package private)  javax.swing.JLabel jobfsLabel
           
 javax.swing.JTextField JobfsTextField
           
(package private)  javax.swing.JPanel jPanel1
           
(package private) static java.lang.String memoryKey
           
(package private)  javax.swing.JLabel memoryLabel
           
 javax.swing.JTextField MemoryTextField
           
(package private)  java.util.prefs.Preferences prefs
           
(package private) static java.lang.String projectKey
           
(package private)  javax.swing.JLabel projectLabel
           
 javax.swing.JTextField ProjectTextField
           
(package private) static java.lang.String queueKey
           
(package private)  javax.swing.JLabel queueLabel
           
 javax.swing.JTextField QueueTextField
           
(package private)  javax.swing.JLabel softLabel
           
(package private) static java.lang.String softwareKey
           
 javax.swing.JTextField SoftwareTextField
           
(package private) static java.lang.String timeKey
           
(package private)  javax.swing.JLabel timeLabel
           
 javax.swing.JTextField TimeTextField
           
 
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
PBS_Panel()
           
PBS_Panel(java.lang.String project, java.lang.String queue, int time, int memory, int jobfs, java.lang.String software)
           
 
Method Summary
 int getJobFS()
           
 int getMaxMemory()
           
 float getMaxTime()
           
 int getNCPUs()
           
 java.lang.String getProject()
           
 java.lang.String getQueue()
           
 java.lang.String getSoftware()
           
 void ProjectTextField_actionPerformed(java.awt.event.ActionEvent e)
           
 void saveCurrentSettings()
           
 void setDefaultProject()
           
 
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
 
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, 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, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

prefs

java.util.prefs.Preferences prefs

memoryLabel

javax.swing.JLabel memoryLabel

timeLabel

javax.swing.JLabel timeLabel

queueLabel

javax.swing.JLabel queueLabel

jobfsLabel

javax.swing.JLabel jobfsLabel

softLabel

javax.swing.JLabel softLabel

projectLabel

javax.swing.JLabel projectLabel

cpuLabel

javax.swing.JLabel cpuLabel

ProjectTextField

public javax.swing.JTextField ProjectTextField

QueueTextField

public javax.swing.JTextField QueueTextField

TimeTextField

public javax.swing.JTextField TimeTextField

MemoryTextField

public javax.swing.JTextField MemoryTextField

JobfsTextField

public javax.swing.JTextField JobfsTextField

SoftwareTextField

public javax.swing.JTextField SoftwareTextField

CPUTextField

public javax.swing.JTextField CPUTextField

extCheckBox

public javax.swing.JCheckBox extCheckBox

projectKey

static final java.lang.String projectKey
See Also:
Constant Field Values

queueKey

static final java.lang.String queueKey
See Also:
Constant Field Values

timeKey

static final java.lang.String timeKey
See Also:
Constant Field Values

memoryKey

static final java.lang.String memoryKey
See Also:
Constant Field Values

jobfsKey

static final java.lang.String jobfsKey
See Also:
Constant Field Values

softwareKey

static final java.lang.String softwareKey
See Also:
Constant Field Values

cpuKey

static final java.lang.String cpuKey
See Also:
Constant Field Values

jPanel1

javax.swing.JPanel jPanel1

gridBagLayout1

java.awt.GridBagLayout gridBagLayout1

borderLayout1

java.awt.BorderLayout borderLayout1
Constructor Detail

PBS_Panel

public PBS_Panel()

PBS_Panel

public PBS_Panel(java.lang.String project,
                 java.lang.String queue,
                 int time,
                 int memory,
                 int jobfs,
                 java.lang.String software)
Method Detail

saveCurrentSettings

public void saveCurrentSettings()

setDefaultProject

public void setDefaultProject()

getProject

public java.lang.String getProject()

getQueue

public java.lang.String getQueue()

getSoftware

public java.lang.String getSoftware()

getJobFS

public int getJobFS()
             throws java.lang.Exception
Throws:
java.lang.Exception

getNCPUs

public int getNCPUs()
             throws java.lang.Exception
Throws:
java.lang.Exception

getMaxTime

public float getMaxTime()
                 throws java.lang.Exception
Throws:
java.lang.Exception

getMaxMemory

public int getMaxMemory()
                 throws java.lang.Exception
Throws:
java.lang.Exception

ProjectTextField_actionPerformed

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