Public Member Functions | |
ProjectComponent () | |
Project | getProject () |
void | setProject (Project project) |
Frame | getParentFrame () |
void | projectUpdated (ProjectEvent event) |
void | measurementUpdated (MeasurementEvent event) |
Private Attributes | |
Project | project |
Definition at line 35 of file ProjectComponent.java.
|
Initializes this ProjectComponent with no project. Definition at line 45 of file ProjectComponent.java. References ikayaki.gui.null, and ikayaki.gui.ProjectComponent.project. |
|
Returns the parent Frame of this component.
Definition at line 80 of file ProjectComponent.java. References ikayaki.gui.null. Referenced by ikayaki.gui.MainViewPanel.MainViewPanel(), and ikayaki.gui.MeasurementGraphsPanel.MeasurementGraphsPanel(). |
|
Returns the active project, or null if no project is active. Reimplemented in ikayaki.gui.MainViewPanel. Definition at line 53 of file ProjectComponent.java. References ikayaki.gui.ProjectComponent.project. Referenced by ikayaki.gui.MeasurementControlsPanel.MeasurementControlsPanel(), ikayaki.gui.ProjectInformationPanel.saveParameters(), and ikayaki.gui.ProjectInformationPanel.saveProperties(). |
|
Does nothing; subclasses override this if they want to listen MeasurementEvents.
Implements ikayaki.MeasurementListener. Reimplemented in ikayaki.gui.MeasurementControlsPanel, ikayaki.gui.MeasurementDetailsPanel, ikayaki.gui.MeasurementGraphsPanel, and ikayaki.gui.MeasurementSequencePanel. Definition at line 106 of file ProjectComponent.java. |
|
Does nothing; subclasses override this if they want to listen ProjectEvents.
Implements ikayaki.ProjectListener. Reimplemented in ikayaki.gui.MainViewPanel, ikayaki.gui.MeasurementControlsPanel, ikayaki.gui.MeasurementGraphsPanel, and ikayaki.gui.MeasurementSequencePanel. Definition at line 97 of file ProjectComponent.java. |
|
Sets the project for this ProjectComponent. Unregisters MeasurementListener and ProjectListener from the old project, and registers them to the new project.
Reimplemented in ikayaki.gui.CalibrationPanel, ikayaki.gui.MainViewPanel, ikayaki.gui.MeasurementControlsPanel, ikayaki.gui.MeasurementDetailsPanel, ikayaki.gui.MeasurementGraphsPanel, ikayaki.gui.ProjectExplorerPanel, and ikayaki.gui.ProjectInformationPanel. Definition at line 63 of file ProjectComponent.java. References ikayaki.Project.addMeasurementListener(), ikayaki.Project.addProjectListener(), ikayaki.gui.null, ikayaki.gui.project, ikayaki.Project.removeMeasurementListener(), and ikayaki.Project.removeProjectListener(). |
Here is the call graph for this function:
|
The active project. Reimplemented in ikayaki.gui.MainViewPanel. Definition at line 40 of file ProjectComponent.java. Referenced by ikayaki.gui.ProjectComponent.getProject(), and ikayaki.gui.ProjectComponent.ProjectComponent(). |