|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectikbs.rco.event.NotifyElement
public class NotifyElement
IKBS ikbs.rco.event Classe qui encapsule les evenements survenues sur un ElementDescriptif Les instances sont construites par les élements du modèle et propagé aux Observateurs
| Field Summary | |
|---|---|
protected int |
action
|
static int |
ADD_RULE
|
protected boolean |
b
|
static int |
COMMENTAIRE_CHANGED
|
static int |
DECISION_CHANGED
|
static int |
DEFAUT_CHANGED
|
protected DescriptiveElement |
element
|
protected float |
f
|
static int |
IDENTIFICATEUR_CHANGED
|
protected int |
index
|
static int |
LIBELLE_CHANGED
|
protected DescriptiveElement |
newElement
|
static int |
POIDS_CHANGED
|
static int |
QUESTION_CHANGED
|
static int |
REMOVE_RULE
|
static int |
REPLACE
|
static int |
REPLACE_RULE
|
protected Rule |
rule
|
static int |
URL_CHANGED
|
protected Value |
v
|
protected java.lang.String |
valeur
|
| Constructor Summary | |
|---|---|
NotifyElement(DescriptiveElement element,
int action)
|
|
NotifyElement(DescriptiveElement element,
int action,
boolean b)
|
|
NotifyElement(DescriptiveElement element,
int action,
DescriptiveElement newElement)
|
|
NotifyElement(DescriptiveElement element,
int action,
float fl)
Constructeur avec un paramètre de type float |
|
NotifyElement(DescriptiveElement element,
int action,
int index)
|
|
NotifyElement(DescriptiveElement element,
int action,
Rule rule)
|
|
NotifyElement(DescriptiveElement element,
int action,
Rule rule,
int index)
|
|
NotifyElement(DescriptiveElement element,
int action,
java.lang.String valeur)
|
|
NotifyElement(DescriptiveElement element,
int action,
Value v)
|
|
| Method Summary | |
|---|---|
int |
getAction()
Accès à l'id de l'action |
boolean |
getBoolean()
|
DescriptiveElement |
getElement()
Accès au DescriptiveElement sur lequel s'est produit l'action |
float |
getFloat()
|
int |
getIndex()
|
DescriptiveElement |
getNewElement()
Accès au nouvel élement lorsque l'action a transformée l'ancien élement |
Rule |
getRule()
|
java.lang.String |
getString()
Accès à la chaine de caractères |
Value |
getValue()
|
void |
setAction(int action)
Affectation du type d'action |
void |
setFloat(float f)
|
void |
setIndex(int index)
|
void |
setRule(Rule rule)
|
void |
setString(java.lang.String s)
Affectation de la chaine de caractères |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int REPLACE
public static final int LIBELLE_CHANGED
public static final int IDENTIFICATEUR_CHANGED
public static final int COMMENTAIRE_CHANGED
public static final int URL_CHANGED
public static final int QUESTION_CHANGED
public static final int DEFAUT_CHANGED
public static final int DECISION_CHANGED
public static final int POIDS_CHANGED
public static final int ADD_RULE
public static final int REMOVE_RULE
public static final int REPLACE_RULE
protected int index
protected Value v
protected Rule rule
protected float f
protected boolean b
protected DescriptiveElement element
protected DescriptiveElement newElement
protected int action
protected java.lang.String valeur
| Constructor Detail |
|---|
public NotifyElement(DescriptiveElement element,
int action)
public NotifyElement(DescriptiveElement element,
int action,
java.lang.String valeur)
public NotifyElement(DescriptiveElement element,
int action,
Rule rule)
public NotifyElement(DescriptiveElement element,
int action,
Rule rule,
int index)
public NotifyElement(DescriptiveElement element,
int action,
int index)
public NotifyElement(DescriptiveElement element,
int action,
Value v)
public NotifyElement(DescriptiveElement element,
int action,
boolean b)
public NotifyElement(DescriptiveElement element,
int action,
DescriptiveElement newElement)
public NotifyElement(DescriptiveElement element,
int action,
float fl)
| Method Detail |
|---|
public int getIndex()
public int getAction()
public void setAction(int action)
public java.lang.String getString()
public void setString(java.lang.String s)
public DescriptiveElement getElement()
public DescriptiveElement getNewElement()
public boolean getBoolean()
public Value getValue()
public float getFloat()
public void setFloat(float f)
public java.lang.String toString()
toString in class java.lang.Objectpublic void setRule(Rule rule)
public void setIndex(int index)
public Rule getRule()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||