|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject mavis.MeasurementEvent
public class MeasurementEvent
MeasurementEvent is used to notify listeners about the stages of an ongoing measurement.
Nested Class Summary | |
---|---|
static class |
MeasurementEvent.Type
The type of a measurement event. |
Field Summary | |
---|---|
private Project |
project
The project whose measurement sent this event. |
private MeasurementStep |
step
The measurement that sent this event. |
private MeasurementEvent.Type |
type
The type of event this is. |
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
MeasurementEvent(Project project,
MeasurementStep step,
MeasurementEvent.Type type)
Creates a new measurement event. |
Method Summary | |
---|---|
Project |
getProject()
Returns the project whose measurement sent this event. |
MeasurementStep |
getStep()
Returns the measurement that sent this event. |
MeasurementEvent.Type |
getType()
Returns the type of event this is. |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private Project project
private MeasurementStep step
private MeasurementEvent.Type type
Constructor Detail |
---|
public MeasurementEvent(Project project, MeasurementStep step, MeasurementEvent.Type type)
project
- the project whose measurement sent this event.step
- the measurement that sent this event.type
- the type of event this is.
java.lang.NullPointerException
- if project or type is null.Method Detail |
---|
public Project getProject()
public MeasurementStep getStep()
public MeasurementEvent.Type getType()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |