|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectsimu.TypeAffichage
simu.AffImage
public class AffImage
Affichage d'une animation. Appelle SimuParams.initCalculLive() au début, puis SimuParams.calculLive() à chaque itération. Le paramètre de sortie de l'algorithme doit être un tableau avec l'intensité des pixels de l'image à chaque itération, ou un tableau avec des entrées de la palette de couleurs.
| Field Summary | |
|---|---|
(package private) Affichage |
aff
|
(package private) SimuApplet |
applet
|
(package private) java.awt.Button |
bstart
|
(package private) java.awt.Button |
bstop
|
(package private) Chronos |
chrono
|
(package private) ImageCanvas |
ic
|
(package private) java.awt.Label |
info
|
(package private) boolean |
live
|
(package private) java.util.Vector |
outp
|
(package private) boolean |
sousaff
|
| Constructor Summary | |
|---|---|
AffImage(SimuApplet applet,
Affichage aff,
boolean sousaff,
boolean live)
|
|
| Method Summary | |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
|
void |
affiche(ListeValeurs in,
java.util.Vector outp)
méthode d'affichage En entrée : paramètres d'entrée sous forme d'objets type d'affichage paramètres de sortie sous forme d'objets état de la simulation |
boolean |
estLive()
|
void |
fin()
fin de la simu |
java.awt.Panel |
initPanel(java.util.Vector outp)
Création des composants AWT à afficher |
void |
setChronos(Chronos chrono)
|
void |
start()
lancement simu |
void |
stop()
arrêt temporaire de la simu |
void |
update(ListeValeurs out)
Mise à jour de l'affichage à partir des valeurs de sortie |
| Methods inherited from class simu.TypeAffichage |
|---|
ajuster, avantLancement, effacer |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
SimuApplet applet
Affichage aff
ImageCanvas ic
java.awt.Label info
Chronos chrono
java.awt.Button bstop
java.awt.Button bstart
java.util.Vector outp
boolean sousaff
boolean live
| Constructor Detail |
|---|
public AffImage(SimuApplet applet,
Affichage aff,
boolean sousaff,
boolean live)
| Method Detail |
|---|
public java.awt.Panel initPanel(java.util.Vector outp)
throws SimuException
TypeAffichage
initPanel in class TypeAffichageSimuExceptionpublic boolean estLive()
estLive in class TypeAffichagepublic void setChronos(Chronos chrono)
setChronos in class TypeAffichage
public void affiche(ListeValeurs in,
java.util.Vector outp)
throws SimuException
TypeAffichage
affiche in class TypeAffichageSimuExceptionpublic void start()
TypeAffichage
start in class TypeAffichagepublic void stop()
TypeAffichage
stop in class TypeAffichagepublic void fin()
TypeAffichage
fin in class TypeAffichage
public void update(ListeValeurs out)
throws SimuException
TypeAffichage
update in class TypeAffichageSimuExceptionpublic void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListener
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||