org.jfree.chart.needle
public class ArrowNeedle extends MeterNeedle implements Cloneable, Serializable
Constructor Summary | |
---|---|
ArrowNeedle(boolean isArrowAtTop)
Constructs a new arrow needle.
|
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.
|
Parameters: isArrowAtTop a flag that controls whether or not there is an arrow at the top of the needle.
Returns: A clone.
Throws: CloneNotSupportedException if the ArrowNeedle
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.