org.jfree.chart.needle

Class WindNeedle

public class WindNeedle extends ArrowNeedle implements Cloneable, Serializable

A needle that indicates wind direction, for use with the CompassPlot class.
Constructor Summary
WindNeedle()
Default constructor.
Method Summary
protected voiddrawNeedle(Graphics2D g2, Rectangle2D plotArea, Point2D rotate, double angle)
Draws the needle.
booleanequals(Object object)
Tests another object for equality with this object.

Constructor Detail

WindNeedle

public WindNeedle()
Default constructor.

Method Detail

drawNeedle

protected void drawNeedle(Graphics2D g2, Rectangle2D plotArea, Point2D rotate, double angle)
Draws the needle.

Parameters: g2 the graphics device. plotArea the plot area. rotate the rotation point. angle the angle.

equals

public boolean equals(Object object)
Tests another object for equality with this object.

Parameters: object the object to test.

Returns: A boolean.