org.genealogie.pdf
Class GenerateurPdfDescendant

java.lang.Object
  |
  +--org.genealogie.pdf.GenerateurPdfDescendant
All Implemented Interfaces:
java.lang.Runnable, org.genealogie.utils.Tache

public class GenerateurPdfDescendant
extends java.lang.Object
implements java.lang.Runnable, org.genealogie.utils.Tache


Field Summary
private  int border
           
private  boolean detail
           
private  boolean fin
           
private  GraphicDescendantArbre ga
           
private  int gy1
           
private  int gy2
           
private  int gy3
           
private  int gy4
           
private  int gy5
           
private  int gy6
           
private  int gy7
           
private  int height
           
private  java.lang.String nomFichier
           
private  java.util.Vector personnes
           
private  java.lang.Thread progress
           
private  javax.swing.JProgressBar progressBar
           
private  ProgressDialog splash
           
private  int width
           
 
Constructor Summary
GenerateurPdfDescendant(int id, int no, int gen, boolean detail, java.lang.String nomFichier, ProgressDialog splash, javax.swing.JProgressBar progressBar)
           
 
Method Summary
private  void checkSupp(com.lowagie.text.pdf.PdfContentByte cb, int cpt)
           
private  java.util.Hashtable classerEnfants(java.util.Vector enfants)
           
private  java.util.Hashtable classerEnfantsDescendants(java.util.Vector enfants)
           
 void genererFiches(com.lowagie.text.Document document, org.genealogie.dao.GenealogieBean genealogie, org.genealogie.dao.DocumentsBean documents, boolean detail)
           
 void genererGraphics(com.lowagie.text.pdf.PdfWriter writer, com.lowagie.text.Document document, org.genealogie.dao.GenealogieBean genealogie, GraphicDescendantArbre gaElt, Elt pr, int noGeneration, boolean finArbre)
           
 void genererGraphicsSupplementaires(com.lowagie.text.pdf.PdfWriter writer, com.lowagie.text.Document document, org.genealogie.dao.GenealogieBean genealogie, GraphicArbre gaElt, Elt pr, int noGeneration, boolean finArbre)
           
private  java.util.Vector getMariagesSansEnfant(int personneId)
           
private  java.util.Vector getNouveauxGraphicArbre()
           
 void interrompre()
           
private  boolean isNull(java.util.Vector generation)
           
 void run()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

personnes

private java.util.Vector personnes

ga

private GraphicDescendantArbre ga

gy7

private int gy7

gy6

private int gy6

gy5

private int gy5

gy4

private int gy4

gy3

private int gy3

gy2

private int gy2

gy1

private int gy1

width

private int width

height

private int height

border

private int border

detail

private boolean detail

nomFichier

private java.lang.String nomFichier

splash

private ProgressDialog splash

progressBar

private javax.swing.JProgressBar progressBar

fin

private boolean fin

progress

private java.lang.Thread progress
Constructor Detail

GenerateurPdfDescendant

public GenerateurPdfDescendant(int id,
                               int no,
                               int gen,
                               boolean detail,
                               java.lang.String nomFichier,
                               ProgressDialog splash,
                               javax.swing.JProgressBar progressBar)
Method Detail

interrompre

public void interrompre()
Specified by:
interrompre in interface org.genealogie.utils.Tache

run

public void run()
Specified by:
run in interface java.lang.Runnable

isNull

private boolean isNull(java.util.Vector generation)

getNouveauxGraphicArbre

private java.util.Vector getNouveauxGraphicArbre()

checkSupp

private void checkSupp(com.lowagie.text.pdf.PdfContentByte cb,
                       int cpt)

genererGraphics

public void genererGraphics(com.lowagie.text.pdf.PdfWriter writer,
                            com.lowagie.text.Document document,
                            org.genealogie.dao.GenealogieBean genealogie,
                            GraphicDescendantArbre gaElt,
                            Elt pr,
                            int noGeneration,
                            boolean finArbre)

getMariagesSansEnfant

private java.util.Vector getMariagesSansEnfant(int personneId)

classerEnfantsDescendants

private java.util.Hashtable classerEnfantsDescendants(java.util.Vector enfants)

classerEnfants

private java.util.Hashtable classerEnfants(java.util.Vector enfants)

genererGraphicsSupplementaires

public void genererGraphicsSupplementaires(com.lowagie.text.pdf.PdfWriter writer,
                                           com.lowagie.text.Document document,
                                           org.genealogie.dao.GenealogieBean genealogie,
                                           GraphicArbre gaElt,
                                           Elt pr,
                                           int noGeneration,
                                           boolean finArbre)

genererFiches

public void genererFiches(com.lowagie.text.Document document,
                          org.genealogie.dao.GenealogieBean genealogie,
                          org.genealogie.dao.DocumentsBean documents,
                          boolean detail)


Copyright © 2002 JGenea Ihm. All Rights Reserved.