org.jfree.chart.plot.dial
public static class DialPointer.Pin extends DialPointer
Constructor Summary | |
---|---|
Pin()
Creates a new instance. | |
Pin(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 | getPaint()
Returns the paint.
|
Stroke | getStroke()
Returns the stroke.
|
int | hashCode()
Returns a hash code for this instance.
|
void | setPaint(Paint paint)
Sets the paint and sends a DialLayerChangeEvent to all
registered listeners.
|
void | setStroke(Stroke stroke)
Sets the stroke 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 paint (never null
).
See Also: setPaint
Returns: The stroke (never null
).
See Also: setStroke
Returns: A hash code.
Parameters: paint the paint (null
not permitted).
See Also: getPaint
Parameters: stroke the stroke (null
not permitted).
See Also: getStroke