org.jfree.chart.needle
public class PinNeedle extends MeterNeedle implements Cloneable, Serializable
Method Summary | |
---|---|
Object | clone()
Returns a clone of this needle.
|
protected void | drawNeedle(Graphics2D g2, Rectangle2D plotArea, Point2D rotate, double angle)
Draws the needle.
|
boolean | equals(Object obj)
Tests another object for equality with this object.
|
int | hashCode()
Returns a hash code for this instance.
|
Returns: A clone.
Throws: CloneNotSupportedException if the PinNeedle
cannot be cloned (in theory, this should not happen).
Parameters: g2 the graphics device. plotArea the plot area. rotate the rotation point. angle the angle.
Parameters: obj the object to test (null
permitted).
Returns: A boolean.
Returns: A hash code.