|
||||||||||
| 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
public abstract class NoeudRef
NoeudRef implémente la racine des noeuds graphiques (NoeudDesc et NoeudCas) Correspond à la représentation graphique des Noeuds
| Field Summary | |
|---|---|
protected DescriptiveComponent |
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 |
| Constructor Summary | |
|---|---|
NoeudRef()
|
|
NoeudRef(DescriptiveComponent component,
java.awt.Point position)
|
|
NoeudRef(java.awt.Point position)
|
|
NoeudRef(java.lang.String nom)
|
|
NoeudRef(java.lang.String nom,
DescriptiveComponent component,
java.awt.Point position)
|
|
NoeudRef(java.lang.String nom,
java.awt.Point position)
|
|
| Method Summary | |
|---|---|
abstract void |
addAttribut(DescriptiveElement de)
Pour ajouter un attribut descriptif L'attribut est créé et rajouté au noeud |
void |
addRelationDepart(Relation uneRelation)
Pour ajouter une relation au départ de this |
abstract Attribut |
createAttribute(DescriptiveAttribute att)
|
java.lang.String |
description()
Pour récupérer la description textuelle des noeuds |
void |
dispose()
|
int |
find(DescriptiveElement element)
Retourne l'index dans la liste des Attributs de element |
boolean |
getAbsencePossible()
Accès à absence possible |
java.lang.String |
getCommentaire()
Accès au commentaire |
DescriptiveComponent |
getComponent()
|
boolean |
getDecision()
Return true si l'attribut est discriminant |
boolean |
getFictif()
Accès à fictif |
java.lang.String |
getIdentificateur()
Accès à l'identificateur |
boolean |
getIllustration()
|
java.lang.String |
getInfo()
Information associée au type |
java.lang.String |
getLabel()
Surcharge de l'accès au label, remplacé par le libelle |
java.lang.String |
getLibelle()
Récupérer le libellé de l'élément descriptif |
boolean |
getMultiple()
Accès à multiple |
float |
getPoids()
Accès au poids de l'élément |
java.lang.String |
getQuestion()
Accès à la question |
DescriptiveElement |
getType()
Accès au type |
java.lang.String |
getUrl()
Accès à l'URL |
int |
nbIllustration()
|
void |
removeElement(DescriptiveElement de)
Pour effacer un composant |
DescriptiveElement |
replaceElement(DescriptiveElement oldElement,
DescriptiveElement newElement)
Pour substituer le component par un autre |
void |
setAbsencePossible(boolean b)
Affectation de absence possible |
void |
setCommentaire(java.lang.String c)
Affectation du commentaire |
void |
setDecision(boolean b)
Modification de la variable discriminant |
void |
setFictif(boolean b)
Affectation de fictif |
void |
setIdentificateur(java.lang.String s)
Modification du type |
void |
setLibelle(java.lang.String libelle)
Affecter le libellé de l'élément descriptif |
void |
setMultiple(boolean b)
Affectation de multiple |
void |
setPoids(float f)
Affectation du poids associé à l'élément |
void |
setQuestion(java.lang.String s)
Affectation de la question |
void |
setType(DescriptiveElement de)
Affectation du type |
void |
setUrl(java.lang.String url)
Affectation de l'URL |
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.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 |
|---|
protected DescriptiveComponent component
| Constructor Detail |
|---|
public NoeudRef()
public NoeudRef(java.lang.String nom)
public NoeudRef(java.lang.String nom,
java.awt.Point position)
public NoeudRef(java.awt.Point position)
public NoeudRef(DescriptiveComponent component,
java.awt.Point position)
public NoeudRef(java.lang.String nom,
DescriptiveComponent component,
java.awt.Point position)
| Method Detail |
|---|
public void addRelationDepart(Relation uneRelation)
addRelationDepart in interface NoeudaddRelationDepart in class Nodepublic java.lang.String getLibelle()
getLibelle in interface DescElementInterfacepublic java.lang.String getLabel()
getLabel in interface NoeudgetLabel in interface SelectablegetLabel in class Composantpublic void setLibelle(java.lang.String libelle)
setLibelle in interface DescElementInterfacepublic DescriptiveElement getType()
getType in interface DescElementInterfacepublic void setType(DescriptiveElement de)
setType in interface DescElementInterfacepublic java.lang.String getIdentificateur()
getIdentificateur in interface DescElementInterfacepublic void setIdentificateur(java.lang.String s)
setIdentificateur in interface DescElementInterfacepublic java.lang.String getCommentaire()
getCommentaire in interface DescElementInterfacepublic void setCommentaire(java.lang.String c)
setCommentaire in interface DescElementInterfacepublic java.lang.String getUrl()
getUrl in interface DescElementInterfacepublic void setUrl(java.lang.String url)
setUrl in interface DescElementInterfacepublic java.lang.String getQuestion()
getQuestion in interface DescElementInterfacepublic void setQuestion(java.lang.String s)
setQuestion in interface DescElementInterfacepublic boolean getDecision()
getDecision in interface DescElementInterfacepublic void setDecision(boolean b)
setDecision in interface DescElementInterfacepublic float getPoids()
getPoids in interface DescElementInterfacepublic void setPoids(float f)
setPoids in interface DescElementInterfacepublic java.lang.String getInfo()
getInfo in interface DescElementInterfacegetInfo in interface NoeudgetInfo in class Composantpublic boolean getIllustration()
public int nbIllustration()
public DescriptiveComponent getComponent()
public boolean getFictif()
public void setFictif(boolean b)
public boolean getAbsencePossible()
public void setAbsencePossible(boolean b)
public boolean getMultiple()
public void setMultiple(boolean b)
public final java.lang.String description()
public abstract void addAttribut(DescriptiveElement de)
public DescriptiveElement replaceElement(DescriptiveElement oldElement,
DescriptiveElement newElement)
public int find(DescriptiveElement element)
public abstract Attribut createAttribute(DescriptiveAttribute att)
public void removeElement(DescriptiveElement de)
public void update(java.util.Observable o,
java.lang.Object args)
update in interface java.util.Observerupdate in class Nodepublic void dispose()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||