java.awt.image.ImageObserver
, java.awt.MenuContainer
, java.io.Serializable
, javax.accessibility.Accessible
, javax.swing.RootPaneContainer
, javax.swing.WindowConstants
NBODialogModel
abstract class NBODialogConfig
extends javax.swing.JDialog
Modifier and Type | Class | Description |
---|---|---|
(package private) class |
NBODialogConfig.StyledComboBoxUI |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
java.awt.Container.AccessibleAWTContainer
java.awt.Dialog.AccessibleAWTDialog, java.awt.Dialog.ModalExclusionType, java.awt.Dialog.ModalityType
Modifier and Type | Field | Description |
---|---|---|
protected static java.lang.String |
alterHelp |
|
protected java.lang.String |
bodyText |
|
protected javax.swing.JButton |
browse |
|
protected static java.lang.String |
chbHelp |
|
protected static java.lang.String |
clipHelp |
|
protected static java.lang.String |
DEFAULT_PARAMS |
|
(package private) static int |
DIALOG_CONFIG |
|
(package private) static int |
DIALOG_LIST |
|
(package private) static int |
DIALOG_MODEL |
|
(package private) static int |
DIALOG_RUN |
|
(package private) static int |
DIALOG_SEARCH |
|
(package private) static int |
DIALOG_VIEW |
|
protected int |
dialogMode |
|
protected static java.lang.String |
fuseHelp |
|
protected boolean |
haveService |
|
protected javax.swing.JButton |
helpBtn |
|
protected static java.lang.String |
helpConfig |
|
protected static java.lang.String |
helpModel |
|
private static java.util.Map<java.lang.String,java.lang.String> |
htHelp |
|
protected javax.swing.JLabel |
icon |
|
protected java.io.File |
inputFile |
|
(package private) boolean |
isJmolNBO |
|
protected javax.swing.JCheckBox |
jCheckAtomNum |
|
protected javax.swing.JCheckBox |
jCheckNboView |
|
protected int |
jmolAtomCount |
|
protected java.lang.String |
jobStem |
|
protected javax.swing.JTextPane |
jpNboOutput |
|
protected static java.lang.String |
linkHelp |
|
protected java.util.Hashtable<java.lang.String,java.lang.String> |
lonePairs |
|
protected javax.swing.JButton[] |
mainButtons |
|
protected javax.swing.JButton |
modelButton |
|
protected static java.lang.String |
mutateHelp |
|
protected java.awt.Font |
nboFont |
|
protected NBOService |
nboService |
|
protected boolean |
nboView |
|
protected static java.lang.String |
rebondHelp |
|
protected java.lang.String |
reqInfo |
|
protected javax.swing.JButton |
runButton |
|
protected static java.lang.String |
saveHelp |
|
protected javax.swing.JButton |
searchButton |
|
protected static java.lang.String |
searchHelp |
|
protected static java.lang.String |
sep |
|
protected javax.swing.JTextField |
serverPathLabel |
|
protected static java.lang.String |
showHelp |
|
protected java.lang.Runnable |
showRunDone |
|
protected java.lang.Runnable |
showWorkPathDone |
|
protected javax.swing.JLabel |
statusLab |
|
protected javax.swing.JPanel |
statusPanel |
|
protected static java.lang.String |
switchHelp |
|
protected static java.lang.String |
symHelp |
|
protected javax.swing.JTextField |
tfExt |
|
protected javax.swing.JTextField |
tfFolder |
|
protected javax.swing.JTextField |
tfName |
|
protected javax.swing.JPanel |
topPanel |
|
protected static java.lang.String |
twistHelp |
|
protected static java.lang.String |
unifyHelp |
|
protected static java.lang.String |
useHelp |
|
protected javax.swing.JButton |
viewButton |
|
protected Viewer |
vwr |
|
protected java.lang.String |
workingPath |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
Modifier | Constructor | Description |
---|---|---|
protected |
NBODialogConfig(javax.swing.JFrame f) |
Creates a dialog for getting info related to output frames in nbo format.
|
Modifier and Type | Method | Description |
---|---|---|
protected void |
appendOutput(java.lang.String cmd) |
|
protected void |
appendOutputWithCaret(java.lang.String line,
char format) |
|
protected void |
appendToFile(java.lang.String s,
javajs.util.SB sb) |
|
protected void |
buildConfig(java.awt.Container p) |
|
private javax.swing.JPanel |
buildFilePanel() |
|
protected javax.swing.JPanel |
buildTopPanel() |
Top panel with logo/modules/file choosing options
|
protected void |
centerDialog(javax.swing.JDialog d) |
Centers the dialog on the screen.
|
protected boolean |
checkJmolNBO() |
|
protected void |
clearInputFile() |
|
protected void |
clearOutput() |
|
protected abstract boolean |
connect() |
|
protected void |
enableComponentsR(java.awt.Component c,
boolean b) |
|
protected javax.swing.JPanel |
folderBox() |
|
protected java.lang.String |
getExt(java.io.File newFile) |
|
protected java.lang.String |
getHelp(java.lang.String key) |
Retrieve and cache a help string.
|
protected java.lang.String |
getJobStem(java.io.File inputFile) |
|
protected abstract void |
goRunClicked(java.lang.String defaultParams,
java.lang.String ess,
java.io.File inputFile,
java.lang.Runnable load47Done) |
|
protected void |
nboReset() |
|
protected java.io.File |
newNBOFile(java.io.File f,
java.lang.String ext) |
|
protected void |
placeNBODialog(javax.swing.JDialog d) |
|
protected void |
rawCmd(java.lang.String name,
java.lang.String cmd,
int mode) |
|
protected abstract void |
readInputFile(java.io.File f) |
|
protected void |
resetColorScheme() |
Resets Jmol look and feel
|
protected void |
saveHistory() |
Just saves the path settings from this session.
|
protected void |
saveWorkHistory() |
|
protected abstract void |
setBonds(java.lang.String[] atoms,
java.lang.String key) |
|
protected void |
setComponents(java.awt.Component comp,
java.awt.Color forColor,
java.awt.Color backColor) |
|
protected void |
setInputFile(java.io.File inputFile,
java.lang.String useExt,
java.lang.Runnable whenDone) |
|
protected void |
setNBOColorScheme() |
Sets color scheme to emulate look of NBO view
|
void |
setVisible(boolean b) |
|
protected void |
showAtomNums() |
|
protected abstract void |
showConfirmationDialog(java.lang.String st,
java.io.File newFile,
java.lang.String ext,
int mode) |
|
protected void |
showNboOutput(java.lang.String f) |
|
protected void |
showNBOPathDialog() |
Show a file selector when the savePath button is pressed.
|
protected void |
showSelected(java.lang.String[] s) |
|
protected abstract void |
showWorkpathDialog(java.lang.String s) |
|
protected abstract boolean |
showWorkpathDialogM(java.lang.String st,
java.lang.String type) |
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, 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, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, requestFocusInWindow, resize, resize, revalidate, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setMaximumSize, setMixingCutoutShape, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
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
addNotify, getModalityType, getTitle, hide, isModal, isResizable, isUndecorated, setBackground, setModal, setModalityType, setOpacity, setResizable, setShape, setTitle, setUndecorated, show, toBack
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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
protected static final java.lang.String sep
protected static final java.lang.String DEFAULT_PARAMS
protected javax.swing.JPanel topPanel
protected javax.swing.JPanel statusPanel
protected NBOService nboService
protected boolean haveService
boolean isJmolNBO
protected javax.swing.JLabel icon
protected Viewer vwr
protected javax.swing.JButton browse
protected javax.swing.JButton helpBtn
protected javax.swing.JButton modelButton
protected javax.swing.JButton runButton
protected javax.swing.JButton viewButton
protected javax.swing.JButton searchButton
protected javax.swing.JButton[] mainButtons
protected javax.swing.JTextField serverPathLabel
protected javax.swing.JCheckBox jCheckAtomNum
protected javax.swing.JCheckBox jCheckNboView
protected javax.swing.JLabel statusLab
protected java.util.Hashtable<java.lang.String,java.lang.String> lonePairs
protected java.lang.String reqInfo
protected javax.swing.JTextPane jpNboOutput
protected java.lang.String bodyText
protected java.lang.String jobStem
protected java.awt.Font nboFont
protected boolean nboView
protected javax.swing.JTextField tfFolder
protected javax.swing.JTextField tfName
protected javax.swing.JTextField tfExt
protected int jmolAtomCount
protected java.io.File inputFile
protected java.lang.String workingPath
protected java.lang.Runnable showWorkPathDone
protected java.lang.Runnable showRunDone
protected static java.lang.String helpConfig
protected static final java.lang.String helpModel
protected static final java.lang.String alterHelp
protected static final java.lang.String clipHelp
protected static final java.lang.String fuseHelp
protected static final java.lang.String linkHelp
protected static final java.lang.String mutateHelp
protected static final java.lang.String rebondHelp
protected static final java.lang.String saveHelp
protected static final java.lang.String showHelp
protected static final java.lang.String switchHelp
protected static final java.lang.String symHelp
protected static final java.lang.String twistHelp
protected static final java.lang.String unifyHelp
protected static final java.lang.String useHelp
protected static final java.lang.String chbHelp
protected static final java.lang.String searchHelp
protected int dialogMode
static final int DIALOG_CONFIG
static final int DIALOG_MODEL
static final int DIALOG_RUN
static final int DIALOG_VIEW
static final int DIALOG_SEARCH
static final int DIALOG_LIST
private static final java.util.Map<java.lang.String,java.lang.String> htHelp
protected NBODialogConfig(javax.swing.JFrame f)
f
- The frame associated with the dialogprotected abstract boolean connect()
protected abstract void goRunClicked(java.lang.String defaultParams, java.lang.String ess, java.io.File inputFile, java.lang.Runnable load47Done)
protected abstract boolean showWorkpathDialogM(java.lang.String st, java.lang.String type)
protected abstract void readInputFile(java.io.File f)
protected abstract void showWorkpathDialog(java.lang.String s)
protected abstract void setBonds(java.lang.String[] atoms, java.lang.String key)
protected void setComponents(java.awt.Component comp, java.awt.Color forColor, java.awt.Color backColor)
protected void enableComponentsR(java.awt.Component c, boolean b)
protected void buildConfig(java.awt.Container p)
private javax.swing.JPanel buildFilePanel()
protected javax.swing.JPanel buildTopPanel()
protected javax.swing.JPanel folderBox()
protected void rawCmd(java.lang.String name, java.lang.String cmd, int mode)
protected void saveHistory()
protected void saveWorkHistory()
public void setVisible(boolean b)
setVisible
in class java.awt.Dialog
protected void showNBOPathDialog()
protected void centerDialog(javax.swing.JDialog d)
d
- protected void placeNBODialog(javax.swing.JDialog d)
protected void appendOutputWithCaret(java.lang.String line, char format)
protected void appendOutput(java.lang.String cmd)
protected void clearOutput()
protected void appendToFile(java.lang.String s, javajs.util.SB sb)
protected void nboReset()
protected void setNBOColorScheme()
protected void resetColorScheme()
protected void setInputFile(java.io.File inputFile, java.lang.String useExt, java.lang.Runnable whenDone)
protected abstract void showConfirmationDialog(java.lang.String st, java.io.File newFile, java.lang.String ext, int mode)
protected void showNboOutput(java.lang.String f)
protected void showSelected(java.lang.String[] s)
protected void showAtomNums()
protected java.io.File newNBOFile(java.io.File f, java.lang.String ext)
protected java.lang.String getJobStem(java.io.File inputFile)
protected java.lang.String getExt(java.io.File newFile)
protected boolean checkJmolNBO()
protected void clearInputFile()
protected java.lang.String getHelp(java.lang.String key)
key
-