org.jfree.chart.plot.dial
Class DialPointer
- Cloneable, DialLayer, PublicCloneable, Serializable
implements DialLayer, Cloneable, PublicCloneable, Serializable
A base class for the pointer in a
DialPlot.
DialPointer()- Creates a new
DialPointer instance.
|
DialPointer(int datasetIndex)- Creates a new pointer for the specified dataset.
|
Object | clone()- Returns a clone of the pointer.
|
boolean | equals(Object obj)- Checks this instance for equality with an arbitrary object.
|
int | getDatasetIndex()- Returns the dataset index that the pointer maps to.
|
double | getRadius()- Returns the radius of the pointer, as a percentage of the dial's
framing rectangle.
|
int | hashCode()- Returns a hash code.
|
boolean | isClippedToWindow()- Returns
true to indicate that this layer should be
clipped within the dial window.
|
void | setDatasetIndex(int index)- Sets the dataset index for the pointer and sends a
DialLayerChangeEvent to all registered listeners.
|
void | setRadius(double radius)- Sets the radius of the pointer and sends a
DialLayerChangeEvent to all registered listeners.
|
DialPointer
protected DialPointer()
Creates a new DialPointer instance.
DialPointer
protected DialPointer(int datasetIndex)
Creates a new pointer for the specified dataset.
datasetIndex - the dataset index.
equals
public boolean equals(Object obj)
Checks this instance for equality with an arbitrary object.
- equals in interface AbstractDialLayer
obj - the object (null not permitted).
getDatasetIndex
public int getDatasetIndex()
Returns the dataset index that the pointer maps to.
getRadius
public double getRadius()
Returns the radius of the pointer, as a percentage of the dial's
framing rectangle.
setRadius
public void setRadius(double radius)