|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Dialog
javax.swing.JDialog
de.htwdd.rosenkoenig.neuro.TrainerDialog
public class TrainerDialog
Provides a Swing dialog to create, manipulate and train artificial players. Use Eclipse VisualEditor to manipulate this class.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JDialog |
|---|
javax.swing.JDialog.AccessibleJDialog |
| Nested classes/interfaces inherited from class java.awt.Dialog |
|---|
java.awt.Dialog.AccessibleAWTDialog, java.awt.Dialog.ModalExclusionType, java.awt.Dialog.ModalityType |
| Nested classes/interfaces inherited from class java.awt.Window |
|---|
java.awt.Window.AccessibleAWTWindow |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
java.awt.Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Field Summary | |
|---|---|
private javax.swing.JButton |
btnAddLayer
|
private javax.swing.JButton |
btnExit
|
private javax.swing.JButton |
btnSave
|
private javax.swing.JButton |
btnTrain
|
private javax.swing.JPanel |
buttonPanel
|
private javax.swing.JCheckBox |
checkSOM
|
private javax.swing.JPanel |
configPanel
|
private static java.lang.String[] |
HEADERS
|
private javax.swing.JPanel |
jContentPane
|
private javax.swing.JLabel |
jLabel
|
private javax.swing.JLabel |
jLabel1
|
private javax.swing.JPanel |
layerPanel
|
private javax.swing.JLabel |
lblAlpha
|
private javax.swing.JLabel |
lblBatchsize
|
private javax.swing.JLabel |
lblCycles
|
private javax.swing.JLabel |
lblError
|
private javax.swing.JLabel |
lblEta
|
private javax.swing.JLabel |
lblValidation
|
private org.apache.log4j.Logger |
log
|
private javax.swing.JPanel |
netPanel
|
private javax.swing.JScrollPane |
netScrollPane
|
private javax.swing.JTable |
netTable
|
private javax.swing.JList |
patternList
|
private javax.swing.JPanel |
patternPanel
|
private javax.swing.JScrollPane |
patternSroller
|
private NeuroPlayer |
player
|
private javax.swing.JPanel |
playerChoicePanel
|
private PlayerPanel |
playerPanel
|
private static long |
serialVersionUID
|
private javax.swing.JPanel |
somPanel
|
private javax.swing.JSpinner |
spinAlpha
|
private javax.swing.JSpinner |
spinBatchsize
|
private javax.swing.JSpinner |
spinCycles
|
private javax.swing.JSpinner |
spinError
|
private javax.swing.JSpinner |
spinEta
|
private javax.swing.JSpinner |
spinNeurons
|
private javax.swing.JSpinner |
spinSomNeurons
|
private javax.swing.JSpinner |
spinValidation
|
private javax.swing.JPanel |
trainingPanel
|
| Fields inherited from class javax.swing.JDialog |
|---|
accessibleContext, rootPane, rootPaneCheckingEnabled |
| Fields inherited from class java.awt.Dialog |
|---|
DEFAULT_MODALITY_TYPE |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface javax.swing.WindowConstants |
|---|
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
TrainerDialog(java.awt.Frame owner)
|
|
| Method Summary | |
|---|---|
private void |
enableControls(boolean enabled)
|
private void |
fillPatternList()
|
private javax.swing.JButton |
getBtnAddLayer()
This method initializes btnAddLayer |
private javax.swing.JButton |
getBtnExit()
This method initializes btnExit |
private javax.swing.JButton |
getBtnSave()
This method initializes btnSave |
private javax.swing.JButton |
getBtnTrain()
This method initializes btnTrain |
private javax.swing.JPanel |
getButtonPanel()
This method initializes buttonPanel |
private javax.swing.JCheckBox |
getCheckSOM()
This method initializes checkSOM |
private javax.swing.JPanel |
getConfigPanel()
This method initializes configPanel |
private javax.swing.JPanel |
getJContentPane()
This method initializes jContentPane |
private javax.swing.JPanel |
getLayerPanel()
This method initializes layerPanel |
private javax.swing.JPanel |
getNetPanel()
This method initializes netPanel |
private javax.swing.JScrollPane |
getNetScrollPane()
This method initializes netScrollPane |
private javax.swing.JTable |
getNetTable()
This method initializes netTable |
private javax.swing.JList |
getPatternList()
This method initializes patternList |
private javax.swing.JPanel |
getPatternPanel()
This method initializes patternPanel |
private javax.swing.JScrollPane |
getPatternSroller()
This method initializes patternSroller |
private javax.swing.JPanel |
getPlayerChoicePanel()
This method initializes playerChoicePanel |
private PlayerPanel |
getPlayerPanel()
This method initializes playerPanel |
private javax.swing.JPanel |
getSomPanel()
This method initializes somPanel |
private javax.swing.JSpinner |
getSpinAlpha()
This method initializes spinAlpha |
private javax.swing.JSpinner |
getSpinBatchsize()
This method initializes spinBatchsize |
private javax.swing.JSpinner |
getSpinCycles()
This method initializes spinCycles |
private javax.swing.JSpinner |
getSpinError()
This method initializes spinError |
private javax.swing.JSpinner |
getSpinEta()
This method initializes spinEta |
private javax.swing.JSpinner |
getSpinNeurons()
This method initializes spinNeurons |
private javax.swing.JSpinner |
getSpinSomNeurons()
This method initializes spinSomNeurons |
private javax.swing.JSpinner |
getSpinValidation()
This method initializes spinValidation |
private javax.swing.JPanel |
getTrainingPanel()
This method initializes trainingPanel |
private void |
initialize()
This method initializes this |
void |
setVisible(boolean b)
|
private void |
updateTable()
|
| Methods inherited from class javax.swing.JDialog |
|---|
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 |
| Methods inherited from class java.awt.Dialog |
|---|
addNotify, getModalityType, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setModalityType, setResizable, setTitle, setUndecorated, show, toBack |
| Methods inherited from class java.awt.Window |
|---|
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOwnedWindows, getOwner, getOwnerlessWindows, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isShowing, pack, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeNotify, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImage, setIconImages, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, toFront |
| Methods inherited from class java.awt.Container |
|---|
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, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusBackward, transferFocusDownCycle, validate, validateTree |
| Methods inherited from class java.awt.Component |
|---|
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, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, 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, isOpaque, 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, setBackground, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusUpCycle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private static final java.lang.String[] HEADERS
private static final long serialVersionUID
private javax.swing.JPanel jContentPane
private PlayerPanel playerPanel
private javax.swing.JPanel configPanel
private javax.swing.JPanel buttonPanel
private javax.swing.JButton btnExit
private javax.swing.JPanel playerChoicePanel
private org.apache.log4j.Logger log
private NeuroPlayer player
private javax.swing.JButton btnTrain
private javax.swing.JPanel patternPanel
private javax.swing.JList patternList
private javax.swing.JScrollPane netScrollPane
private javax.swing.JTable netTable
private javax.swing.JPanel netPanel
private javax.swing.JPanel layerPanel
private javax.swing.JLabel jLabel
private javax.swing.JButton btnAddLayer
private javax.swing.JSpinner spinNeurons
private javax.swing.JButton btnSave
private javax.swing.JPanel trainingPanel
private javax.swing.JSpinner spinEta
private javax.swing.JSpinner spinAlpha
private javax.swing.JSpinner spinCycles
private javax.swing.JSpinner spinError
private javax.swing.JSpinner spinValidation
private javax.swing.JLabel lblEta
private javax.swing.JLabel lblAlpha
private javax.swing.JLabel lblCycles
private javax.swing.JLabel lblError
private javax.swing.JLabel lblValidation
private javax.swing.JSpinner spinBatchsize
private javax.swing.JLabel lblBatchsize
private javax.swing.JScrollPane patternSroller
private javax.swing.JCheckBox checkSOM
private javax.swing.JPanel somPanel
private javax.swing.JLabel jLabel1
private javax.swing.JSpinner spinSomNeurons
| Constructor Detail |
|---|
public TrainerDialog(java.awt.Frame owner)
owner - | Method Detail |
|---|
private void initialize()
private javax.swing.JPanel getJContentPane()
private PlayerPanel getPlayerPanel()
private javax.swing.JPanel getConfigPanel()
private javax.swing.JPanel getButtonPanel()
private javax.swing.JButton getBtnExit()
private javax.swing.JPanel getPlayerChoicePanel()
private javax.swing.JButton getBtnTrain()
private javax.swing.JPanel getPatternPanel()
private javax.swing.JList getPatternList()
private void fillPatternList()
private javax.swing.JScrollPane getNetScrollPane()
private javax.swing.JTable getNetTable()
private javax.swing.JPanel getNetPanel()
private javax.swing.JPanel getLayerPanel()
private javax.swing.JButton getBtnAddLayer()
private javax.swing.JSpinner getSpinNeurons()
private void updateTable()
private javax.swing.JButton getBtnSave()
private javax.swing.JPanel getTrainingPanel()
private javax.swing.JSpinner getSpinEta()
private javax.swing.JSpinner getSpinAlpha()
private javax.swing.JSpinner getSpinCycles()
private javax.swing.JSpinner getSpinError()
private javax.swing.JSpinner getSpinValidation()
private void enableControls(boolean enabled)
enabled - private javax.swing.JSpinner getSpinBatchsize()
public void setVisible(boolean b)
setVisible in class java.awt.Dialogprivate javax.swing.JScrollPane getPatternSroller()
private javax.swing.JCheckBox getCheckSOM()
private javax.swing.JPanel getSomPanel()
private javax.swing.JSpinner getSpinSomNeurons()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||