public class PredictMultiStructureWindow extends PredictWindowBase
| Modifier and Type | Class and Description |
|---|---|
private class |
PredictMultiStructureWindow.PredictTask |
private class |
PredictMultiStructureWindow.SequenceItem |
PredictWindowBase.BackgroundTask, PredictWindowBase.FieldInfo, PredictWindowBase.FileFieldInfo, PredictWindowBase.PredictTaskBaseInternalWindow.CommandInfojavax.swing.JInternalFrame.AccessibleJInternalFrame, javax.swing.JInternalFrame.JDesktopIconjavax.swing.JComponent.AccessibleJComponent| Modifier and Type | Field and Description |
|---|---|
private boolean |
_seqInfoUpdating |
private javax.swing.JButton |
btnCancelTask |
private javax.swing.JButton |
btnClearList |
private javax.swing.JButton |
btnMoveDn |
private javax.swing.JButton |
btnMoveUp |
private javax.swing.JButton |
btnRemove |
private javax.swing.JButton |
btnResetAll |
private javax.swing.JButton |
btnResetMultiOptions |
private javax.swing.JButton |
btnResetOptions |
private javax.swing.JButton |
btnResetTurboOptions |
private javax.swing.JButton |
btnStartCalc |
private javax.swing.JCheckBox |
chkAllowBaseInserts |
private javax.swing.JCheckBox |
chkShowDescription |
private javax.swing.JComboBox |
cmbTurboMode |
private javax.swing.JPanel |
contentPanel |
private java.util.HashMap<javax.swing.JComponent,java.lang.Object> |
defaultOptionValues |
private javax.swing.JLabel |
lblBaseInserts |
private javax.swing.JLabel |
lblOptionWarning |
private javax.swing.JLabel |
lblProgressPercent |
private javax.swing.JLabel |
lblTaskStatus |
private javax.swing.JLabel |
lblToolDescription |
private javax.swing.JList<PredictMultiStructureWindow.SequenceItem> |
lstSeqs |
private java.util.ArrayList<javax.swing.JComponent> |
optionsControls |
private javax.swing.JPanel |
pnlMultiOptions |
private javax.swing.JPanel |
pnlOptions |
private javax.swing.JPanel |
pnlOutput |
private javax.swing.JPanel |
pnlSeqInfo |
private javax.swing.JPanel |
pnlSequences |
private javax.swing.JPanel |
pnlTaskStatus |
private javax.swing.JPanel |
pnlTurboOptions |
private javax.swing.JProgressBar |
prgTaskProgress |
private java.util.ArrayList<PredictMultiStructureWindow.SequenceItem> |
seqList |
private static long |
serialVersionUID |
private java.util.ArrayList<javax.swing.JComponent> |
settingsControls |
private java.lang.String |
settingsNodeName |
private javax.swing.JSpinner |
spnMultiAlnSize |
private javax.swing.JSpinner |
spnMultiDsvChange |
private javax.swing.JSpinner |
spnMultiGapPenalty |
private javax.swing.JSpinner |
spnMultiIterations |
private javax.swing.JSpinner |
spnMultiMaxEnergyDiff |
private javax.swing.JSpinner |
spnMultiMaxPairs |
private javax.swing.JSpinner |
spnMultiMaxStructures |
private javax.swing.JSpinner |
spnMultiWindowSize |
private javax.swing.JSpinner |
spnTemperature |
private javax.swing.JSpinner |
spnTurboGamma |
private javax.swing.JSpinner |
spnTurboIterations |
private javax.swing.JSpinner |
spnTurboMaxEnergyDiff |
private javax.swing.JSpinner |
spnTurboMaxStructures |
private javax.swing.JSpinner |
spnTurboMEAGamma |
private javax.swing.JSpinner |
spnTurboMinHelix |
private javax.swing.JSpinner |
spnTurboPKIterations |
private javax.swing.JSpinner |
spnTurboThreshold |
private javax.swing.JSpinner |
spnTurboWindowSize |
private javax.swing.JTabbedPane |
tabControls |
private javax.swing.JTextField |
txtMSeqFile |
private javax.swing.JTextField |
txtOutputFile |
private javax.swing.JTextField |
txtSeqFile |
numberFormatter, pnlClient, pnlContent, TEMP_37Cbackend, changeListener, frameListener, log, warningsclosable, CONTENT_PANE_PROPERTY, desktopIcon, FRAME_ICON_PROPERTY, frameIcon, GLASS_PANE_PROPERTY, iconable, IS_CLOSED_PROPERTY, IS_ICON_PROPERTY, IS_MAXIMUM_PROPERTY, IS_SELECTED_PROPERTY, isClosed, isIcon, isMaximum, isSelected, LAYERED_PANE_PROPERTY, maximizable, MENU_BAR_PROPERTY, resizable, ROOT_PANE_PROPERTY, rootPane, rootPaneCheckingEnabled, title, TITLE_PROPERTYlistenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWaccessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT| Constructor and Description |
|---|
PredictMultiStructureWindow()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
javax.swing.JComponent |
$$$getRootComponent$$$() |
private void |
$$$setupUI$$$()
Method generated by IntelliJ IDEA GUI Designer
DO NOT edit this method OR call it in your code!
|
(package private) void |
addOptionControls(javax.swing.JComponent parent) |
private void |
addSequence(java.lang.String label,
java.lang.String seqFile,
java.lang.String ctFile) |
private void |
addSequenceFile(java.lang.String path,
boolean multiSeq) |
private void |
calcComplete(PredictMultiStructureWindow.PredictTask task) |
private void |
createUIComponents() |
private void |
deleteSequence(PredictMultiStructureWindow.SequenceItem seq) |
private PredictMultiStructureWindow.SequenceItem |
getSelectedSequence() |
protected void |
handleSettings(boolean writeValues) |
private void |
loadSequenceInfo(PredictMultiStructureWindow.SequenceItem seq) |
private void |
loadSettingsDefaults() |
private void |
moveSequence(PredictMultiStructureWindow.SequenceItem seq,
int direction) |
private void |
onSequenceSelected(javax.swing.event.ListSelectionEvent e) |
protected void |
processCommand(InternalWindow.CommandInfo ci)
Perform an action specific to this window.
|
private void |
refreshSeqList() |
private void |
refreshSeqList(boolean reselect) |
private void |
refreshSeqList(PredictMultiStructureWindow.SequenceItem selectAfterRefresh) |
private void |
resetOptionsInPanel(javax.swing.JComponent parent) |
private void |
runCalc() |
private void |
setSelectedSequence(PredictMultiStructureWindow.SequenceItem sel) |
private void |
setTaskStatus(int progress,
java.lang.String status) |
void |
showWindow()
View the window.
|
protected void |
updateFormUI()
Called periodically by a timer to update the user interface.
|
private void |
updateSequenceInfoFromUI() |
private boolean |
verifyInput() |
actionPerformed, addField, addFileField, addFileField, addFileField, autoSetFieldNames, browseFile, browseFile, browseRecentFile, cancelRunningTask, enableDescendants, focusField, formatValue, frameClosing, getControlDescription, getControlValue, getFileField, getFileField, getRunningTask, getSettingsName, getSpin, getSpinDbl, getSpinInt, handleRecentControlValues, launchDrawing, listenForActions, listenForActions, listenForActions, loadRecent, pack, runInBackground, saveRecent, saveRecentFiles, setContent, setControlValue, setSpin, setSpin, setSpin, setSpin, setSpin, setSpin, startUiTimer, stopUiTimer, stripControlPrefix, validateFailed, validateFileField, validateFileField, validateRequiredFieldcreateCustomMenus, frameActivated, frameClosed, getCustomMenus, invokeCommand, invokeCommand, invokeCommand, isActiveFrame, notifyUpdated, onFocusGained, propertyChanged, setCaption, setCustomMenusaddImpl, addInternalFrameListener, createRootPane, dispose, doDefaultCloseAction, fireInternalFrameEvent, getAccessibleContext, getContentPane, getDefaultCloseOperation, getDesktopIcon, getDesktopPane, getFocusCycleRootAncestor, getFocusOwner, getFrameIcon, getGlassPane, getInternalFrameListeners, getJMenuBar, getLastCursor, getLayer, getLayeredPane, getMenuBar, getMostRecentFocusOwner, getNormalBounds, getRootPane, getTitle, getUI, getUIClassID, getWarningString, hide, isClosable, isClosed, isFocusCycleRoot, isIcon, isIconifiable, isMaximizable, isMaximum, isResizable, isRootPaneCheckingEnabled, isSelected, moveToBack, moveToFront, paintComponent, paramString, remove, removeInternalFrameListener, reshape, restoreSubcomponentFocus, setClosable, setClosed, setContentPane, setCursor, setDefaultCloseOperation, setDesktopIcon, setFocusCycleRoot, setFrameIcon, setGlassPane, setIcon, setIconifiable, setJMenuBar, setLayer, setLayer, setLayeredPane, setLayout, setMaximizable, setMaximum, setMenuBar, setNormalBounds, setResizable, setRootPane, setRootPaneCheckingEnabled, setSelected, setTitle, setUI, show, toBack, toFront, updateUIaddAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, 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, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, 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, 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, updateadd, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, transferFocusDownCycle, validate, validateTreeaction, 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, 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, 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, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycleprivate boolean _seqInfoUpdating
private javax.swing.JButton btnCancelTask
private javax.swing.JButton btnClearList
private javax.swing.JButton btnMoveDn
private javax.swing.JButton btnMoveUp
private javax.swing.JButton btnRemove
private javax.swing.JButton btnResetAll
private javax.swing.JButton btnResetMultiOptions
private javax.swing.JButton btnResetOptions
private javax.swing.JButton btnResetTurboOptions
private javax.swing.JButton btnStartCalc
private javax.swing.JCheckBox chkAllowBaseInserts
private javax.swing.JCheckBox chkShowDescription
private javax.swing.JComboBox cmbTurboMode
private javax.swing.JPanel contentPanel
private java.util.HashMap<javax.swing.JComponent,java.lang.Object> defaultOptionValues
private javax.swing.JLabel lblBaseInserts
private javax.swing.JLabel lblOptionWarning
private javax.swing.JLabel lblProgressPercent
private javax.swing.JLabel lblTaskStatus
private javax.swing.JLabel lblToolDescription
private javax.swing.JList<PredictMultiStructureWindow.SequenceItem> lstSeqs
private java.util.ArrayList<javax.swing.JComponent> optionsControls
private javax.swing.JPanel pnlMultiOptions
private javax.swing.JPanel pnlOptions
private javax.swing.JPanel pnlOutput
private javax.swing.JPanel pnlSeqInfo
private javax.swing.JPanel pnlSequences
private javax.swing.JPanel pnlTaskStatus
private javax.swing.JPanel pnlTurboOptions
private javax.swing.JProgressBar prgTaskProgress
private java.util.ArrayList<PredictMultiStructureWindow.SequenceItem> seqList
private static final long serialVersionUID
private java.util.ArrayList<javax.swing.JComponent> settingsControls
private final java.lang.String settingsNodeName
private javax.swing.JSpinner spnMultiAlnSize
private javax.swing.JSpinner spnMultiDsvChange
private javax.swing.JSpinner spnMultiGapPenalty
private javax.swing.JSpinner spnMultiIterations
private javax.swing.JSpinner spnMultiMaxEnergyDiff
private javax.swing.JSpinner spnMultiMaxPairs
private javax.swing.JSpinner spnMultiMaxStructures
private javax.swing.JSpinner spnMultiWindowSize
private javax.swing.JSpinner spnTemperature
private javax.swing.JSpinner spnTurboGamma
private javax.swing.JSpinner spnTurboIterations
private javax.swing.JSpinner spnTurboMaxEnergyDiff
private javax.swing.JSpinner spnTurboMaxStructures
private javax.swing.JSpinner spnTurboMEAGamma
private javax.swing.JSpinner spnTurboMinHelix
private javax.swing.JSpinner spnTurboPKIterations
private javax.swing.JSpinner spnTurboThreshold
private javax.swing.JSpinner spnTurboWindowSize
private javax.swing.JTabbedPane tabControls
private javax.swing.JTextField txtMSeqFile
private javax.swing.JTextField txtOutputFile
private javax.swing.JTextField txtSeqFile
public javax.swing.JComponent $$$getRootComponent$$$()
private void $$$setupUI$$$()
void addOptionControls(javax.swing.JComponent parent)
private void addSequence(java.lang.String label,
java.lang.String seqFile,
java.lang.String ctFile)
private void addSequenceFile(java.lang.String path,
boolean multiSeq)
private void calcComplete(PredictMultiStructureWindow.PredictTask task)
private void createUIComponents()
private void deleteSequence(PredictMultiStructureWindow.SequenceItem seq)
private PredictMultiStructureWindow.SequenceItem getSelectedSequence()
protected void handleSettings(boolean writeValues)
handleSettings in class PredictWindowBaseprivate void loadSequenceInfo(PredictMultiStructureWindow.SequenceItem seq)
private void loadSettingsDefaults()
private void moveSequence(PredictMultiStructureWindow.SequenceItem seq, int direction)
private void onSequenceSelected(javax.swing.event.ListSelectionEvent e)
protected void processCommand(InternalWindow.CommandInfo ci)
InternalWindowprocessCommand in class InternalWindowci - Information about the command.private void refreshSeqList()
private void refreshSeqList(boolean reselect)
private void refreshSeqList(PredictMultiStructureWindow.SequenceItem selectAfterRefresh)
private void resetOptionsInPanel(javax.swing.JComponent parent)
private void runCalc()
private void setSelectedSequence(PredictMultiStructureWindow.SequenceItem sel)
private void setTaskStatus(int progress,
java.lang.String status)
public void showWindow()
InternalWindowshowWindow in class PredictWindowBaseprotected void updateFormUI()
PredictWindowBaseupdateFormUI in class PredictWindowBaseprivate void updateSequenceInfoFromUI()
private boolean verifyInput()