org.jfree.chart.plot.dial
public static class DialPointer.Pointer extends DialPointer
| Constructor Summary | |
|---|---|
| Pointer()
Creates a new instance. | |
| Pointer(int datasetIndex)
Creates a new instance.
| |
| Method Summary | |
|---|---|
| void | draw(Graphics2D g2, DialPlot plot, Rectangle2D frame, Rectangle2D view)
Draws the pointer.
|
| boolean | equals(Object obj)
Tests this pointer for equality with an arbitrary object.
|
| Paint | getFillPaint()
Returns the fill paint.
|
| Paint | getOutlinePaint()
Returns the outline paint.
|
| double | getWidthRadius()
Returns the width radius.
|
| int | hashCode()
Returns a hash code for this instance.
|
| void | setFillPaint(Paint paint)
Sets the fill paint and sends a DialLayerChangeEvent to all
registered listeners.
|
| void | setOutlinePaint(Paint paint)
Sets the outline paint and sends a DialLayerChangeEvent to
all registered listeners.
|
| void | setWidthRadius(double radius)
Sets the width radius and sends a DialLayerChangeEvent to
all registered listeners.
|
Parameters: datasetIndex the dataset index.
Parameters: g2 the graphics target. plot the plot. frame the dial's reference frame. view the dial's view.
Parameters: obj the object (null permitted).
Returns: A boolean.
Returns: The width radius.
See Also: Pointer
Returns: A hash code.
Parameters: paint the paint (null not permitted).
Since: 1.0.8
Parameters: paint the paint (null not permitted).
Since: 1.0.8
Parameters: radius the radius
See Also: getWidthRadius