org.rr0.is.presentation.view.report.applet.ufo
Class SnowPrecipitations

Direct Known Subclasses:
RainPrecipitations

public class SnowPrecipitations
implements Precipitations

Author:
Jerôme Beau
Version: 13 mars 2004 12:39:05

Field Summary
 private ThreadanimationThread
           
 private SkyControllercontroller
           
 protected Randomrandom
           
 protected Dimensionsize
           
 (package private) intsleepMillis
           
 protected int[][]snow
           
 protected intsnowAmount
           
 private int[]snowRadius
           
 protected intwind
           
 protected intwindFactor
           

Constructor Summary
SnowPrecipitations(SkyController controller)
           

Method Summary
 voidinit()
           
 voidpaint(Graphics g)
           
 voidrun()
           
 voidsetWindFactor(int windFactor)
           
 voidstart()
           
 voidstop()
           

Field Detail

animationThread

private Thread animationThread

controller

private SkyController controller

random

protected Random random

size

protected Dimension size

sleepMillis

int sleepMillis

snow

protected int[][] snow

snowAmount

protected int snowAmount

snowRadius

private int[] snowRadius

wind

protected int wind

windFactor

protected int windFactor
Constructor Detail

SnowPrecipitations

public SnowPrecipitations(SkyController controller)
Method Detail

init

public void init()

paint

public void paint(Graphics g)

run

public void run()

setWindFactor

public void setWindFactor(int windFactor)

start

public void start()

stop

public void stop()

Association Links

to Class org.rr0.is.presentation.view.report.applet.sky.SkyController

to Class java.lang.Thread

to Class java.util.Random

to Class java.awt.Dimension