|
JFreeChart 1.0.14-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.chart.plot.dial.AbstractDialLayer
org.jfree.chart.plot.dial.DialPointer
org.jfree.chart.plot.dial.DialPointer.Pointer
public static class DialPointer.Pointer
A dial pointer.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.jfree.chart.plot.dial.DialPointer |
---|
DialPointer.Pin, DialPointer.Pointer |
Constructor Summary | |
---|---|
DialPointer.Pointer()
Creates a new instance. |
|
DialPointer.Pointer(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 |
getFillPaint()
Returns the fill paint. |
Paint |
getOutlinePaint()
Returns the outline paint. |
double |
getWidthRadius()
Returns the width radius. |
int |
hashCode()
Returns a hash code for this instance. |
void |
setFillPaint(Paint paint)
Sets the fill paint and sends a DialLayerChangeEvent to all
registered listeners. |
void |
setOutlinePaint(Paint paint)
Sets the outline paint and sends a DialLayerChangeEvent to
all registered listeners. |
void |
setWidthRadius(double radius)
Sets the width radius and sends a DialLayerChangeEvent to
all registered listeners. |
Methods inherited from class org.jfree.chart.plot.dial.DialPointer |
---|
clone, getDatasetIndex, getRadius, isClippedToWindow, setDatasetIndex, setRadius |
Methods inherited from class org.jfree.chart.plot.dial.AbstractDialLayer |
---|
addChangeListener, hasListener, isVisible, notifyListeners, removeChangeListener, setVisible |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jfree.chart.plot.dial.DialLayer |
---|
addChangeListener, hasListener, isVisible, removeChangeListener |
Constructor Detail |
---|
public DialPointer.Pointer()
public DialPointer.Pointer(int datasetIndex)
datasetIndex
- the dataset index.Method Detail |
---|
public double getWidthRadius()
setWidthRadius(double)
public void setWidthRadius(double radius)
DialLayerChangeEvent
to
all registered listeners.
radius
- the radiusgetWidthRadius()
public Paint getFillPaint()
null
).setFillPaint(Paint)
public void setFillPaint(Paint paint)
DialLayerChangeEvent
to all
registered listeners.
paint
- the paint (null
not permitted).getFillPaint()
public Paint getOutlinePaint()
null
).setOutlinePaint(Paint)
public void setOutlinePaint(Paint paint)
DialLayerChangeEvent
to
all registered listeners.
paint
- the paint (null
not permitted).getOutlinePaint()
public void draw(Graphics2D g2, DialPlot plot, Rectangle2D frame, Rectangle2D view)
g2
- the graphics target.plot
- the plot.frame
- the dial's reference frame.view
- the dial's view.public boolean equals(Object obj)
equals
in class DialPointer
obj
- the object (null
permitted).
public int hashCode()
hashCode
in class DialPointer
|
JFreeChart 1.0.14-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |