|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectikbs.tools.trees.Attribut
ikbs.graphics.AttributGraph
public abstract class AttributGraph
Noeud graphique qui fait la liaison entre les attributs et leur représentation graphique IKBS v2.6 Implémente la vue graphique des attributs descriptifs et des attributs valeur
| Field Summary | |
|---|---|
protected static java.awt.Color |
NUMERIC
|
protected static java.awt.Color |
SYMBOLIC
|
protected static java.awt.Color |
TAXONOMIC
|
protected static java.awt.Color |
TEXT
|
protected DescriptiveAttribute |
type
|
| Fields inherited from class ikbs.tools.trees.Attribut |
|---|
cible, clicked, label, num, pere, selected |
| Constructor Summary | |
|---|---|
AttributGraph(Noeud pere,
DescriptiveAttribute attDesc)
Constructeur Lorsque l'attribut existe déjà et qu'il faut construire la vue graphique |
|
| Method Summary | |
|---|---|
DescriptiveAttribute |
getAttribute()
Accès au type avec casting |
boolean |
getCible()
Retourne true si this est la cible |
java.awt.Color |
getColorType()
|
java.lang.String |
getCommentaire()
Accès au commentaire |
boolean |
getDecision()
Return true si l'attribut est discriminant |
java.lang.String |
getIdentificateur()
Accès à l'identificateur |
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 |
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 |
protected void |
init()
|
boolean |
isThereIllustration()
s'il y a des illustrations associées |
int |
nbIllustration()
Par défaut, cette méthode retourne 0. |
void |
setCible()
Affectation de la cible |
void |
setCommentaire(java.lang.String c)
Affectation du commentaire |
void |
setDecision(boolean b)
Modification de la variable discriminant |
void |
setIdentificateur(java.lang.String s)
Modification du type |
void |
setLibelle(java.lang.String libelle)
Affecter le libellé de l'élément descriptif |
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, modification du modèle sous-jacent |
void |
setUrl(java.lang.String url)
Affectation de l'URL |
java.lang.String |
toString()
|
void |
update(java.util.Observable o,
java.lang.Object args)
Implémente Observer |
| Methods inherited from class ikbs.tools.trees.Attribut |
|---|
clone, getClicked, getPere, getSelected, initNewPere, setCible, setClicked, setLabel, setPere, setSelected |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static java.awt.Color NUMERIC
protected static java.awt.Color SYMBOLIC
protected static java.awt.Color TEXT
protected static java.awt.Color TAXONOMIC
protected DescriptiveAttribute type
| Constructor Detail |
|---|
public AttributGraph(Noeud pere,
DescriptiveAttribute attDesc)
| Method Detail |
|---|
protected void init()
public java.awt.Color getColorType()
getColorType in class Attributpublic boolean isThereIllustration()
Attribut
isThereIllustration in class Attributpublic int nbIllustration()
Attribut
nbIllustration in class Attribut
public void update(java.util.Observable o,
java.lang.Object args)
Attribut
update in interface java.util.Observerupdate in class Attributpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getLibelle()
getLibelle in interface DescElementInterfacepublic java.lang.String getLabel()
getLabel in interface SelectablegetLabel in class Attributpublic 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 class Attributpublic DescriptiveAttribute getAttribute()
DescAttributeInterface
getAttribute in interface DescAttributeInterfacepublic boolean getCible()
getCible in interface DescAttributeInterfacegetCible in class Attributpublic void setCible()
setCible in interface DescAttributeInterface
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||