Class sprite.SpriteArea
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class sprite.SpriteArea

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Canvas
                   |
                   +----sprite.SpriteArea

public class SpriteArea
extends Canvas

Variable Index

 o DELAYED_UPDATING
 o INSTANT_UPDATING
 o NO_UPDATING

Constructor Index

 o SpriteArea(int, int)

Method Index

 o BackgroundDirty()
 o Delay(int)
 o FullUpdate()
 o GetBackgroundGraphics()
 o GetOnscreenGraphics()
 o HandleBackgroundEvent(Event)
 o Inside(int, int)
 o LocateMouse(int, int)
 o SetUpdateMode(int)
 o Tile(Applet, Graphics, int, int, String)
 o WaitForGraphics()
 o handleEvent(Event)
 o paint(Graphics)
 o update(Graphics)

Variables

 o NO_UPDATING
  public final static int NO_UPDATING
 o DELAYED_UPDATING
  public final static int DELAYED_UPDATING
 o INSTANT_UPDATING
  public final static int INSTANT_UPDATING

Constructors

 o SpriteArea
  public SpriteArea(int width,
                    int height)

Methods

 o Tile
  public static void Tile(Applet applet,
                          Graphics g,
                          int width,
                          int height,
                          String url)
 o WaitForGraphics
  public synchronized void WaitForGraphics()
 o GetBackgroundGraphics
  public Graphics GetBackgroundGraphics()
 o GetOnscreenGraphics
  public Graphics GetOnscreenGraphics()
 o BackgroundDirty
  public void BackgroundDirty()
 o SetUpdateMode
  public synchronized void SetUpdateMode(int updateMode)
 o FullUpdate
  public synchronized void FullUpdate()
 o LocateMouse
  public Sprite LocateMouse(int x,
                            int y)
 o Delay
  public void Delay(int delay)
 o HandleBackgroundEvent
  public void HandleBackgroundEvent(Event e)
 o Inside
  public boolean Inside(int x,
                        int y)
 o update
  public synchronized void update(Graphics g)
Overrides:
update in class Component
 o paint
  public synchronized void paint(Graphics g)
Overrides:
paint in class Canvas
 o handleEvent
  public boolean handleEvent(Event event)
Overrides:
handleEvent in class Component

All Packages  Class Hierarchy  This Package  Previous  Next  Index