|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
javax.swing.event.ChangeEvent
argutia.events.ComputationEvent
public class ComputationEvent
Événement concernant l'analyse syntaxique, le calcul de la situation ou la génération des arguments.
ComputationListener
,
Serialized FormNested Class Summary | |
---|---|
static class |
ComputationEvent.Type
Types possibles de l'événement. |
Field Summary | |
---|---|
private static long |
serialVersionUID
The serial version of this class. |
private Situation |
situation
Situation de l'événement. |
private double |
tempsDeCalcul
Temps de calcul associé à l'événement. |
private ComputationEvent.Type |
type
Type de l'événement. |
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
ComputationEvent(Object source,
ComputationEvent.Type type,
Situation situation,
double tempsDeCalcul)
Construit un événement concernant l'analyse syntaxique, le calcul de la situation ou la génération des arguments. |
Method Summary | |
---|---|
Situation |
getSituation()
Retourne la situation associée à l'événement. |
double |
getTempsDeCalcul()
Retourne le temps de calcul associé à l'événement. |
ComputationEvent.Type |
getType()
Retourne le type de l'événement. |
String |
toString()
|
Methods inherited from class java.util.EventObject |
---|
getSource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
Serializable
,
Constant Field Values-4472509654037416780L
private final Situation situation
getSituation()
private final double tempsDeCalcul
getTempsDeCalcul()
private final ComputationEvent.Type type
ComputationEvent.Type
,
getType()
Constructor Detail |
---|
public ComputationEvent(Object source,
ComputationEvent.Type type,
Situation situation,
double tempsDeCalcul)
source
- objet source de l'événement.type
- type de l'événement.situation
- situation associée.tempsDeCalcul
- temps de calcul associé.Method Detail |
---|
public Situation getSituation()
situation
public double getTempsDeCalcul()
tempsDeCalcul
public ComputationEvent.Type getType()
type
public String toString()
toString
in class EventObject
|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |