ikbs.illustration.base
Class IllustrationListener

java.lang.Object
  extended by ikbs.illustration.base.IllustrationListener
All Implemented Interfaces:
IllustrationOwner

public class IllustrationListener
extends java.lang.Object
implements IllustrationOwner

interface des Possesseurs d'illustrations


Field Summary
protected  java.util.Vector illustration
          La liste d'images associée
 
Constructor Summary
IllustrationListener()
           
IllustrationListener(java.util.Vector illustration)
           
 
Method Summary
 void addIllustration(Illustration uneIllu)
          Ajouter une illustration
 java.util.Vector getIllustration()
          Méthodes d'accès au Vecteur illustration
 Illustration getIllustration(int i)
          Récupérer l'illustration à l'indice i
 boolean isThereIllustration()
          Return true s'il y a des illustrations
 int nbIllustration()
          Retourne le nombre d'illustration
 void removeIllustration()
          Effacer le vecteur illustration
 void removeIllustration(int i)
          Effacer l'illustration d'indice i
 void saveIndex(java.io.BufferedWriter writer)
          Sauver index
 void setIllustration(java.util.Vector illu)
          Affecter le vecteur d'illustration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ikbs.illustration.base.IllustrationOwner
toString
 

Field Detail

illustration

protected java.util.Vector illustration
La liste d'images associée

Constructor Detail

IllustrationListener

public IllustrationListener(java.util.Vector illustration)

IllustrationListener

public IllustrationListener()
Method Detail

getIllustration

public java.util.Vector getIllustration()
Méthodes d'accès au Vecteur illustration

Specified by:
getIllustration in interface IllustrationOwner

setIllustration

public void setIllustration(java.util.Vector illu)
Affecter le vecteur d'illustration

Specified by:
setIllustration in interface IllustrationOwner

getIllustration

public Illustration getIllustration(int i)
Récupérer l'illustration à l'indice i

Specified by:
getIllustration in interface IllustrationOwner

addIllustration

public void addIllustration(Illustration uneIllu)
Ajouter une illustration

Specified by:
addIllustration in interface IllustrationOwner

isThereIllustration

public boolean isThereIllustration()
Return true s'il y a des illustrations

Specified by:
isThereIllustration in interface IllustrationOwner

nbIllustration

public int nbIllustration()
Retourne le nombre d'illustration

Specified by:
nbIllustration in interface IllustrationOwner

removeIllustration

public void removeIllustration()
Effacer le vecteur illustration

Specified by:
removeIllustration in interface IllustrationOwner

removeIllustration

public void removeIllustration(int i)
Effacer l'illustration d'indice i

Specified by:
removeIllustration in interface IllustrationOwner

saveIndex

public void saveIndex(java.io.BufferedWriter writer)
Sauver index