ikbs.graphics.cases
Class NoeudCas
java.lang.Object
java.util.Observable
ikbs.tools.trees.Composant
ikbs.tools.trees.Node
ikbs.graphics.NoeudRef
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
| 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 |
| 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 |
status
protected ObjectValue status
attVal
protected AttributValeur attVal
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