Package org.jfree.chart.needle
Class ArrowNeedle
java.lang.Object
org.jfree.chart.needle.MeterNeedle
org.jfree.chart.needle.ArrowNeedle
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
WindNeedle
public class ArrowNeedle extends MeterNeedle implements Serializable
A needle in the shape of an arrow.
- Author:
- Bryan Scott
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description ArrowNeedle(boolean isArrowAtTop)
Constructs a new arrow needle. -
Method Summary
Methods inherited from class org.jfree.chart.needle.MeterNeedle
draw, draw, draw, getFillPaint, getHighlightPaint, getOutlinePaint, getOutlineStroke, getRotateX, getRotateY, getSize, getTransform, setFillPaint, setHighlightPaint, setOutlinePaint, setOutlineStroke, setRotateX, setRotateY, setSize
-
Constructor Details
-
ArrowNeedle
public ArrowNeedle(boolean isArrowAtTop)Constructs a new arrow needle.- Parameters:
isArrowAtTop
- a flag that controls whether or not there is an arrow at the top of the needle.
-
-
Method Details
-
equals
Tests another object for equality with this object.- Overrides:
equals
in classMeterNeedle
- Parameters:
object
- the object to test.- Returns:
- A boolean.
-