gzz.client.awt
Class FrameScreen

java.lang.Object
  |
  +--gzz.client.GraphicsAPI.AbstractRenderingSurface
        |
        +--gzz.client.GraphicsAPI.AbstractWindow
              |
              +--gzz.client.awt.AWTScreen
                    |
                    +--gzz.client.awt.FrameScreen
All Implemented Interfaces:
java.util.EventListener, GraphicsAPI.RenderingSurface, GraphicsAPI.Window, JUpdateManager.EventProcessor, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, Obs

public class FrameScreen
extends AWTScreen

A single output window in a Java AWT Frame.


Field Summary
static boolean dbg
           
static java.lang.String rcsid
           
protected  java.awt.Frame zzFrame
           
 
Fields inherited from class gzz.client.awt.AWTScreen
fg
 
Constructor Summary
FrameScreen(GraphicsAPI api)
           
 
Method Summary
 void chg()
          Called when something is changed.
 void die()
           
 java.awt.Frame getFrame()
           
 void printScreen()
           
 void setLocation(int x, int y, int w, int h)
          Sets window size and location.
 
Methods inherited from class gzz.client.awt.AWTScreen
createVobScene, getSize, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, readPixels, registerBinder, renderAnim, renderStill, zzProcessEvent
 
Methods inherited from class gzz.client.GraphicsAPI.AbstractWindow
addTimeout
 
Methods inherited from class gzz.client.GraphicsAPI.AbstractRenderingSurface
createVobScene, getGraphicsAPI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface gzz.client.GraphicsAPI.Window
getGraphicsAPI
 
Methods inherited from interface gzz.client.GraphicsAPI.RenderingSurface
createVobScene
 

Field Detail

rcsid

public static final java.lang.String rcsid
See Also:
Constant Field Values

zzFrame

protected java.awt.Frame zzFrame

dbg

public static boolean dbg
Constructor Detail

FrameScreen

public FrameScreen(GraphicsAPI api)
Method Detail

getFrame

public java.awt.Frame getFrame()

die

public void die()

chg

public void chg()
Description copied from interface: Obs
Called when something is changed.


setLocation

public void setLocation(int x,
                        int y,
                        int w,
                        int h)
Description copied from class: AWTScreen
Sets window size and location.

Specified by:
setLocation in interface GraphicsAPI.Window
Overrides:
setLocation in class AWTScreen
Parameters:
x - x-coordinate for window upper left-hand corner
y - y-coordinate for window upper left-hand corner
w - width of window in pixels
h - height of window in pixels

printScreen

public void printScreen()