|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject mavis.ProjectEvent
public class ProjectEvent
ProjectEvent is used to notify others about the state change of a project.
Nested Class Summary | |
---|---|
static class |
ProjectEvent.Type
The type of a project event. |
Field Summary | |
---|---|
private Project |
project
The project that sent this event. |
private ProjectEvent.Type |
type
The type of event this is. |
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
ProjectEvent(Project project,
ProjectEvent.Type type)
Creates a new project event. |
Method Summary | |
---|---|
Project |
getProject()
Returns the project that sent this event. |
ProjectEvent.Type |
getType()
Returns the type of this event. |
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 ProjectEvent.Type type
Constructor Detail |
---|
public ProjectEvent(Project project, ProjectEvent.Type type)
project
- the project that sends this event.type
- the type of the event.
java.lang.NullPointerException
- if any of the arguments is null.Method Detail |
---|
public Project getProject()
public ProjectEvent.Type getType()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |