NBODialogRun
abstract class NBODialogModel extends NBODialogConfig
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
javax.swing.JDialog.AccessibleJDialog
NBODialogConfig.StyledComboBoxUI
Modifier and Type | Field | Description |
---|---|---|
private static int |
ALTER |
|
protected javax.swing.JTextField[] |
atomNumBox |
|
private static int |
CLIP |
|
protected static int |
CONFIRM_SAVE |
|
protected static int |
CONFIRM_VIEWOUTPUT |
|
protected javax.swing.JTextField |
currVal |
|
protected java.lang.String |
editAction |
|
protected javax.swing.Box |
editBox |
|
protected int |
editMode |
|
private static java.lang.String |
INPUT_FILE_EXTENSIONS |
|
protected javax.swing.JButton |
jbEdit |
|
protected javax.swing.JTextField |
jtJmolInput |
|
protected javax.swing.JTextField |
jtLineInput |
|
protected javax.swing.JTextField |
jtSelectAtoms |
|
private static java.lang.String |
LOAD_SCRIPT |
|
private static int |
MUTATE |
|
private static java.lang.String[] |
SAVE_OPTIONS |
|
protected java.lang.String |
savePath |
|
protected java.lang.String |
selected |
|
protected javax.swing.JTextField |
tfExtS |
|
protected javax.swing.JTextField |
tfFolderS |
|
protected javax.swing.JTextField |
tfNameS |
|
protected static java.awt.Color |
titleColor |
|
protected static java.awt.Font |
titleFont |
|
protected java.lang.String |
usePath |
|
protected javax.swing.JLabel |
valLab |
|
protected static int |
VALUE |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
accessibleContext, rootPane, rootPaneCheckingEnabled
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
Modifier | Constructor | Description |
---|---|---|
protected |
NBODialogModel(javax.swing.JFrame f) |
Modifier and Type | Method | Description |
---|---|---|
protected void |
actionSelected(java.lang.String selected) |
edit action selected
|
private void |
addListenersAndSize(javax.swing.JComponent field,
javax.swing.JRadioButton radio) |
|
protected void |
buildModel(java.awt.Container p) |
|
protected void |
clearModel() |
|
protected void |
clearSelected() |
|
protected void |
clip(java.lang.String action,
java.lang.String st,
java.awt.Component c) |
|
private void |
createInput(javax.swing.JTextField field,
javax.swing.JRadioButton radio) |
|
private java.awt.Component |
editBox() |
|
protected void |
editModel(java.lang.String item) |
apply edit to model
|
private javax.swing.JPanel |
folderSaveBox(javax.swing.JComboBox<java.lang.String> cBox) |
|
private java.lang.String |
getEss(java.lang.String ext) |
|
protected void |
getModel(javax.swing.JTextField textBox) |
|
protected void |
getSymmetry() |
|
protected void |
getValue() |
|
protected boolean |
helpDialogM(javax.swing.JTextPane p,
java.lang.String key) |
|
protected void |
loadModel() |
|
private void |
loadModel(java.lang.String path,
java.lang.String fname,
java.lang.String ext) |
|
protected void |
modelCmd(javajs.util.SB sb) |
|
protected javax.swing.JPanel |
modelOut() |
|
protected abstract void |
nboResetV() |
|
protected void |
notifyCallbackM(java.lang.String atomno) |
|
protected void |
notifyLoadModel() |
|
protected void |
rawInputM(java.lang.String cmd) |
|
private java.awt.Component |
saveBox() |
|
protected void |
saveHistoryM() |
|
protected void |
saveModel(java.lang.String path,
java.lang.String fname,
java.lang.String ext) |
|
protected void |
showConfirmationDialog(java.lang.String st,
java.io.File newFile,
java.lang.String ext,
int mode) |
|
protected void |
showSaveDialog(java.lang.String type) |
|
protected boolean |
showWorkpathDialogM(java.lang.String path,
java.lang.String type) |
File opening and saving methods
|
private java.awt.Component |
useBox() |
adds use elements to main panel
|
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
appendOutput, appendOutputWithCaret, appendToFile, buildConfig, buildTopPanel, centerDialog, checkJmolNBO, clearInputFile, clearOutput, connect, enableComponentsR, folderBox, getExt, getHelp, getJobStem, goRunClicked, nboReset, newNBOFile, placeNBODialog, rawCmd, readInputFile, resetColorScheme, saveHistory, saveWorkHistory, setBonds, setComponents, setInputFile, setNBOColorScheme, setVisible, showAtomNums, showNboOutput, showNBOPathDialog, showSelected, showWorkpathDialog
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
private static final java.lang.String INPUT_FILE_EXTENSIONS
private static final java.lang.String[] SAVE_OPTIONS
private static final int ALTER
private static final int CLIP
private static final int MUTATE
protected static final int VALUE
private static final java.lang.String LOAD_SCRIPT
protected static final int CONFIRM_SAVE
protected static final int CONFIRM_VIEWOUTPUT
protected int editMode
protected java.lang.String savePath
protected java.lang.String selected
protected java.lang.String usePath
protected javax.swing.Box editBox
protected javax.swing.JTextField jtSelectAtoms
protected javax.swing.JTextField tfFolderS
protected javax.swing.JTextField tfNameS
protected javax.swing.JTextField tfExtS
protected javax.swing.JTextField jtJmolInput
protected javax.swing.JTextField jtLineInput
protected javax.swing.JButton jbEdit
protected static final java.awt.Color titleColor
protected static final java.awt.Font titleFont
protected java.lang.String editAction
protected javax.swing.JTextField currVal
protected javax.swing.JTextField[] atomNumBox
protected javax.swing.JLabel valLab
protected abstract void nboResetV()
protected void buildModel(java.awt.Container p)
private java.awt.Component editBox()
private java.awt.Component saveBox()
private java.awt.Component useBox()
private void createInput(javax.swing.JTextField field, javax.swing.JRadioButton radio)
private void addListenersAndSize(javax.swing.JComponent field, javax.swing.JRadioButton radio)
private javax.swing.JPanel folderSaveBox(javax.swing.JComboBox<java.lang.String> cBox)
protected void actionSelected(java.lang.String selected)
selected
- protected void clip(java.lang.String action, java.lang.String st, java.awt.Component c)
protected void clearSelected()
protected void editModel(java.lang.String item)
item
- protected javax.swing.JPanel modelOut()
protected void saveHistoryM()
protected void getSymmetry()
protected void getModel(javax.swing.JTextField textBox)
private void loadModel(java.lang.String path, java.lang.String fname, java.lang.String ext)
protected void clearModel()
protected void loadModel()
protected void saveModel(java.lang.String path, java.lang.String fname, java.lang.String ext)
private java.lang.String getEss(java.lang.String ext)
protected void modelCmd(javajs.util.SB sb)
protected boolean showWorkpathDialogM(java.lang.String path, java.lang.String type)
showWorkpathDialogM
in class NBODialogConfig
type
- of file extensionprotected void showSaveDialog(java.lang.String type)
protected void showConfirmationDialog(java.lang.String st, java.io.File newFile, java.lang.String ext, int mode)
showConfirmationDialog
in class NBODialogConfig
protected void notifyCallbackM(java.lang.String atomno)
protected void getValue()
protected void notifyLoadModel()
protected boolean helpDialogM(javax.swing.JTextPane p, java.lang.String key)
protected void rawInputM(java.lang.String cmd)