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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidpictureInfoChangeEvent(PictureInfoChangeEvent pictureInfoChangedEvent) here we get notified by the PictureInfo object that something has changed.voidsetPicture(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:
pictureInfoChangeEventin interfacePictureInfoChangeListener- Parameters:
pictureInfoChangedEvent- The event
-