| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.jfree.chart.plot.dial.AbstractDialLayerorg.jfree.chart.plot.dial.DialPointerorg.jfree.chart.plot.dial.DialPointer.Pointerpublic static class DialPointer.Pointerextends DialPointerNested Class Summary |
Nested classes/interfaces inherited from class org.jfree.chart.plot.dial.DialPointer | |
DialPointer.Pin, DialPointer.Pointer | |
Constructor Summary | |
| |
| |
Method Summary | |
void | |
boolean |
|
Paint |
|
Paint |
|
double |
|
int |
|
void |
|
void |
|
void |
|
Methods inherited from class org.jfree.chart.plot.dial.DialPointer | |
clone, equals, getDatasetIndex, getRadius, hashCode, isClippedToWindow, setDatasetIndex, setRadius | |
Methods inherited from class org.jfree.chart.plot.dial.AbstractDialLayer | |
addChangeListener, clone, equals, hasListener, hashCode, isVisible, notifyListeners, removeChangeListener, setVisible | |
public Pointer(int datasetIndex)
Creates a new instance.
- Parameters:
datasetIndex- the dataset index.
public void draw(Graphics2D g2, DialPlot plot, Rectangle2D frame, Rectangle2D view)
Draws the pointer.
- Parameters:
g2- the graphics target.plot- the plot.frame- the dial's reference frame.view- the dial's view.
public boolean equals(Object obj)
Tests this pointer for equality with an arbitrary object.
- Overrides:
- equals in interface DialPointer
- Parameters:
obj- the object (nullpermitted).
- Returns:
- A boolean.
public Paint getFillPaint()
Returns the fill paint.
- Returns:
- The paint (never
null).
- Since:
- 1.0.8
- See Also:
setFillPaint(Paint)
public Paint getOutlinePaint()
Returns the outline paint.
- Returns:
- The paint (never
null).
- Since:
- 1.0.8
- See Also:
setOutlinePaint(Paint)
public double getWidthRadius()
Returns the width radius.
- Returns:
- The width radius.
- See Also:
setWidthRadius(double)
public int hashCode()
Returns a hash code for this instance.
- Overrides:
- hashCode in interface DialPointer
- Returns:
- A hash code.
public void setFillPaint(Paint paint)
Sets the fill paint and sends aDialLayerChangeEventto all registered listeners.
- Parameters:
paint- the paint (nullnot permitted).
- Since:
- 1.0.8
- See Also:
getFillPaint()
public void setOutlinePaint(Paint paint)
Sets the outline paint and sends aDialLayerChangeEventto all registered listeners.
- Parameters:
paint- the paint (nullnot permitted).
- Since:
- 1.0.8
- See Also:
getOutlinePaint()
public void setWidthRadius(double radius)
Sets the width radius and sends aDialLayerChangeEventto all registered listeners.
- Parameters:
radius- the radius
- See Also:
getWidthRadius()