abstract class NBODialogConfig extends JDialog
Modifier and Type | Class and Description |
---|---|
(package private) class |
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 |
---|---|
protected static String |
alterHelp |
protected String |
bodyText |
protected JButton |
browse |
protected static String |
chbHelp |
protected static String |
clipHelp |
protected static 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 String |
fuseHelp |
protected boolean |
haveService |
protected JButton |
helpBtn |
protected static String |
helpConfig |
protected static String |
helpModel |
private static Map<String,String> |
htHelp |
protected JLabel |
icon |
protected File |
inputFile |
(package private) boolean |
isJmolNBO |
protected JCheckBox |
jCheckAtomNum |
protected JCheckBox |
jCheckNboView |
protected int |
jmolAtomCount |
protected String |
jobStem |
protected JTextPane |
jpNboOutput |
protected static String |
linkHelp |
protected Hashtable<String,String> |
lonePairs |
protected JButton[] |
mainButtons |
protected JButton |
modelButton |
protected static String |
mutateHelp |
protected Font |
nboFont |
protected NBOService |
nboService |
protected boolean |
nboView |
protected static String |
rebondHelp |
protected String |
reqInfo |
protected JButton |
runButton |
protected static String |
saveHelp |
protected JButton |
searchButton |
protected static String |
searchHelp |
protected static String |
sep |
protected JTextField |
serverPathLabel |
protected static String |
showHelp |
protected Runnable |
showRunDone |
protected Runnable |
showWorkPathDone |
protected JLabel |
statusLab |
protected JPanel |
statusPanel |
protected static String |
switchHelp |
protected static String |
symHelp |
protected JTextField |
tfExt |
protected JTextField |
tfFolder |
protected JTextField |
tfName |
protected JPanel |
topPanel |
protected static String |
twistHelp |
protected static String |
unifyHelp |
protected static String |
useHelp |
protected JButton |
viewButton |
protected Viewer |
vwr |
protected String |
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 |
NBODialogConfig(JFrame f)
Creates a dialog for getting info related to output frames in nbo format.
|
Modifier and Type | Method and Description |
---|---|
protected void |
appendOutput(String cmd) |
protected void |
appendOutputWithCaret(String line,
char format) |
protected void |
appendToFile(String s,
javajs.util.SB sb) |
protected void |
buildConfig(Container p) |
private JPanel |
buildFilePanel() |
protected JPanel |
buildTopPanel()
Top panel with logo/modules/file choosing options
|
protected void |
centerDialog(JDialog d)
Centers the dialog on the screen.
|
protected boolean |
checkJmolNBO() |
protected void |
clearInputFile() |
protected void |
clearOutput() |
protected abstract boolean |
connect() |
protected void |
enableComponentsR(Component c,
boolean b) |
protected JPanel |
folderBox() |
protected String |
getExt(File newFile) |
protected String |
getHelp(String key)
Retrieve and cache a help string.
|
protected String |
getJobStem(File inputFile) |
protected abstract void |
goRunClicked(String defaultParams,
String ess,
File inputFile,
Runnable load47Done) |
protected void |
nboReset() |
protected File |
newNBOFile(File f,
String ext) |
protected void |
placeNBODialog(JDialog d) |
protected void |
rawCmd(String name,
String cmd,
int mode) |
protected abstract void |
readInputFile(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(String[] atoms,
String key) |
protected void |
setComponents(Component comp,
Color forColor,
Color backColor) |
protected void |
setInputFile(File inputFile,
String useExt,
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(String st,
File newFile,
String ext,
int mode) |
protected void |
showNboOutput(String f) |
protected void |
showNBOPathDialog()
Show a file selector when the savePath button is pressed.
|
protected void |
showSelected(String[] s) |
protected abstract void |
showWorkpathDialog(String s) |
protected abstract boolean |
showWorkpathDialogM(String st,
String type) |
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 sep
protected static final String DEFAULT_PARAMS
protected JPanel topPanel
protected JPanel statusPanel
protected NBOService nboService
protected boolean haveService
boolean isJmolNBO
protected JLabel icon
protected Viewer vwr
protected JButton browse
protected JButton helpBtn
protected JButton modelButton
protected JButton runButton
protected JButton viewButton
protected JButton searchButton
protected JButton[] mainButtons
protected JTextField serverPathLabel
protected JCheckBox jCheckAtomNum
protected JCheckBox jCheckNboView
protected JLabel statusLab
protected String reqInfo
protected JTextPane jpNboOutput
protected String bodyText
protected String jobStem
protected Font nboFont
protected boolean nboView
protected JTextField tfFolder
protected JTextField tfName
protected JTextField tfExt
protected int jmolAtomCount
protected File inputFile
protected String workingPath
protected Runnable showWorkPathDone
protected Runnable showRunDone
protected static String helpConfig
protected static final String helpModel
protected static final String alterHelp
protected static final String clipHelp
protected static final String fuseHelp
protected static final String linkHelp
protected static final String mutateHelp
protected static final String rebondHelp
protected static final String saveHelp
protected static final String showHelp
protected static final String switchHelp
protected static final String symHelp
protected static final String twistHelp
protected static final String unifyHelp
protected static final String useHelp
protected static final String chbHelp
protected static final 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
protected NBODialogConfig(JFrame f)
f
- The frame associated with the dialogprotected abstract boolean connect()
protected abstract void goRunClicked(String defaultParams, String ess, File inputFile, Runnable load47Done)
protected abstract void readInputFile(File f)
protected abstract void showWorkpathDialog(String s)
protected void enableComponentsR(Component c, boolean b)
protected void buildConfig(Container p)
private JPanel buildFilePanel()
protected JPanel buildTopPanel()
protected JPanel folderBox()
protected void saveHistory()
protected void saveWorkHistory()
public void setVisible(boolean b)
setVisible
in class Dialog
protected void showNBOPathDialog()
protected void centerDialog(JDialog d)
d
- protected void placeNBODialog(JDialog d)
protected void appendOutputWithCaret(String line, char format)
protected void appendOutput(String cmd)
protected void clearOutput()
protected void appendToFile(String s, javajs.util.SB sb)
protected void nboReset()
protected void setNBOColorScheme()
protected void resetColorScheme()
protected abstract void showConfirmationDialog(String st, File newFile, String ext, int mode)
protected void showNboOutput(String f)
protected void showSelected(String[] s)
protected void showAtomNums()
protected boolean checkJmolNBO()
protected void clearInputFile()