ikbs.illustration.trees
Class IndexToGraph

java.lang.Object
  extended by ikbs.illustration.trees.IndexToGraph

public class IndexToGraph
extends java.lang.Object

Permet de créer l'arbre graphique des illustrations retourne la racine de l'arbre

Author:
David Grosser

Constructor Summary
IndexToGraph(ActionGraphViewer canvas)
           
 
Method Summary
 NoeudIllustration asGraphic(IllustrationOwner owner)
          Pour générer automatiquement une arborescence à partir d'un owner
 NoeudIllustration asGraphic(IllustrationPicture ip)
          Pour générer un arbre graphique à partir d'un modèle Méthode récursive, retourne la racine de l'arbre graphique calculé
 NoeudIllustration asGraphic(java.util.Vector vIllu)
          Pour générer automatiquement une arborescence à partir d'un vecteur d'illustrations
 void genNoeudAtt(NoeudIllustration unNoeud, IllustrationPicture illu)
          Ajoute soit un Noeud, soit un attribut au noeud
 void genNoeudAtt(NoeudIllustration unNoeud, java.util.Vector vIllu)
          Pour ajouter un Vecteur d'illustrations au noeud
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexToGraph

public IndexToGraph(ActionGraphViewer canvas)
Method Detail

asGraphic

public NoeudIllustration asGraphic(IllustrationOwner owner)
Pour générer automatiquement une arborescence à partir d'un owner


asGraphic

public NoeudIllustration asGraphic(java.util.Vector vIllu)
Pour générer automatiquement une arborescence à partir d'un vecteur d'illustrations


asGraphic

public NoeudIllustration asGraphic(IllustrationPicture ip)
Pour générer un arbre graphique à partir d'un modèle Méthode récursive, retourne la racine de l'arbre graphique calculé


genNoeudAtt

public void genNoeudAtt(NoeudIllustration unNoeud,
                        java.util.Vector vIllu)
Pour ajouter un Vecteur d'illustrations au noeud


genNoeudAtt

public void genNoeudAtt(NoeudIllustration unNoeud,
                        IllustrationPicture illu)
Ajoute soit un Noeud, soit un attribut au noeud