java.lang.Object
org.jpo.gui.PictureFrameController
- All Implemented Interfaces:
PictureInfoChangeListener
This class manages the PictureFrame. It is controlled by the PictureViewer which concerns itself with
which picture to show from the Navigator. The PictureFrameController handles showing the picture and the
description. It listens to PictureInfoChangeEvents so that it can update views when things change.
It can also write description changes back to the model.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
pictureInfoChangeEvent
(PictureInfoChangeEvent pictureInfoChangedEvent) here we get notified by the PictureInfo object that something has changed.void
setPicture
(PictureInfo pictureInfo)
-
Constructor Details
-
PictureFrameController
public PictureFrameController()
-
-
Method Details
-
setPicture
-
getPictureFrame
-
pictureInfoChangeEvent
here we get notified by the PictureInfo object that something has changed.- Specified by:
pictureInfoChangeEvent
in interfacePictureInfoChangeListener
- Parameters:
pictureInfoChangedEvent
- The event
-