ikbs.graphics.cases
Class NoeudCas

java.lang.Object
  extended by java.util.Observable
      extended by ikbs.tools.trees.Composant
          extended by ikbs.tools.trees.Node
              extended by ikbs.graphics.NoeudRef
                  extended by ikbs.graphics.cases.NoeudCas
All Implemented Interfaces:
DescElementInterface, Noeud, Selectable, java.util.Observer

public class NoeudCas
extends NoeudRef

IKBS - Editeur de cas Définition de la classe NoeudCas, pour l'affichage des noeuds de l'éditeur de cas

Author:
David Grosser

Field Summary
protected  AttributValeur attVal
           
protected  ObjectValue status
           
 
Fields inherited from class ikbs.graphics.NoeudRef
component
 
Fields inherited from class ikbs.tools.trees.Node
activeNode, affAttributs, affMenu, angleArrow, attributs, bordered, clicked, defaultColor, marque, marque2, num, racine, racineColor, rect3, relationArrive, relationDepart, selected, visible, widthArrow
 
Fields inherited from class ikbs.tools.trees.Composant
bgColor, cible_color, dimension, heightLabel, label, labelColor, shadow_color, shadowSize, show, widthLabel, x, y
 
Method Summary
 void addAttribut(DescriptiveElement de)
          Pour ajouter un attribut descriptif L'attribut est créé et rajouté au noeud
 Attribut createAttribute(DescriptiveAttribute att)
          Permet de créer un nouvel attribut graphique à partir d'un DescriptiveAttribute
 boolean getIllustration()
           
 ObjectValue getStatus()
           
protected  void init()
           
 int nbIllustration()
           
 void paint(java.awt.Graphics g, int xRel, int yRel)
          Les méthodes pour s'afficher
 java.awt.Rectangle rect()
           
 void removeAttribut(java.lang.String s)
          Pour effacer un attribut.
 void setAffAttributs(boolean b)
           
 void setStatus(ObjectValue vo)
           
 java.lang.String statusAsText()
           
 void update(java.util.Observable o, java.lang.Object args)
          Mise à jours du noeud descriptif lorsque des évenements de modifications surviennent dans le RCO
 
Methods inherited from class ikbs.graphics.NoeudRef
addRelationDepart, description, dispose, find, getAbsencePossible, getCommentaire, getComponent, getDecision, getFictif, getIdentificateur, getInfo, getLabel, getLibelle, getMultiple, getPoids, getQuestion, getType, getUrl, removeElement, replaceElement, setAbsencePossible, setCommentaire, setDecision, setFictif, setIdentificateur, setLibelle, setMultiple, setPoids, setQuestion, setType, setUrl
 
Methods inherited from class ikbs.tools.trees.Node
addAttribut, addObserver, addRelationArrive, affAttributs, affMenu, attribut, attribut, attributs, bouge, calculDimension, calculDimensionAtt, calculDimensionMButton, calculDimensionObj, calculDimensionRel, changeFormeRelation, clone, createAttribute, dansAttributs, fils, fils, find, getActiveNode, getClicked, getMarque, getMarque2, getRacine, getSelected, infDroit, infDroitX, infDroitY, initColor, isFilsVisible, largeur, maxHauteur, maxLargeur, nbAtt, nbFils, nbRelationArrive, nbRelationDepart, paintActive, paintArrow, paintAtt, paintAttShadow, paintLabel, paintRelations, paintShadow, racine, rechAttPrecedent, rechAttribut, rechAttSuivant, rechIndiceRelArrive, rechIndiceRelDepart, rechRelationArrive, rechRelationDepart, rechRelationDepart, rect2, rect3, rectRels, relationArrive, relationArrive, relationDepart, relationDepart, relations, removeRelation, removeRelationArrive, removeRelationArrive, removeRelationDepart, removeRelationDepart, removeRelations, selectAttributs, setActiveNode, setAffMenu, setAttributs, setBgColor, setBgColorAtt, setBordered, setClicked, setDefaultColor, setLabelColorAtt, setMarque, setMarque2, setPosLien, setPosSup, setRacine, setRacineColor, setRelationArrive, setRelationDepart, setSelected, setShowArrow, setVisible, showLabelRelations, supGauche, supGaucheX, supGaucheY, updateAttribut, visible
 
Methods inherited from class ikbs.tools.trees.Composant
bgColor, dansRect, dimension, height, heightLabel, hideLabel, labelColor, pos, setDimension, setHeight, setHeightLabel, setLabel, setLabelColor, setPos, setPos, setPos, setWidth, setWidthLabel, setX, setY, showed, showLabel, sourisDans, toString, width, widthLabel, x, xd, y
 
Methods inherited from class java.util.Observable
clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface ikbs.tools.trees.Noeud
dansRect, height, setLabel, setLabelColor, setPos, sourisDans, width, x, y
 

Field Detail

status

protected ObjectValue status

attVal

protected AttributValeur attVal
Method Detail

init

protected void init()
Overrides:
init in class Node

setAffAttributs

public void setAffAttributs(boolean b)
Specified by:
setAffAttributs in interface Noeud
Overrides:
setAffAttributs in class Node

addAttribut

public void addAttribut(DescriptiveElement de)
Pour ajouter un attribut descriptif L'attribut est créé et rajouté au noeud

Specified by:
addAttribut in class NoeudRef

createAttribute

public Attribut createAttribute(DescriptiveAttribute att)
Permet de créer un nouvel attribut graphique à partir d'un DescriptiveAttribute

Specified by:
createAttribute in class NoeudRef

removeAttribut

public final void removeAttribut(java.lang.String s)
Pour effacer un attribut. On conserve l'attribut temporairement

Specified by:
removeAttribut in interface Noeud
Overrides:
removeAttribut in class Node

rect

public java.awt.Rectangle rect()
Specified by:
rect in interface Noeud
Overrides:
rect in class Node

setStatus

public void setStatus(ObjectValue vo)

getStatus

public ObjectValue getStatus()

statusAsText

public java.lang.String statusAsText()

nbIllustration

public int nbIllustration()
Overrides:
nbIllustration in class NoeudRef

getIllustration

public boolean getIllustration()
Overrides:
getIllustration in class NoeudRef

paint

public void paint(java.awt.Graphics g,
                  int xRel,
                  int yRel)
Les méthodes pour s'afficher

Specified by:
paint in interface Noeud
Overrides:
paint in class Node

update

public void update(java.util.Observable o,
                   java.lang.Object args)
Mise à jours du noeud descriptif lorsque des évenements de modifications surviennent dans le RCO

Specified by:
update in interface java.util.Observer
Overrides:
update in class NoeudRef