|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.awt.Component
|
+--java.awt.Container
|
+--java.awt.Panel
|
+--PanelConfiguration.PanelConfiguration
|
+--PanelConfiguration.ModifiedPaintSurfacePanel
This class provides the panel in order to add a modifiedPaintSurface on it.
ModifiedPaintSurface,
PanelConfiguration, Serialized Form| Field Summary | |
protected ModifiedPaintSurface |
modifiedPaintSurface
The surface that we are going to add to the panel. |
protected ToolPanel |
toolPanel
The panel on which we display a help message. |
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT,
CENTER_ALIGNMENT,
LEFT_ALIGNMENT,
RIGHT_ALIGNMENT,
TOP_ALIGNMENT |
| Constructor Summary | |
ModifiedPaintSurfacePanel(int width,
int height)
The second constructor. |
|
ModifiedPaintSurfacePanel(int width,
int height,
Color backgroundColor)
The first constructor. |
|
| Method Summary | |
void |
componentHidden(ComponentEvent e)
When the component is hidden. |
void |
componentMoved(ComponentEvent e)
When the component is moved. |
void |
componentResized(ComponentEvent e)
When the component is resized. |
void |
componentShown(ComponentEvent e)
When the component is shown. |
void |
init(ToolPanel toolPanel,
PaintSurfacePanel paintSurfacePanel)
Initialization of the ModifiedPaintSurfacePanel. |
void |
initSimulation(float coneSynapticResistanceFloat,
float coneMembranarResistanceFloat,
float coneMembranarCapacityFloat,
float coneJonctionResistanceFloat,
float horizontalSynapticResistanceFloat,
float horizontalMembranarResistanceFloat,
float horizontalMembranarCapacityFloat,
float horizontalJonctionResistanceFloat,
long numberOfMillisToSleepLong)
This method init the simulation in taking in account the different parameters for the different layer of the filter. |
void |
mouseClicked(MouseEvent e)
When the mouse is clicked. |
void |
mouseEntered(MouseEvent e)
When the mouse enters. |
void |
mouseExited(MouseEvent e)
When the mouse exits. |
void |
mousePressed(MouseEvent e)
When the mouse is pressed. |
void |
mouseReleased(MouseEvent e)
When the mouse is released. |
void |
start()
This method call the start method of the ModifiedPaintSurface. |
void |
startSimulation()
Method that start the simulation. |
void |
stopSimulation()
That method stop the simulation. |
| Methods inherited from class PanelConfiguration.PanelConfiguration |
Disable,
Enable |
| Methods inherited from class java.awt.Panel |
addNotify |
| Methods inherited from class java.awt.Container |
add,
add,
add,
add,
add,
addContainerListener,
addImpl,
countComponents,
deliverEvent,
doLayout,
findComponentAt,
findComponentAt,
getAlignmentX,
getAlignmentY,
getComponent,
getComponentAt,
getComponentAt,
getComponentCount,
getComponents,
getInsets,
getLayout,
getMaximumSize,
getMinimumSize,
getPreferredSize,
insets,
invalidate,
isAncestorOf,
layout,
list,
list,
locate,
minimumSize,
paint,
paintComponents,
paramString,
preferredSize,
print,
printComponents,
processContainerEvent,
processEvent,
remove,
remove,
removeAll,
removeContainerListener,
removeNotify,
setFont,
setLayout,
update,
validate,
validateTree |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Field Detail |
protected ModifiedPaintSurface modifiedPaintSurface
PaintSurfaceprotected ToolPanel toolPanel
ToolPanel| Constructor Detail |
public ModifiedPaintSurfacePanel(int width,
int height,
Color backgroundColor)
width - The width of the modifiedPaintSurface.height - The height of the modifiedPaintSurface.backgroundColor - The backgroundColor of the ModifiedPaintSurfacePanel.ModifiedPaintSurface
public ModifiedPaintSurfacePanel(int width,
int height)
width - The width of the ModifiedPaintSurface.height - The height of the ModifiedPaintSurface.ModifiedPaintSurface| Method Detail |
public void init(ToolPanel toolPanel,
PaintSurfacePanel paintSurfacePanel)
toolPanel - The panel on which we display the help message.paintSurfacePanel - The panel we are going to get the stimuli for the algorithme.ToolPanel,
PaintSurfacePanelpublic void start()
ModifiedPaintSurface
public void initSimulation(float coneSynapticResistanceFloat,
float coneMembranarResistanceFloat,
float coneMembranarCapacityFloat,
float coneJonctionResistanceFloat,
float horizontalSynapticResistanceFloat,
float horizontalMembranarResistanceFloat,
float horizontalMembranarCapacityFloat,
float horizontalJonctionResistanceFloat,
long numberOfMillisToSleepLong)
coneSynapticResistanceFloat - The value for the synaptic resistance of the cone layer.coneMembranarResistanceFloat - The value for the membranar resistance of the cone layer.coneMembranarCapacityFloat - The value for the membranar capacity of the cone layer.coneJonctionResistanceFloat - The value for the jonction resistance of the cone layer.horizontalSynapticResistanceFloat - The value for the synaptic resistance of the horizontal layer.horizontalMembranarResistanceFloat - The value for the membranar resistance of the horizontal layer.horizontalMembranarCapacityFloat - The value for the membranar capacity of the horizontal layer.horizontalJonctionResistanceFloat - The value for the jonction resistance of the horizontal layer.numberOfMillisToSleepLong - The value of which we ara going to sleep in the algorithme.public void startSimulation()
public void stopSimulation()
public void mouseClicked(MouseEvent e)
e - The MouseEvent.public void mouseEntered(MouseEvent e)
e - The MouseEvent.public void mouseExited(MouseEvent e)
e - The MouseEvent.public void mousePressed(MouseEvent e)
e - The MouseEvent.public void mouseReleased(MouseEvent e)
e - The MouseEvent.public void componentHidden(ComponentEvent e)
e - The ComponentEventpublic void componentMoved(ComponentEvent e)
e - The ComponentEventpublic void componentResized(ComponentEvent e)
e - The ComponentEventpublic void componentShown(ComponentEvent e)
e - The ComponentEvent
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||