|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.Observable
ikbs.tools.trees.Composant
ikbs.tools.trees.Node
ikbs.graphics.NoeudRef
ikbs.graphics.model.NoeudDescriptif
public final class NoeudDescriptif
IKBS - Editeur de modèle Définition de la classe NoeudDescriptif extends Noeud David Grosser - Aout 1997 - IREMIA, Université de la Réunion Version 1.0 Revu le 16/04/97
| Field Summary |
|---|
| 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 |
void |
addRelationArrive(Relation uneRelation)
Pour ajouter une relation qui arrive sur this |
void |
addRelationDepart(Relation uneRelation)
Pour ajouter une nouvelle relation qui part sur this |
java.lang.Object |
clone()
Retourne une copie profonde de this (sans les relations) |
boolean |
controlRelation(Relation uneRelation,
Relation r)
Control si une relation est déjà présente afin d'éviter les multiples relations et n'est pas un auto-lien (un lien d'un objet sur lui meme) |
void |
copyProperties(NoeudDescriptif origine)
|
Attribut |
createAttribute()
Permet de créer un nouvel attribut (symbolic, choix par défaut) |
Attribut |
createAttribute(DescriptiveAttribute att)
Permet de créer un nouvel attribut à partir d'un DescriptiveAttribute |
void |
effacerRelation()
Lorsque l'on efface une relation |
protected void |
init()
|
void |
paint(java.awt.Graphics g,
int xRel,
int yRel)
Dessin du noeud à des coordonnées relatives |
java.awt.Rectangle |
rect()
* Les méthodes pour s'afficher ** |
void |
removeAttribut(java.lang.String s)
Pour effacer un attribut. |
void |
removeRelationDepart(Relation uneRelation)
|
void |
setRacine(boolean b)
|
| Methods inherited from class ikbs.graphics.NoeudRef |
|---|
description, dispose, find, getAbsencePossible, getCommentaire, getComponent, getDecision, getFictif, getIdentificateur, getIllustration, getInfo, getLabel, getLibelle, getMultiple, getPoids, getQuestion, getType, getUrl, nbIllustration, removeElement, replaceElement, setAbsencePossible, setCommentaire, setDecision, setFictif, setIdentificateur, setLibelle, setMultiple, setPoids, setQuestion, setType, setUrl, update |
| 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.rco.element.DescComponentInterface |
|---|
getAbsencePossible, getComponent, getFictif, getMultiple, setAbsencePossible, setFictif, setMultiple |
| Methods inherited from interface ikbs.rco.element.DescElementInterface |
|---|
getCommentaire, getDecision, getIdentificateur, getInfo, getLibelle, getPoids, getQuestion, getType, getUrl, setCommentaire, setDecision, setIdentificateur, setLibelle, setPoids, setQuestion, setType, setUrl |
| Methods inherited from interface ikbs.tools.trees.Noeud |
|---|
dansRect, height, setLabel, setLabelColor, setPos, sourisDans, width, x, y |
| Method Detail |
|---|
protected void init()
init in class Nodepublic final Attribut createAttribute()
createAttribute in interface NoeudcreateAttribute in class Nodepublic final Attribut createAttribute(DescriptiveAttribute att)
createAttribute in class NoeudRefpublic void addAttribut(DescriptiveElement de)
addAttribut in class NoeudRefpublic final void removeAttribut(java.lang.String s)
removeAttribut in interface NoeudremoveAttribut in class Nodepublic final void effacerRelation()
public final void removeRelationDepart(Relation uneRelation)
removeRelationDepart in interface NoeudremoveRelationDepart in class Node
public boolean controlRelation(Relation uneRelation,
Relation r)
public final void addRelationDepart(Relation uneRelation)
addRelationDepart in interface NoeudaddRelationDepart in class NoeudRefpublic final void addRelationArrive(Relation uneRelation)
addRelationArrive in interface NoeudaddRelationArrive in class Nodepublic final void setRacine(boolean b)
setRacine in interface NoeudsetRacine in class Nodepublic java.lang.Object clone()
clone in interface Noeudclone in class Nodepublic void copyProperties(NoeudDescriptif origine)
public final java.awt.Rectangle rect()
rect in interface Noeudrect in class Node
public final void paint(java.awt.Graphics g,
int xRel,
int yRel)
paint in interface Noeudpaint in class Node
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||