|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectikbs.tools.trees.Attribut
public class Attribut
| Field Summary | |
|---|---|
protected boolean |
cible
|
protected boolean |
clicked
|
protected java.lang.String |
label
|
protected static int |
num
|
protected Noeud |
pere
|
protected boolean |
selected
|
| Constructor Summary | |
|---|---|
Attribut(Noeud unNoeud)
|
|
Attribut(Noeud unNoeud,
java.lang.String libelle)
|
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Implémente Cloneable |
boolean |
getCible()
|
boolean |
getClicked()
L'objet est-il cliqué |
java.awt.Color |
getColorType()
|
java.lang.String |
getInfo()
Retourne l'info associée |
java.lang.String |
getLabel()
Le label de l'objet sélectionné |
Noeud |
getPere()
|
boolean |
getSelected()
Interface Selectable * |
void |
initNewPere(Noeud pere)
|
boolean |
isThereIllustration()
s'il y a des illustrations associées |
int |
nbIllustration()
Par défaut, cette méthode retourne 0. |
void |
setCible(boolean cible)
|
void |
setClicked(boolean clicked)
L'objet est cliqué |
void |
setLabel(java.lang.String libelle)
|
void |
setPere(Noeud pere)
|
void |
setSelected(boolean selected)
L'objet est sélectionné |
void |
update(java.util.Observable o,
java.lang.Object args)
Implémente Observer |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static int num
protected boolean selected
protected boolean clicked
protected boolean cible
protected java.lang.String label
protected Noeud pere
| Constructor Detail |
|---|
public Attribut(Noeud unNoeud)
public Attribut(Noeud unNoeud,
java.lang.String libelle)
| Method Detail |
|---|
public boolean getSelected()
getSelected in interface Selectablepublic void setSelected(boolean selected)
Selectable
setSelected in interface Selectablepublic boolean getClicked()
Selectable
getClicked in interface Selectablepublic void setClicked(boolean clicked)
Selectable
setClicked in interface Selectablepublic boolean getCible()
public void setCible(boolean cible)
public java.lang.String getLabel()
Selectable
getLabel in interface Selectablepublic void setLabel(java.lang.String libelle)
public void setPere(Noeud pere)
public Noeud getPere()
public java.awt.Color getColorType()
public void initNewPere(Noeud pere)
public boolean isThereIllustration()
public int nbIllustration()
public void update(java.util.Observable o,
java.lang.Object args)
update in interface java.util.Observerpublic java.lang.Object clone()
clone in class java.lang.Objectpublic java.lang.String getInfo()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||