public class ControlPanel extends JPanel
JPanel.AccessibleJPanel JComponent.AccessibleJComponent Container.AccessibleAWTContainer Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy | Modifier and Type | Field and Description |
|---|---|
(package private) JTextField |
breedThreadsField |
(package private) JCheckBox |
checkpointCheckBox |
(package private) JTextField |
checkpointModuloField |
(package private) JPanel |
checkpointPanel |
(package private) Console |
console |
(package private) JTextField |
evalThreadsField |
(package private) JButton |
generateSeedsButton |
(package private) JLabel |
jLabel |
(package private) JLabel |
jLabel1 |
(package private) JLabel |
jLabel10 |
(package private) JLabel |
jLabel2 |
(package private) JLabel |
jLabel3 |
(package private) JLabel |
jLabel5 |
(package private) JLabel |
jLabel6 |
(package private) JLabel |
jLabel7 |
(package private) JLabel |
jLabel8 |
(package private) JTextField |
jobFilePrefixField |
(package private) JPanel |
jPanel |
(package private) JScrollPane |
jScrollPane |
(package private) JTextField |
numGensField |
(package private) JTextField |
numJobsField |
(package private) static String |
P_JOBFILEPREFIX |
(package private) JTextField |
prefixField |
(package private) JCheckBox |
quitOnRunCompleteCheckbox |
(package private) JRadioButton |
randomSeedsRadioButton |
(package private) ButtonGroup |
seedButtonGroup |
(package private) JButton |
seedFileButton |
(package private) JTextField |
seedFileField |
(package private) JRadioButton |
seedFileRadioButton |
(package private) JTable |
seedsTable |
(package private) JRadioButton |
sequentialSeedsRadioButton |
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH | Constructor and Description |
|---|
ControlPanel (Console console)
This is the default constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
disableControls () |
void |
enableControls () |
(package private) void |
generateRandomSeeds () |
(package private) JTextField |
getBreedThreadsField ()
This method initializes jTextField3
|
(package private) JCheckBox |
getCheckpointCheckBox ()
This method initializes jCheckBox10
|
(package private) JTextField |
getCheckpointModuloField ()
This method initializes jTextField8
|
(package private) JPanel |
getCheckpointPanel ()
This method initializes jPanel2
|
(package private) JTextField |
getEvalThreadsField ()
This method initializes jTextField2
|
(package private) JButton |
getGenerateSeedsButton ()
This method initializes jButton
|
String |
getJobFilePrefix () |
(package private) JTextField |
getJobFilePrefixField ()
This method initializes jTextField
|
(package private) JPanel |
getJPanel ()
This method initializes jPanel
|
(package private) JScrollPane |
getJScrollPane ()
This method initializes jScrollPane
|
(package private) JTextField |
getNumGensField ()
This method initializes jTextField
|
int |
getNumJobs () |
(package private) JTextField |
getNumJobsField ()
This method initializes jTextField1
|
(package private) JTextField |
getPrefixField ()
This method initializes jTextField9
|
(package private) JCheckBox |
getQuitOnRunCompleteCheckbox ()
This method initializes jCheckBox
|
(package private) JRadioButton |
getRandomSeedsRadioButton ()
This method initializes jRadioButton1
|
int |
getSeed (int experimentNum,
int threadNum) |
(package private) JButton |
getSeedFileButton ()
This method initializes jButton
|
(package private) JTextField |
getSeedFileField ()
This method initializes jTextField4
|
(package private) JRadioButton |
getSeedFileRadioButton ()
This method initializes jRadioButton
|
(package private) JTable |
getSeedsTable ()
This method initializes jTable
|
(package private) JRadioButton |
getSequentialSeedsRadioButton ()
This method initializes jRadioButton
|
int |
getThreadCount (String text) |
(package private) void |
initialize ()
This method initializes this
|
void |
loadParameters () |
(package private) void |
loadSeeds (File f) |
(package private) void |
resizeSeedTable () |
(package private) void |
setEnabled (JPanel panel,
boolean enabled) |
void |
setSeed (String seed,
int experimentNum,
int threadNum) |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI addAncestorListener, 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, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, 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, reshape, 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, update add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTree action, 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, getFocusCycleRootAncestor, 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, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle final Console console
static final String P_JOBFILEPREFIX
JLabel jLabel
JTextField numGensField
JCheckBox quitOnRunCompleteCheckbox
JLabel jLabel1
JTextField numJobsField
JLabel jLabel2
JLabel jLabel3
JTextField evalThreadsField
JTextField breedThreadsField
JPanel jPanel
JRadioButton seedFileRadioButton
JTextField seedFileField
JButton seedFileButton
JRadioButton randomSeedsRadioButton
JTable seedsTable
JScrollPane jScrollPane
JLabel jLabel6
JCheckBox checkpointCheckBox
JPanel checkpointPanel
JLabel jLabel7
JTextField checkpointModuloField
JLabel jLabel8
JTextField prefixField
JLabel jLabel10
ButtonGroup seedButtonGroup
JButton generateSeedsButton
JRadioButton sequentialSeedsRadioButton
JLabel jLabel5
JTextField jobFilePrefixField
public ControlPanel(Console console)
public void disableControls()
public void enableControls()
void initialize()
JTextField getNumGensField()
JCheckBox getQuitOnRunCompleteCheckbox()
JTextField getNumJobsField()
public int getNumJobs()
public int getThreadCount(String text)
void resizeSeedTable() throws NumberFormatException
NumberFormatException void generateRandomSeeds() throws NumberFormatException
NumberFormatException public int getSeed(int experimentNum, int threadNum)
public void setSeed(String seed, int experimentNum, int threadNum)
JTextField getEvalThreadsField()
JTextField getBreedThreadsField()
JPanel getJPanel()
JRadioButton getSeedFileRadioButton()
JTextField getSeedFileField()
JButton getSeedFileButton()
JRadioButton getRandomSeedsRadioButton()
JTable getSeedsTable()
JScrollPane getJScrollPane()
void setEnabled(JPanel panel, boolean enabled)
panel - TODOenabled - TODOJCheckBox getCheckpointCheckBox()
JPanel getCheckpointPanel()
JTextField getCheckpointModuloField()
JTextField getPrefixField()
public void loadParameters()
void loadSeeds(File f) throws IOException
IOException JButton getGenerateSeedsButton()
JRadioButton getSequentialSeedsRadioButton()
JTextField getJobFilePrefixField()
public String getJobFilePrefix()
Copyright © 2019. All rights reserved.