java.lang.Object | ||
↳ | org.jfree.chart.plot.dial.AbstractDialLayer | |
↳ | org.jfree.chart.plot.dial.DialTextAnnotation |
A text annotation for a DialPlot
.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new instance of
DialTextAnnotation . |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns a clone of this instance.
| |||||||||||
Draws the background to the specified graphics device.
| |||||||||||
Tests this instance for equality with an arbitrary object.
| |||||||||||
Returns the text anchor point that will be aligned to the position
specified by
getAngle() and getRadius() . | |||||||||||
Returns the angle used to calculate the anchor point.
| |||||||||||
Returns the font used to display the label.
| |||||||||||
Returns the label text.
| |||||||||||
Returns the paint used to display the label.
| |||||||||||
Returns the radius used to calculate the anchor point.
| |||||||||||
Returns a hash code for this instance.
| |||||||||||
Returns
true to indicate that this layer should be
clipped within the dial window. | |||||||||||
Sets the text anchor point and sends a
DialLayerChangeEvent to
all registered listeners. | |||||||||||
Sets the angle used to calculate the anchor point and sends a
DialLayerChangeEvent to all registered listeners. | |||||||||||
Sets the font used to display the label and sends a
DialLayerChangeEvent to all registered listeners. | |||||||||||
Sets the label and sends a
DialLayerChangeEvent to all
registered listeners. | |||||||||||
Sets the paint used to display the label and sends a
DialLayerChangeEvent to all registered listeners. | |||||||||||
Sets the radius used to calculate the anchor point and sends a
DialLayerChangeEvent to all registered listeners. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
Creates a new instance of DialTextAnnotation
.
label | the label (null not permitted).
|
---|
Returns a clone of this instance.
CloneNotSupportedException | if some attribute of this instance cannot be cloned. |
---|
Draws the background to the specified graphics device. If the dial frame specifies a window, the clipping region will already have been set to this window before this method is called.
g2 | the graphics device (null not permitted). |
---|---|
plot | the plot (ignored here). |
frame | the dial frame (ignored here). |
view | the view rectangle (null not permitted).
|
Tests this instance for equality with an arbitrary object.
obj | the object (null permitted). |
---|
Returns the text anchor point that will be aligned to the position
specified by getAngle()
and getRadius()
.
Returns the angle used to calculate the anchor point.
Returns the paint used to display the label.
null
).Returns the radius used to calculate the anchor point. This is specified as a percentage relative to the dial's framing rectangle.
Returns a hash code for this instance.
Returns true
to indicate that this layer should be
clipped within the dial window.
true
.
Sets the text anchor point and sends a DialLayerChangeEvent
to
all registered listeners.
anchor | the anchor point (null not permitted). |
---|
Sets the angle used to calculate the anchor point and sends a
DialLayerChangeEvent
to all registered listeners.
angle | the angle (in degrees). |
---|
Sets the font used to display the label and sends a
DialLayerChangeEvent
to all registered listeners.
font | the font (null not permitted). |
---|
Sets the label and sends a DialLayerChangeEvent
to all
registered listeners.
label | the label (null not permitted). |
---|
Sets the paint used to display the label and sends a
DialLayerChangeEvent
to all registered listeners.
paint | the paint (null not permitted). |
---|
Sets the radius used to calculate the anchor point and sends a
DialLayerChangeEvent
to all registered listeners.
radius | the radius (as a percentage of the dial's framing rectangle). |
---|