Class ChristmasExtension
- java.lang.Object
-
- org.openstreetmap.josm.gui.animation.ChristmasExtension
-
- All Implemented Interfaces:
AnimationExtension
public class ChristmasExtension extends Object implements AnimationExtension
Christmas animation extension. Copied from Icedtea-Web.- Since:
- 14578
- See Also:
- Initial commit
-
-
Constructor Summary
Constructors Constructor Description ChristmasExtension()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
adjustForSize(int w, int h)
Adjusts for size.void
animate()
Performs the optional animation.void
paint(Graphics g)
Paints static contents.
-
-
-
Constructor Detail
-
ChristmasExtension
public ChristmasExtension()
-
-
Method Detail
-
paint
public void paint(Graphics g)
Description copied from interface:AnimationExtension
Paints static contents.- Specified by:
paint
in interfaceAnimationExtension
- Parameters:
g
- graphics object
-
animate
public void animate()
Description copied from interface:AnimationExtension
Performs the optional animation.- Specified by:
animate
in interfaceAnimationExtension
-
adjustForSize
public final void adjustForSize(int w, int h)
Description copied from interface:AnimationExtension
Adjusts for size.- Specified by:
adjustForSize
in interfaceAnimationExtension
- Parameters:
w
- widthh
- height
-
-