ucar.unidata.ui.symbol
Class WindBarbSymbol.WindDrawer

java.lang.Object
  extended by ucar.unidata.ui.symbol.WindBarbSymbol.WindDrawer
Direct Known Subclasses:
WindVectorSymbol.VectorDrawer
Enclosing class:
WindBarbSymbol

public static class WindBarbSymbol.WindDrawer
extends Object

Class WindDrawer knows how to draw windbarbs

Author:
IDV Development Team

Constructor Summary
WindBarbSymbol.WindDrawer()
          ctor
WindBarbSymbol.WindDrawer(boolean isSouth)
          ctor
 
Method Summary
 void draw(Graphics2D g, int x, int y, int width, int height, double speed, double dirDegrees)
          draw
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WindBarbSymbol.WindDrawer

public WindBarbSymbol.WindDrawer()
ctor


WindBarbSymbol.WindDrawer

public WindBarbSymbol.WindDrawer(boolean isSouth)
ctor

Method Detail

draw

public void draw(Graphics2D g,
                 int x,
                 int y,
                 int width,
                 int height,
                 double speed,
                 double dirDegrees)
draw

Parameters:
g - graphics
x - x
y - y
width - width
height - height
speed - wind speed
dirDegrees - wind dir