org.genealogie.html
Class HtmlDocumentGenerator

java.lang.Object
  |
  +--org.genealogie.xml.XSLGenericEngine
        |
        +--org.genealogie.xml.XSLSourcesEngine
              |
              +--org.genealogie.html.HtmlDocumentGenerator
All Implemented Interfaces:
java.lang.Runnable

public class HtmlDocumentGenerator
extends XSLSourcesEngine
implements java.lang.Runnable

Classe de génération d'un acte en html

Version:
$Revision: 1.32 $
Author:
Templier Thierry

Field Summary
private  int documentId
           
private  javax.swing.JLabel etatTable
           
private  java.lang.String nomRepertoire
           
private  java.lang.Thread progress
           
private  javax.swing.JProgressBar progressBar
           
private  javax.swing.JDialog splash
           
 
Fields inherited from class org.genealogie.xml.XSLGenericEngine
actesActives, actesEnCours, documentBuilder, documentsEnCours, idsFamilles, imgSmall, lettresPages, libelleNonCommuniquable, listePersonnes, nbLignes, racineImages, templateActe, templateActesRegistre, templateCommune, templateCommuneAnnee, templateCommunes, templateCommunesRegistres, templateDocument, templateFicheTable, templatePatronyme, templatePersonne, templatePersonneIndex, templatePersonneListe, templateRegistresCommune, templateSignetsRegistre, templateTypeDocument, templateTypesDocuments, tFactory, typeActs, typeDocs, xsl
 
Constructor Summary
HtmlDocumentGenerator(java.lang.String nomRepertoire, javax.swing.JDialog splash, javax.swing.JLabel etatTable, javax.swing.JProgressBar progressBar, int documentId)
          Constructeur de la tache.
 
Method Summary
private  void chargerRessources()
          Charge les ressources ( fichier conf/properties/Conf.properties) .
 void run()
          Exécute la tache.
 
Methods inherited from class org.genealogie.xml.XSLSourcesEngine
genererActe, genererDocument, genererListeTypesDocuments, genererTypeDocumentsPage
 
Methods inherited from class org.genealogie.xml.XSLGenericEngine
compareDate, ecrirePage, getNomSmall, getTokens, initXSL, readXSL
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

nomRepertoire

private java.lang.String nomRepertoire

splash

private javax.swing.JDialog splash

etatTable

private javax.swing.JLabel etatTable

progressBar

private javax.swing.JProgressBar progressBar

documentId

private int documentId

progress

private java.lang.Thread progress
Constructor Detail

HtmlDocumentGenerator

public HtmlDocumentGenerator(java.lang.String nomRepertoire,
                             javax.swing.JDialog splash,
                             javax.swing.JLabel etatTable,
                             javax.swing.JProgressBar progressBar,
                             int documentId)
Constructeur de la tache.
Parameters:
nomRepertoire - le nom du répertoire de génération
splash - l'instance sur la fenêtre de progression ( null si la tache n'est pas lancé depuis l'ihm )
etatTable - l'instance sur le label d'état de la fenêtre de progression ( null si la tache n'est pas lancé depuis l'ihm )
progressBar - l'instance sur la barre de progression de la fenêtre de progression ( null si la tache n'est pas lancé depuis l'ihm )
documentId - l'identifiant de l'acte
Method Detail

chargerRessources

private void chargerRessources()
Charge les ressources ( fichier conf/properties/Conf.properties) .

run

public void run()
Exécute la tache.
Specified by:
run in interface java.lang.Runnable


Copyright © 2002 JGenea Ihm. All Rights Reserved.