abstract class NBODialogRun extends NBODialogModel
NBODialogConfig.StyledComboBoxUI
JDialog.AccessibleJDialog
Dialog.AccessibleAWTDialog, Dialog.ModalExclusionType, Dialog.ModalityType
Window.AccessibleAWTWindow, Window.Type
Container.AccessibleAWTContainer
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
Modifier and Type | Field and Description |
---|---|
private static String |
CHOOSE_DESCRIPTION |
(package private) Hashtable<String,String> |
choose3C |
(package private) Hashtable<String,String> |
chooseBonds |
protected ArrayList<String> |
delDeloc |
protected ArrayList<String> |
deleteAtomBlocks |
protected ArrayList<String> |
deleteBlocks |
protected ArrayList<String> |
deleteElements |
protected boolean |
deleteGeminal |
protected boolean |
deleteLewisOrbs |
protected boolean |
deleteVicinal |
protected String |
delOrbs |
protected String |
delOrbsL |
protected JComboBox<String> |
editOps |
(package private) String |
fileData |
(package private) String |
fileData2 |
protected JRadioButton[] |
keywordButtons |
protected static String[] |
keywordList |
(package private) int |
lastEss |
(package private) String |
nboKeywords |
protected JTextField |
plotFileName |
private JFrame |
runFrame |
protected String |
valid3C |
protected String |
validBonds |
protected String |
validLP |
atomNumBox, CONFIRM_SAVE, CONFIRM_VIEWOUTPUT, currVal, editAction, editBox, editMode, jbEdit, jtJmolInput, jtLineInput, jtSelectAtoms, savePath, selected, tfExtS, tfFolderS, tfNameS, titleColor, titleFont, usePath, valLab, VALUE
alterHelp, bodyText, browse, chbHelp, clipHelp, DEFAULT_PARAMS, DIALOG_CONFIG, DIALOG_LIST, DIALOG_MODEL, DIALOG_RUN, DIALOG_SEARCH, DIALOG_VIEW, dialogMode, fuseHelp, haveService, helpBtn, helpConfig, helpModel, icon, inputFile, isJmolNBO, jCheckAtomNum, jCheckNboView, jmolAtomCount, jobStem, jpNboOutput, linkHelp, lonePairs, mainButtons, modelButton, mutateHelp, nboFont, nboService, nboView, rebondHelp, reqInfo, runButton, saveHelp, searchButton, searchHelp, sep, serverPathLabel, showHelp, showRunDone, showWorkPathDone, statusLab, statusPanel, switchHelp, symHelp, tfExt, tfFolder, tfName, topPanel, twistHelp, unifyHelp, useHelp, viewButton, vwr, workingPath
accessibleContext, rootPane, rootPaneCheckingEnabled
DEFAULT_MODALITY_TYPE
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
Modifier | Constructor and Description |
---|---|
protected |
NBODialogRun(JFrame f) |
Modifier and Type | Method and Description |
---|---|
protected void |
addBond(String[] atoms,
String key) |
(package private) void |
addChooseKeylist()
Builds the choose key list interface
|
protected void |
addDelFieldEl(JPanel b,
JButton btn,
JScrollPane p,
String s1,
String s2,
List<String> deleteElements,
int val) |
private void |
addDelKeylist()
Builds the deletion key list interface
|
protected void |
addManualEditor() |
protected void |
addNBOKeylist() |
protected void |
buildRun(Container p) |
private Box |
chooseBox(Object[] list,
String title,
SpinnerModel model,
Hashtable<String,String> table,
int num)
Box for editing the $Choose list in input file
|
private String |
cleanNBOKeylist(String params) |
protected void |
deleteBlocks(JButton btn,
Box container,
ArrayList<String> deleteBlocks,
int val) |
protected void |
editOpChanged(String item) |
protected void |
essChanged(String item,
DefaultComboBoxModel<String> editModel) |
protected boolean |
getChooseList()
gets a valid $CHOOSE list from nbo file if it exists and corrects the bonds in the jmol model
|
protected String |
getCurrentChooseList() |
protected String |
getDelList() |
protected String |
getFileContents() |
protected void |
goRunClicked(String keywords,
String ess,
File inputFile,
Runnable whenDone) |
protected void |
readInputFile(File inputFile) |
protected void |
removeListParams(List<String> list,
DefaultListModel<String> listModel) |
protected void |
resetBadChooseList() |
protected void |
resetRunFile() |
private void |
runJob(String keywords,
File inputFile,
String ess,
Runnable whenDone) |
protected JPanel |
runS() |
protected void |
setBonds(String[] atoms,
String key) |
private void |
setChooseList(String data,
boolean isValid) |
protected int |
showConfDialog() |
protected String |
showInputDialog() |
actionSelected, buildModel, clearModel, clearSelected, clip, editModel, getModel, getSymmetry, getValue, helpDialogM, loadModel, modelCmd, modelOut, nboResetV, notifyCallbackM, notifyLoadModel, rawInputM, saveHistoryM, saveModel, showConfirmationDialog, showSaveDialog, showWorkpathDialogM
appendOutput, appendOutputWithCaret, appendToFile, buildConfig, buildTopPanel, centerDialog, checkJmolNBO, clearInputFile, clearOutput, connect, enableComponentsR, folderBox, getExt, getHelp, getJobStem, nboReset, newNBOFile, placeNBODialog, rawCmd, resetColorScheme, saveHistory, saveWorkHistory, setComponents, setInputFile, setNBOColorScheme, setVisible, showAtomNums, showNboOutput, showNBOPathDialog, showSelected, showWorkpathDialog
addImpl, createRootPane, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update
addNotify, getModalityType, getTitle, hide, isModal, isResizable, isUndecorated, setBackground, setModal, setModalityType, setOpacity, setResizable, setShape, setTitle, setUndecorated, show, toBack
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBackground, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOpacity, getOwnedWindows, getOwner, getOwnerlessWindows, getShape, getToolkit, getType, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isAutoRequestFocus, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isOpaque, isShowing, isValidateRoot, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeNotify, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setAutoRequestFocus, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImage, setIconImages, setLocation, setLocation, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setType, toFront
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, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate, validateTree
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, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, 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, 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, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, revalidate, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
protected static final String[] keywordList
private static final String CHOOSE_DESCRIPTION
private JFrame runFrame
protected String validBonds
protected String validLP
protected String valid3C
protected String delOrbs
protected String delOrbsL
protected boolean deleteLewisOrbs
protected boolean deleteVicinal
protected boolean deleteGeminal
String fileData
String fileData2
String nboKeywords
protected JTextField plotFileName
int lastEss
protected JRadioButton[] keywordButtons
protected NBODialogRun(JFrame f)
protected void buildRun(Container p)
protected JPanel runS()
protected int showConfDialog()
protected String showInputDialog()
protected void addManualEditor()
protected String getFileContents()
protected String getCurrentChooseList()
protected void essChanged(String item, DefaultComboBoxModel<String> editModel)
protected void editOpChanged(String item)
protected void readInputFile(File inputFile)
readInputFile
in class NBODialogConfig
protected boolean getChooseList()
private void setChooseList(String data, boolean isValid)
protected void resetBadChooseList()
protected void setBonds(String[] atoms, String key)
setBonds
in class NBODialogConfig
protected void addNBOKeylist()
void addChooseKeylist()
private Box chooseBox(Object[] list, String title, SpinnerModel model, Hashtable<String,String> table, int num)
list
- title
- model
- table
- num
- private void addDelKeylist()
protected void addDelFieldEl(JPanel b, JButton btn, JScrollPane p, String s1, String s2, List<String> deleteElements, int val)
protected void deleteBlocks(JButton btn, Box container, ArrayList<String> deleteBlocks, int val)
protected String getDelList()
protected void resetRunFile()
protected void removeListParams(List<String> list, DefaultListModel<String> listModel)
protected void goRunClicked(String keywords, String ess, File inputFile, Runnable whenDone)
goRunClicked
in class NBODialogConfig