All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class dtai.gwt.Sprite

java.lang.Object
   |
   +----java.awt.Image
           |
           +----dtai.gwt.Sprite

public class Sprite
extends Image

Constructor Index

 o Sprite(int[], int)
 o Sprite(int[], int, int, int, int, int, Color)

Method Index

 o drawImage(GadgetGraphics, int, int)
 o drawImage(GadgetGraphics, int, int, Color)
 o drawImage(GadgetGraphics, int, int, int, int)
 o drawImage(GadgetGraphics, int, int, int, int, Color)
 o flush()
 o getGraphics()
 o getHeight(ImageObserver)
 o getPixels()
 o getProperty(String, ImageObserver)
 o getSource()
 o getWidth(ImageObserver)

Constructors

 o Sprite
 public Sprite(int pixels[],
               int imageWidth)
 o Sprite
 public Sprite(int pixels[],
               int imageWidth,
               int width,
               int height,
               int offsetX,
               int offsetY,
               Color color)

Methods

 o getPixels
 public final int[] getPixels()
 o drawImage
 public final boolean drawImage(GadgetGraphics g,
                                int x,
                                int y)
 o drawImage
 public final boolean drawImage(GadgetGraphics g,
                                int x,
                                int y,
                                int width,
                                int height)
 o drawImage
 public final boolean drawImage(GadgetGraphics g,
                                int x,
                                int y,
                                Color bgcolor)
 o drawImage
 public final boolean drawImage(GadgetGraphics g,
                                int x,
                                int y,
                                int width,
                                int height,
                                Color bgcolor)
 o getWidth
 public int getWidth(ImageObserver o)
Overrides:
getWidth in class Image
 o getHeight
 public int getHeight(ImageObserver o)
Overrides:
getHeight in class Image
 o getGraphics
 public Graphics getGraphics()
Overrides:
getGraphics in class Image
 o getSource
 public ImageProducer getSource()
Overrides:
getSource in class Image
 o flush
 public void flush()
Overrides:
flush in class Image
 o getProperty
 public Object getProperty(String name,
                           ImageObserver o)
Overrides:
getProperty in class Image

All Packages  Class Hierarchy  This Package  Previous  Next  Index