Method Summary |
|
int | getSpeed() Get the speed at which animation occurs. |
int | getStyle() Get the style being used for borders. |
protected void | hideNotify() Notified when the Canvas is no longer visible. |
boolean | intersectsClip(Graphics g, int x, int y, int w, int h) Return true if the specified rectangle does not intersect
the clipping rectangle of the graphics object. |
protected void | keyPressed(int keyCode) Handle key events. |
protected void | keyRepeated(int keyCode) Handle key repeat events as regular key events. |
void | next() Advance to the next image and wrap around if necessary. |
protected void | paint(Graphics g) Paint is called whenever the canvas should be redrawn. |
void | previous() Back up to the previous image. |
void | reset() Reset the PhotoFrame so it holds minimal resources. |
public void | run() Runs the animation and makes the repaint requests. |
void | setImages(Vector images) Set the array of images to be displayed. |
void | setSpeed(int speed) Set the animation speed. |
void | setStyle(int style) Set the frame style. |
protected void | showNotify() Notified when Canvas is made visible. |