ikbs.learning.graph
Class NoeudDecisionGraph
java.lang.Object
java.util.Observable
ikbs.tools.trees.Composant
ikbs.tools.trees.Node
ikbs.learning.graph.NoeudDecisionGraph
- All Implemented Interfaces:
- NoeudGraph, Noeud, Selectable, java.util.Observer
public class NoeudDecisionGraph
- extends Node
- implements NoeudGraph
IKBS - Editeur d'arbres de décision Définition de la classe
NoeudDecisionGraph extends NoeudGraph David Grosser - IREMIA, Université de
la Réunion
- Since:
- 11 Janvier 2000
- Version:
- 2.6
| 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.tools.trees.Node |
addAttribut, addObserver, addRelationArrive, addRelationDepart, 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, init, isFilsVisible, largeur, maxHauteur, maxLargeur, nbAtt, nbFils, nbRelationArrive, nbRelationDepart, paintActive, paintArrow, paintAtt, paintAttShadow, paintLabel, paintRelations, paintShadow, racine, rechAttPrecedent, rechAttribut, rechAttSuivant, rechIndiceRelArrive, rechIndiceRelDepart, rechRelationArrive, rechRelationDepart, rechRelationDepart, rect, rect2, rect3, rectRels, relationArrive, relationArrive, relationDepart, relationDepart, relations, removeAttribut, removeRelation, removeRelationArrive, removeRelationArrive, removeRelationDepart, removeRelationDepart, removeRelations, selectAttributs, setActiveNode, setAffAttributs, setAffMenu, setAttributs, setBgColor, setBgColorAtt, setBordered, setClicked, setDefaultColor, setLabelColorAtt, setMarque, setMarque2, setPosLien, setPosSup, setRacineColor, setRelationArrive, setRelationDepart, setSelected, setShowArrow, setVisible, showLabelRelations, supGauche, supGaucheX, supGaucheY, update, updateAttribut, visible |
| Methods inherited from class ikbs.tools.trees.Composant |
bgColor, dansRect, dimension, getLabel, 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 |
OBJECT_COLOR
public static final java.awt.Color OBJECT_COLOR
DEFAULT_COLOR
public static final java.awt.Color DEFAULT_COLOR
LEAF_COLOR
public static final java.awt.Color LEAF_COLOR
INTERMEDIATE_LEAF_COLOR
public static final java.awt.Color INTERMEDIATE_LEAF_COLOR
arbre
protected ArbreDecision arbre
initColor
public void initColor()
- Choix de la couleur des noeuds en fonction de leur type
- Specified by:
initColor in interface Noeud- Overrides:
initColor in class Node
arbreDecision
public ArbreDecision arbreDecision()
- Accès à l'arbreDecision
setArbreDecision
public void setArbreDecision(ArbreDecision ad)
- affectation de l'arbreDecision
setRacine
public void setRacine(boolean b)
- Affectation de this comme racine de l'arbre
- Specified by:
setRacine in interface Noeud- Overrides:
setRacine in class Node
getInfo
public java.lang.String getInfo()
- Specified by:
getInfo in interface Noeud- Overrides:
getInfo in class Composant
paint
public void paint(java.awt.Graphics g,
int xRel,
int yRel)
- On dessine le noeud
- Specified by:
paint in interface Noeud- Overrides:
paint in class Node