|
|||||||||
| 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
|
+--java.applet.Applet
|
+--RetineSimulation
This class is the main class of the retina algorithme. It put all the panel in the right place and initialise them.
PanelConfiguration, Serialized Form| Field Summary | |
protected Panel |
centerEastPanel
The center east panel (see code for more informations). |
protected Panel |
centerPanel
The center panel (see code for more informations). |
protected Panel |
centerWestPanel
The center west panel (see code for more informations). |
protected FormsMakerPanel |
formsMakerPanel
The forms maker panel. |
protected int |
height
The height of the PaintSurface and the ModifiedPaintSurface. |
protected ModifiedPaintSurfacePanel |
modifiedPaintSurfacePanel
The modified paintsurface panel. |
protected Panel |
northEastPanel
The north east panel (see code for more informations). |
protected Panel |
northPanel
The north panel (see code for more informations). |
protected Panel |
northWestPanel
The north west panel (see code for more informations). |
protected PaintSurfacePanel |
paintSurfacePanel
The paintsurface panel. |
protected RCImagePanel |
rcImagePanel
The RC image panel. |
protected RetineConfigurationPanel |
retineConfigurationPanel
The retine configuration panel. |
protected TitlePanel |
titlePanel
The title panel. |
protected ToolPanel |
toolPanel
The tool panel. |
protected int |
width
The width of the PaintSurface and the ModifiedPaintSurface. |
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT,
CENTER_ALIGNMENT,
LEFT_ALIGNMENT,
RIGHT_ALIGNMENT,
TOP_ALIGNMENT |
| Constructor Summary | |
RetineSimulation()
The constructor. |
|
| Method Summary | |
void |
centerElements(RetineSimulation retineSimulation)
This method center the paintsurface and the modifiedpaintsurface |
void |
componentHidden(ComponentEvent e)
Method to know if the component is hidden. |
void |
componentMoved(ComponentEvent e)
Method to know if the component is moved. |
void |
componentResized(ComponentEvent e)
Method to know if the component is resized. |
void |
componentShown(ComponentEvent e)
Method to know if the component is shown. |
void |
destroy()
This method is called when the applet is destroyed. |
void |
init()
Initialisation of all the panel with the right parameters. |
void |
initMain(Frame myFrame)
This method initialize the retina algorithm with the right values when we want to start it in a frame. |
static void |
main(String[] args)
Main method. |
void |
start()
We start the applet. |
void |
stop()
This method is called when the applet is stopped. |
| Methods inherited from class java.applet.Applet |
getAppletContext,
getAppletInfo,
getAudioClip,
getAudioClip,
getCodeBase,
getDocumentBase,
getImage,
getImage,
getLocale,
getParameter,
getParameterInfo,
isActive,
newAudioClip,
play,
play,
resize,
resize,
setStub,
showStatus |
| 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 final int width
PaintSurface,
ModifiedPaintSurfaceprotected final int height
PaintSurface,
ModifiedPaintSurfaceprotected PaintSurfacePanel paintSurfacePanel
PaintSurfacePanelprotected ModifiedPaintSurfacePanel modifiedPaintSurfacePanel
ModifiedPaintSurfacePanelprotected FormsMakerPanel formsMakerPanel
FormsMakerPanelprotected RetineConfigurationPanel retineConfigurationPanel
PaintSurfacePanelprotected TitlePanel titlePanel
TitlePanelprotected ToolPanel toolPanel
ToolPanelprotected RCImagePanel rcImagePanel
RCImagePanelprotected Panel northPanel
protected Panel northEastPanel
protected Panel northWestPanel
protected Panel centerPanel
protected Panel centerEastPanel
protected Panel centerWestPanel
| Constructor Detail |
public RetineSimulation()
| Method Detail |
public void init()
public void initMain(Frame myFrame)
myFrame - The frame in which we want to show the retina applet.public void start()
public void stop()
public void destroy()
public void centerElements(RetineSimulation retineSimulation)
retineSimulation - this class.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 ComponentEventpublic static void main(String[] args)
args - The argument of the command line.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||