public abstract class DialPointer extends AbstractDialLayer implements DialLayer, Cloneable, org.jfree.util.PublicCloneable, Serializable
DialPlot
.Modifier and Type | Class and Description |
---|---|
static class |
DialPointer.Pin
A dial pointer that draws a thin line (like a pin).
|
static class |
DialPointer.Pointer
A dial pointer.
|
Modifier and Type | Method and Description |
---|---|
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. |
addChangeListener, hasListener, isVisible, removeChangeListener, setVisible
getClass, notify, notifyAll, toString, wait, wait, wait
addChangeListener, draw, hasListener, isVisible, removeChangeListener
public int getDatasetIndex()
getDatasetIndex()
public void setDatasetIndex(int index)
DialLayerChangeEvent
to all registered listeners.index
- the index.getDatasetIndex()
public double getRadius()
setRadius(double)
public void setRadius(double radius)
DialLayerChangeEvent
to all registered listeners.radius
- the radius.getRadius()
public boolean isClippedToWindow()
true
to indicate that this layer should be
clipped within the dial window.isClippedToWindow
in interface DialLayer
true
.public boolean equals(Object obj)
equals
in class AbstractDialLayer
obj
- the object (null
not permitted).public int hashCode()
hashCode
in class AbstractDialLayer
public Object clone() throws CloneNotSupportedException
clone
in interface org.jfree.util.PublicCloneable
clone
in class AbstractDialLayer
CloneNotSupportedException
- if one of the attributes cannot
be cloned.Jas4pp 1.5 © Java Analysis Studio for Particle Physics