Main Page | Packages | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

ikayaki.ProjectEvent Class Reference

Collaboration diagram for ikayaki.ProjectEvent:

Collaboration graph
[legend]
List of all members.

Public Types

enum  Type { STATE_CHANGED, DATA_CHANGED, FILE_SAVED }

Public Member Functions

 ProjectEvent (Project project, Type type)
Project getProject ()
Type getType ()

Private Attributes

Project project
Type type

Detailed Description

ProjectEvent is used to notify others about the state change of a project.

Author:
Esko Luontola

Definition at line 31 of file ProjectEvent.java.


Member Enumeration Documentation

enum ikayaki::ProjectEvent::Type
 

The type of a project event.

Enumeration values:
STATE_CHANGED 
DATA_CHANGED 
FILE_SAVED 

Definition at line 76 of file ProjectEvent.java.


Constructor & Destructor Documentation

ikayaki.ProjectEvent.ProjectEvent Project  project,
Type  type
 

Creates a new project event.

Parameters:
project the project that sends this event.
type the type of the event.
Exceptions:
NullPointerException if any of the arguments is null.

Definition at line 50 of file ProjectEvent.java.

References ikayaki.Project.type.


Member Function Documentation

Project ikayaki.ProjectEvent.getProject  ) 
 

Returns the project that sent this event.

Definition at line 62 of file ProjectEvent.java.

References ikayaki.ProjectEvent.project.

Referenced by ikayaki.gui.ProjectExplorerTable.ProjectExplorerTableModel.projectUpdated(), and ikayaki.gui.MainViewPanel.projectUpdated().

Type ikayaki.ProjectEvent.getType  ) 
 

Returns the type of this event.

Definition at line 69 of file ProjectEvent.java.

References ikayaki.ProjectEvent.type.

Referenced by ikayaki.gui.ProjectExplorerTable.ProjectExplorerTableModel.projectUpdated(), ikayaki.gui.MeasurementSequencePanel.projectUpdated(), ikayaki.gui.MeasurementGraphsPanel.projectUpdated(), and ikayaki.gui.MainViewPanel.projectUpdated().


Member Data Documentation

Project ikayaki.ProjectEvent.project [private]
 

The project that sent this event.

Definition at line 36 of file ProjectEvent.java.

Referenced by ikayaki.ProjectEvent.getProject().

Type ikayaki.ProjectEvent.type [private]
 

The type of event this is.

Definition at line 41 of file ProjectEvent.java.

Referenced by ikayaki.ProjectEvent.getType().


The documentation for this class was generated from the following file:
Generated on Fri May 6 16:00:49 2005 for Squid by  doxygen 1.4.1