simu
Class AffPlotTab

java.lang.Object
  extended by simu.TypeAffichage
      extended by simu.AffPlotTab

public class AffPlotTab
extends TypeAffichage

Affichage d'un tableau à partir d'un ensemble de points, dont la position est calculée avec un appel à SimuParams.calcul().


Field Summary
(package private)  Affichage aff
           
(package private)  SimuApplet applet
           
(package private)  java.util.Vector outp
           
(package private)  boolean sousaff
           
(package private)  COM.Subrahmanyam.table.Table table
           
 
Constructor Summary
AffPlotTab(SimuApplet applet, Affichage aff, boolean sousaff)
           
 
Method Summary
 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
 void avantLancement()
           
 boolean estLive()
           
 java.awt.Panel initPanel(java.util.Vector outp)
          Création des composants AWT à afficher
 java.lang.String joliFormattage(double d, int precision)
           
 void update(ListeValeurs out)
          Mise à jour de l'affichage à partir des valeurs de sortie
 
Methods inherited from class simu.TypeAffichage
ajuster, effacer, fin, setChronos, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

aff

Affichage aff

outp

java.util.Vector outp

applet

SimuApplet applet

table

COM.Subrahmanyam.table.Table table

sousaff

boolean sousaff
Constructor Detail

AffPlotTab

public AffPlotTab(SimuApplet applet,
                  Affichage aff,
                  boolean sousaff)
Method Detail

initPanel

public java.awt.Panel initPanel(java.util.Vector outp)
                         throws SimuException
Description copied from class: TypeAffichage
Création des composants AWT à afficher

Specified by:
initPanel in class TypeAffichage
Throws:
SimuException

estLive

public boolean estLive()
Specified by:
estLive in class TypeAffichage

avantLancement

public void avantLancement()
Overrides:
avantLancement in class TypeAffichage

affiche

public void affiche(ListeValeurs in,
                    java.util.Vector outp)
             throws SimuException
Description copied from class: TypeAffichage
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

Specified by:
affiche in class TypeAffichage
Throws:
SimuException

update

public void update(ListeValeurs out)
            throws SimuException
Description copied from class: TypeAffichage
Mise à jour de l'affichage à partir des valeurs de sortie

Specified by:
update in class TypeAffichage
Throws:
SimuException

joliFormattage

public java.lang.String joliFormattage(double d,
                                       int precision)