|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsimu.TypeAffichage
simu.AffPlot
public class AffPlot
Affichage d'un graphe à partir d'un ensemble de points. Appelle SimuParams.calcul() au début pour le calcul des positions des points.
Field Summary | |
---|---|
(package private) Affichage |
aff
|
(package private) SimuApplet |
applet
|
(package private) java.awt.Label |
info
|
(package private) int |
nd
|
(package private) java.util.Vector |
outp
|
(package private) SimuPlot |
plot
|
(package private) boolean |
sousaff
|
Constructor Summary | |
---|---|
AffPlot(SimuApplet applet,
Affichage aff,
boolean sousaff)
|
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 |
protected void |
ajouterBoutons(java.awt.Panel p)
|
void |
ajuster()
ajustement du graphe |
void |
effacer()
effacement affichage |
boolean |
estLive()
|
java.awt.Panel |
initPanel(java.util.Vector outp)
Création des composants AWT à afficher |
protected void |
initPlot()
|
void |
update(ListeValeurs out)
Mise à jour de l'affichage à partir des valeurs de sortie |
Methods inherited from class simu.TypeAffichage |
---|
avantLancement, fin, setChronos, start, stop |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
SimuPlot plot
SimuApplet applet
java.util.Vector outp
Affichage aff
int nd
java.awt.Label info
boolean sousaff
Constructor Detail |
---|
public AffPlot(SimuApplet applet, Affichage aff, boolean sousaff)
Method Detail |
---|
public java.awt.Panel initPanel(java.util.Vector outp) throws SimuException
TypeAffichage
initPanel
in class TypeAffichage
SimuException
public boolean estLive()
estLive
in class TypeAffichage
public void affiche(ListeValeurs in, java.util.Vector outp) throws SimuException
TypeAffichage
affiche
in class TypeAffichage
SimuException
public void update(ListeValeurs out) throws SimuException
TypeAffichage
update
in class TypeAffichage
SimuException
protected void initPlot()
protected void ajouterBoutons(java.awt.Panel p)
public void effacer()
TypeAffichage
effacer
in class TypeAffichage
public void ajuster()
TypeAffichage
ajuster
in class TypeAffichage
public 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 |