portaview
Class Displayer

java.lang.Object
  extended byportaview.AbstractViewer
      extended byportaview.Displayer
All Implemented Interfaces:
java.util.Observer

public class Displayer
extends AbstractViewer

Represents a displayer frame and controller that shows the full-screen view of the picture.

Author:
William Lee

Field Summary
 
Fields inherited from class portaview.AbstractViewer
model, view
 
Constructor Summary
Displayer(PortaViewModel model)
          Constructs a Displayer that observes on the PortaViewModel.
 
Method Summary
 javax.swing.JFrame getFrame()
          Returns the frame of this displayer.
 void setVisible(boolean v)
          Shows or hides the displayer.
 void update(java.util.Observable o, java.lang.Object arg)
          Does nothing, for the internals will update themselves.
 
Methods inherited from class portaview.AbstractViewer
getModel, getView, nextSlide, pause, play, prevSlide, setModel, setView
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Displayer

public Displayer(PortaViewModel model)
Constructs a Displayer that observes on the PortaViewModel.

Parameters:
model - the PortaViewModel associated with this Displayer
Method Detail

getFrame

public javax.swing.JFrame getFrame()
Returns the frame of this displayer.

Returns:

setVisible

public void setVisible(boolean v)
Shows or hides the displayer.

Parameters:
v - show this frame if true, hide otherwise.

update

public void update(java.util.Observable o,
                   java.lang.Object arg)
Does nothing, for the internals will update themselves.

See Also:
Observer.update(java.util.Observable, java.lang.Object)


Copyright © 2003 The PortaView Team. All Rights Reserved.