public class

WindNeedle

extends ArrowNeedle
implements Serializable Cloneable
java.lang.Object
   ↳ org.jfree.chart.needle.MeterNeedle
     ↳ org.jfree.chart.needle.ArrowNeedle
       ↳ org.jfree.chart.needle.WindNeedle

Class Overview

A needle that indicates wind direction, for use with the CompassPlot class.

Summary

[Expand]
Inherited Fields
From class org.jfree.chart.needle.MeterNeedle
Public Constructors
WindNeedle()
Default constructor.
Public Methods
boolean equals(Object object)
Tests another object for equality with this object.
int hashCode()
Returns a hash code for this instance.
Protected Methods
void drawNeedle(Graphics2D g2, Rectangle2D plotArea, Point2D rotate, double angle)
Draws the needle.
[Expand]
Inherited Methods
From class org.jfree.chart.needle.ArrowNeedle
From class org.jfree.chart.needle.MeterNeedle
From class java.lang.Object

Public Constructors

public WindNeedle ()

Default constructor.

Public Methods

public boolean equals (Object object)

Tests another object for equality with this object.

Parameters
object the object to test.
Returns
  • A boolean.

public int hashCode ()

Returns a hash code for this instance.

Returns
  • A hash code.

Protected Methods

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.