|
Header
|
|||||||||
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.Pin
public static class DialPointer.Pin
A dial pointer that draws a thin line (like a pin).
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.jfree.chart.plot.dial.DialPointer |
---|
DialPointer.Pin, DialPointer.Pointer |
Constructor Summary | |
---|---|
DialPointer.Pin()
Creates a new instance. |
|
DialPointer.Pin(int datasetIndex)
Creates a new instance. |
Method Summary | |
---|---|
void |
draw(java.awt.Graphics2D g2,
DialPlot plot,
java.awt.geom.Rectangle2D frame,
java.awt.geom.Rectangle2D view)
Draws the pointer. |
boolean |
equals(java.lang.Object obj)
Tests this pointer for equality with an arbitrary object. |
java.awt.Paint |
getPaint()
Returns the paint. |
java.awt.Stroke |
getStroke()
Returns the stroke. |
int |
hashCode()
Returns a hash code for this instance. |
void |
setPaint(java.awt.Paint paint)
Sets the paint and sends a DialLayerChangeEvent to all
registered listeners. |
void |
setStroke(java.awt.Stroke stroke)
Sets the stroke 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.Pin()
public DialPointer.Pin(int datasetIndex)
datasetIndex
- the dataset index.Method Detail |
---|
public java.awt.Paint getPaint()
null
).setPaint(Paint)
public void setPaint(java.awt.Paint paint)
DialLayerChangeEvent
to all
registered listeners.
paint
- the paint (null
not permitted).getPaint()
public java.awt.Stroke getStroke()
null
).setStroke(Stroke)
public void setStroke(java.awt.Stroke stroke)
DialLayerChangeEvent
to all
registered listeners.
stroke
- the stroke (null
not permitted).getStroke()
public void draw(java.awt.Graphics2D g2, DialPlot plot, java.awt.geom.Rectangle2D frame, java.awt.geom.Rectangle2D view)
g2
- the graphics target.plot
- the plot.frame
- the dial's reference frame.view
- the dial's view.public boolean equals(java.lang.Object obj)
equals
in class DialPointer
obj
- the object (null
permitted).
public int hashCode()
hashCode
in class DialPointer
|
Footer
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |