public class

MiddlePinNeedle

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

Class Overview

A needle that is drawn as a pin shape.

Summary

[Expand]
Inherited Fields
From class org.jfree.chart.needle.MeterNeedle
Public Constructors
MiddlePinNeedle()
Public Methods
Object clone()
Returns a clone of this needle.
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.MeterNeedle
From class java.lang.Object

Public Constructors

public MiddlePinNeedle ()

Public Methods

public Object clone ()

Returns a clone of this needle.

Returns
  • A clone.
Throws
CloneNotSupportedException if the MiddlePinNeedle cannot be cloned (in theory, this should not happen).

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.