org.jfree.chart.plot.dial
Class DialPointer.Pointer
- DialPointer
- Cloneable, DialLayer, PublicCloneable, Serializable
A dial pointer.
Pointer()- Creates a new instance.
|
Pointer(int datasetIndex)- Creates a new instance.
|
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.
|
double | getWidthRadius()- Returns the width radius.
|
int | hashCode()- Returns a hash code for this instance.
|
void | setWidthRadius(double radius)- Sets the width radius and sends a
DialLayerChangeEvent to
all registered listeners.
|
Pointer
public Pointer()
Creates a new instance.
Pointer
public Pointer(int datasetIndex)
Creates a new instance.
datasetIndex - the dataset index.
draw
public void draw(Graphics2D g2,
DialPlot plot,
Rectangle2D frame,
Rectangle2D view) Draws the pointer.
- draw in interface DialLayer
g2 - the graphics target.plot - the plot.frame - the dial's reference frame.view - the dial's view.
equals
public boolean equals(Object obj)
Tests this pointer for equality with an arbitrary object.
- equals in interface DialPointer
obj - the object (null permitted).
getWidthRadius
public double getWidthRadius()
Returns the width radius.