All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Pixmap.PixGui

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Frame
                                   |
                                   +----Pixmap.PixGui

public class PixGui
extends Frame
 the GUI for the Pixmap application
 separation of GUI from application makes it easier to
 modify either one although these classes are still tightly
 coupled

Author:
Syam Gadde, Owen Astrachan
See Also:
PixApp

Constructor Index

 o PixGui(PixController)
construct a GUI

Method Index

 o addImage(PixIcon)
adds an image (via its thumbnail) to the GUI
 o getDisplay()

Constructors

 o PixGui
 public PixGui(PixController control)
construct a GUI

Parameters:
app - the application bound to this GUI

Methods

 o getDisplay
 public Frame getDisplay()
Returns:
the frame in which images are displayed
 o addImage
 public void addImage(PixIcon icon)
adds an image (via its thumbnail) to the GUI

Parameters:
icon - the thumbnail version of the added Pixmap

All Packages  Class Hierarchy  This Package  Previous  Next  Index