somcolorapp
Class SOMColorUI

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjava.awt.Window
              extended byjava.awt.Frame
                  extended bybaseui.Cui
                      extended bysomcolorapp.SOMColorUI
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable

public class SOMColorUI
extends baseui.Cui

Title: Interface utilisateur

Description: Interface utilisateur de l'applet.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class java.awt.Frame
java.awt.Frame.AccessibleAWTFrame
 
Nested classes inherited from class java.awt.Window
java.awt.Window.AccessibleAWTWindow
 
Nested classes inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
 SOMColor applet
          Applet
(package private)  java.awt.BorderLayout borderLayout1
           
(package private)  java.awt.Button btnAbout
           
(package private)  java.awt.Button btnGo
           
(package private)  java.awt.Button btnModif
           
(package private)  java.awt.Button btnPas
           
(package private)  java.awt.Button btnReset
           
 double eta0
          Eta0
(package private)  java.awt.GridLayout gridLayout1
           
(package private)  java.awt.GridLayout gridLayout2
           
(package private)  java.awt.GridLayout gridLayout3
           
(package private)  java.awt.Label label1
           
(package private)  java.awt.Label label2
           
(package private)  java.awt.Label label3
           
(package private)  java.awt.Label label4
           
(package private)  java.awt.Label label5
           
 int maxIterations
          Maximum itérations
 int nbCouleurs
          Nb couleurs ^1/3
(package private)  java.awt.Panel panel1
           
(package private)  java.awt.Panel panel2
           
(package private)  java.awt.Panel panel3
           
(package private)  java.awt.Panel panelVue
           
 SOMColorProcess processSOM
          processus
 double sigma0
          Sigma0
(package private)  java.awt.Label statusBar
           
 int tailleReseau
          Taille du réseau
(package private)  java.awt.TextField txtCouleurs
           
(package private)  java.awt.TextField txtEta0
           
(package private)  java.awt.TextField txtIterations
           
(package private)  java.awt.TextField txtSigma0
           
(package private)  java.awt.TextField txtTaille
           
 
Fields inherited from class baseui.Cui
process
 
Fields inherited from class java.awt.Frame
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR
 
Fields inherited from class java.awt.Window
 
Fields inherited from class java.awt.Container
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
SOMColorUI(SOMColor ap, int t)
           
 
Method Summary
 void affGeneration()
          Affichage de la génération
(package private)  void btnAbout_actionPerformed(java.awt.event.ActionEvent e)
           
(package private)  void btnGo_actionPerformed(java.awt.event.ActionEvent e)
          Lance l'apprentissage
(package private)  void btnModif_actionPerformed(java.awt.event.ActionEvent e)
          Modification des paramètres réseau
(package private)  void btnPas_actionPerformed(java.awt.event.ActionEvent e)
          Pas à pas
(package private)  void btnReset_actionPerformed(java.awt.event.ActionEvent e)
          Réinitialisation
(package private)  void dispInfoBox()
          Display Info box
 void initParam()
          Initialisation/MAJ paramètres réseau
(package private)  void panelVue_componentResized(java.awt.event.ComponentEvent e)
          Redimensionnement
 void setInterface(boolean e)
          (In)active l'interface
 void stopGo()
          Stop/Go
 
Methods inherited from class baseui.Cui
redimUi
 
Methods inherited from class java.awt.Frame
addNotify, finalize, getAccessibleContext, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, paramString, remove, removeNotify, setCursor, setExtendedState, setIconImage, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated
 
Methods inherited from class java.awt.Window
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getMostRecentFocusOwner, getOwnedWindows, getOwner, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindowStateListeners, hide, isActive, isFocusableWindow, isFocusCycleRoot, isFocused, isShowing, pack, postEvent, processEvent, processWindowEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setCursor, setFocusableWindowState, setFocusCycleRoot, setLocationRelativeTo, show, toBack, toFront
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, remove, removeAll, removeContainerListener, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, setLayout, transferFocusBackward, transferFocusDownCycle, update, 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, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, 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, isOpaque, 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, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.awt.MenuContainer
getFont, postEvent
 

Field Detail

applet

public SOMColor applet
Applet


processSOM

public SOMColorProcess processSOM
processus


tailleReseau

public int tailleReseau
Taille du réseau


maxIterations

public int maxIterations
Maximum itérations


nbCouleurs

public int nbCouleurs
Nb couleurs ^1/3


eta0

public double eta0
Eta0


sigma0

public double sigma0
Sigma0


statusBar

java.awt.Label statusBar

panel1

java.awt.Panel panel1

borderLayout1

java.awt.BorderLayout borderLayout1

panel2

java.awt.Panel panel2

gridLayout1

java.awt.GridLayout gridLayout1

btnReset

java.awt.Button btnReset

btnAbout

java.awt.Button btnAbout

btnGo

java.awt.Button btnGo

btnPas

java.awt.Button btnPas

panelVue

java.awt.Panel panelVue

gridLayout2

java.awt.GridLayout gridLayout2

panel3

java.awt.Panel panel3

txtTaille

java.awt.TextField txtTaille

label1

java.awt.Label label1

label2

java.awt.Label label2

txtCouleurs

java.awt.TextField txtCouleurs

label3

java.awt.Label label3

txtIterations

java.awt.TextField txtIterations

gridLayout3

java.awt.GridLayout gridLayout3

label4

java.awt.Label label4

txtEta0

java.awt.TextField txtEta0

label5

java.awt.Label label5

txtSigma0

java.awt.TextField txtSigma0

btnModif

java.awt.Button btnModif
Constructor Detail

SOMColorUI

public SOMColorUI(SOMColor ap,
                  int t)
Method Detail

btnReset_actionPerformed

void btnReset_actionPerformed(java.awt.event.ActionEvent e)
Réinitialisation


btnGo_actionPerformed

void btnGo_actionPerformed(java.awt.event.ActionEvent e)
Lance l'apprentissage


stopGo

public void stopGo()
Stop/Go


btnPas_actionPerformed

void btnPas_actionPerformed(java.awt.event.ActionEvent e)
Pas à pas


btnAbout_actionPerformed

void btnAbout_actionPerformed(java.awt.event.ActionEvent e)

setInterface

public void setInterface(boolean e)
(In)active l'interface


affGeneration

public void affGeneration()
Affichage de la génération


panelVue_componentResized

void panelVue_componentResized(java.awt.event.ComponentEvent e)
Redimensionnement


dispInfoBox

void dispInfoBox()
Display Info box


initParam

public void initParam()
Initialisation/MAJ paramètres réseau


btnModif_actionPerformed

void btnModif_actionPerformed(java.awt.event.ActionEvent e)
Modification des paramètres réseau