public class ChristmasExtension extends java.lang.Object implements AnimationExtension
Constructor and Description |
---|
ChristmasExtension() |
Modifier and Type | Method and Description |
---|---|
void |
adjustForSize(int w,
int h)
Adjusts for size.
|
void |
animate()
Performs the optional animation.
|
void |
paint(java.awt.Graphics g)
Paints static contents.
|
public ChristmasExtension()
public void paint(java.awt.Graphics g)
AnimationExtension
paint
in interface AnimationExtension
g
- graphics objectpublic void animate()
AnimationExtension
animate
in interface AnimationExtension
public final void adjustForSize(int w, int h)
AnimationExtension
adjustForSize
in interface AnimationExtension
w
- widthh
- height