Class Overview
A needle that is drawn as a pin shape.
Summary
Public Methods |
Object
|
clone()
Returns a clone of this needle.
|
boolean
|
equals(Object obj)
Tests another object for equality with this object.
|
int
|
hashCode()
Returns a hash code for this instance.
|
[Expand]
Inherited Methods |
From class
org.jfree.chart.needle.MeterNeedle
void
|
defaultDisplay(Graphics2D g2, Shape shape)
Displays a shape.
|
void
|
draw(Graphics2D g2, Rectangle2D plotArea, Point2D rotate, double angle)
Draws the needle.
|
void
|
draw(Graphics2D g2, Rectangle2D plotArea, double angle)
Draws the needle.
|
void
|
draw(Graphics2D g2, Rectangle2D plotArea)
Draws the needle.
|
abstract
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.
|
Paint
|
getFillPaint()
Returns the fill paint.
|
Paint
|
getHighlightPaint()
Returns the highlight paint.
|
Paint
|
getOutlinePaint()
Returns the outline paint.
|
Stroke
|
getOutlineStroke()
Returns the outline stroke.
|
double
|
getRotateX()
Returns the scalar used for determining the rotation x value.
|
double
|
getRotateY()
Returns the scalar used for determining the rotation y value.
|
int
|
getSize()
Returns the size.
|
AffineTransform
|
getTransform()
Returns the transform.
|
int
|
hashCode()
Returns a hash code for this instance.
|
void
|
setFillPaint(Paint p)
Sets the fill paint.
|
void
|
setHighlightPaint(Paint p)
Sets the highlight paint.
|
void
|
setOutlinePaint(Paint p)
Sets the outline paint.
|
void
|
setOutlineStroke(Stroke s)
Sets the outline stroke.
|
void
|
setRotateX(double x)
Sets the rotateX value.
|
void
|
setRotateY(double y)
Sets the rotateY value.
|
void
|
setSize(int pixels)
Sets the size.
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Public Constructors
Public Methods
public
Object
clone
()
Returns a clone of this needle.
public
boolean
equals
(Object obj)
Tests another object for equality with this object.
Parameters
obj
| the object to test (null permitted). |
public
int
hashCode
()
Returns a hash code for this instance.
Protected Methods
protected
void
drawNeedle
(Graphics2D g2, Rectangle2D plotArea, Point2D rotate, double angle)
Parameters
g2
| the graphics device. |
plotArea
| the plot area. |
rotate
| the rotation point. |
angle
| the angle.
|