java.lang.Object | ||
↳ | org.jfree.chart.plot.dial.AbstractDialLayer | |
↳ | org.jfree.chart.plot.dial.StandardDialScale |
A scale for a DialPlot
.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new instance of DialScale.
| |||||||||||
Creates a new instance.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Converts the given angle to a data value, based on this scale.
| |||||||||||
Returns a clone of this instance.
| |||||||||||
Draws the scale on the dial plot.
| |||||||||||
Tests this
StandardDialScale for equality with an arbitrary
object. | |||||||||||
Returns the extent.
| |||||||||||
Returns a flag that controls whether or not the first tick label is
visible.
| |||||||||||
Returns the lower bound for the scale.
| |||||||||||
Returns the increment (in data units) between major tick labels.
| |||||||||||
Returns the length factor for the major tick marks.
| |||||||||||
Returns the major tick paint.
| |||||||||||
Returns the stroke used to draw the major tick marks.
| |||||||||||
Returns the number of minor tick marks between major tick marks.
| |||||||||||
Returns the length factor for the minor tick marks.
| |||||||||||
Returns the paint used to draw the minor tick marks.
| |||||||||||
Returns the stroke used to draw the minor tick marks.
| |||||||||||
Returns the start angle for the scale (in degrees using the same
orientation as Java's
Arc2D class). | |||||||||||
Returns the font used to draw the tick labels.
| |||||||||||
Returns the number formatter used to convert the tick label values to
strings.
| |||||||||||
Returns the tick label offset.
| |||||||||||
Returns the paint used to draw the tick labels.
| |||||||||||
Returns
true if the tick labels should be displayed,
and false otherwise. | |||||||||||
Returns the radius (as a percentage of the maximum space available) of
the outer limit of the tick marks.
| |||||||||||
Returns the upper bound for the scale.
| |||||||||||
Returns a hash code for this instance.
| |||||||||||
Returns
true to indicate that this layer should be
clipped within the dial window. | |||||||||||
Sets the extent and sends a
DialLayerChangeEvent to all
registered listeners. | |||||||||||
Sets a flag that controls whether or not the first tick label is
visible, and sends a
DialLayerChangeEvent to all registered
listeners. | |||||||||||
Sets the lower bound for the scale and sends a
DialLayerChangeEvent to all registered listeners. | |||||||||||
Sets the increment (in data units) between major tick labels and sends a
DialLayerChangeEvent to all registered listeners. | |||||||||||
Sets the length factor for the major tick marks and sends a
DialLayerChangeEvent to all registered listeners. | |||||||||||
Sets the major tick paint and sends a
DialLayerChangeEvent to
all registered listeners. | |||||||||||
Sets the stroke used to draw the major tick marks and sends a
DialLayerChangeEvent to all registered listeners. | |||||||||||
Sets the number of minor tick marks between major tick marks and sends
a
DialLayerChangeEvent to all registered listeners. | |||||||||||
Sets the length factor for the minor tick marks and sends
a
DialLayerChangeEvent to all registered listeners. | |||||||||||
Sets the paint used to draw the minor tick marks and sends a
DialLayerChangeEvent to all registered listeners. | |||||||||||
Sets the stroke used to draw the minor tick marks and sends a
DialLayerChangeEvent to all registered listeners. | |||||||||||
Sets the start angle for the scale and sends a
DialLayerChangeEvent to all registered listeners. | |||||||||||
Sets the font used to display the tick labels and sends a
DialLayerChangeEvent to all registered listeners. | |||||||||||
Sets the number formatter used to convert the tick label values to
strings, and sends a
DialLayerChangeEvent to all registered
listeners. | |||||||||||
Sets the tick label offset and sends a
DialLayerChangeEvent to
all registered listeners. | |||||||||||
Sets the paint used to draw the tick labels and sends a
DialLayerChangeEvent to all registered listeners. | |||||||||||
Sets the flag that controls whether or not the tick labels are
displayed, and sends a
DialLayerChangeEvent to all registered
listeners. | |||||||||||
Sets the tick radius and sends a
DialLayerChangeEvent to all
registered listeners. | |||||||||||
Sets the upper bound for the scale and sends a
DialLayerChangeEvent to all registered listeners. | |||||||||||
Converts a data value to an angle against this scale.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Creates a new instance of DialScale.
Creates a new instance.
lowerBound | the lower bound of the scale. |
---|---|
upperBound | the upper bound of the scale. |
startAngle | the start angle (in degrees, using the same
orientation as Java's Arc2D class). |
extent | the extent (in degrees, counter-clockwise). |
majorTickIncrement | the interval between major tick marks |
minorTickCount | the number of minor ticks between major tick marks. |
Converts the given angle to a data value, based on this scale.
angle | the angle. |
---|
Returns a clone of this instance.
CloneNotSupportedException | if this instance is not cloneable. |
---|
Draws the scale on the dial plot.
g2 | the graphics target (null not permitted). |
---|---|
plot | the dial plot (null not permitted). |
frame | the reference frame that is used to construct the
geometry of the plot (null not permitted). |
view | the visible part of the plot (null not
permitted).
|
Tests this StandardDialScale
for equality with an arbitrary
object.
obj | the object (null permitted). |
---|
Returns a flag that controls whether or not the first tick label is visible.
Returns the lower bound for the scale.
Returns the increment (in data units) between major tick labels.
Returns the length factor for the major tick marks. The value is subtracted from the tick radius to determine the inner starting point for the tick marks.
Returns the major tick paint.
null
).Returns the stroke used to draw the major tick marks.
null
).Returns the number of minor tick marks between major tick marks.
Returns the length factor for the minor tick marks. The value is subtracted from the tick radius to determine the inner starting point for the tick marks.
Returns the paint used to draw the minor tick marks.
null
).Returns the stroke used to draw the minor tick marks.
null
).Returns the start angle for the scale (in degrees using the same
orientation as Java's Arc2D
class).
Returns the font used to draw the tick labels.
null
).Returns the number formatter used to convert the tick label values to strings.
null
).Returns the paint used to draw the tick labels.
null
not permitted).Returns true
if the tick labels should be displayed,
and false
otherwise.
Returns the radius (as a percentage of the maximum space available) of the outer limit of the tick marks.
Returns the upper bound for the scale.
Returns a hash code for this instance.
Returns true
to indicate that this layer should be
clipped within the dial window.
true
.
Sets the extent and sends a DialLayerChangeEvent
to all
registered listeners.
extent | the extent. |
---|
Sets a flag that controls whether or not the first tick label is
visible, and sends a DialLayerChangeEvent
to all registered
listeners.
visible | the new flag value. |
---|
Sets the lower bound for the scale and sends a
DialLayerChangeEvent
to all registered listeners.
lower | the lower bound. |
---|
Sets the increment (in data units) between major tick labels and sends a
DialLayerChangeEvent
to all registered listeners.
increment | the increment. |
---|
Sets the length factor for the major tick marks and sends a
DialLayerChangeEvent
to all registered listeners.
length | the length. |
---|
Sets the major tick paint and sends a DialLayerChangeEvent
to
all registered listeners.
paint | the paint (null not permitted). |
---|
Sets the stroke used to draw the major tick marks and sends a
DialLayerChangeEvent
to all registered listeners.
stroke | the stroke (null not permitted). |
---|
Sets the number of minor tick marks between major tick marks and sends
a DialLayerChangeEvent
to all registered listeners.
count | the count. |
---|
Sets the length factor for the minor tick marks and sends
a DialLayerChangeEvent
to all registered listeners.
length | the length. |
---|
Sets the paint used to draw the minor tick marks and sends a
DialLayerChangeEvent
to all registered listeners.
paint | the paint (null not permitted). |
---|
Sets the stroke used to draw the minor tick marks and sends a
DialLayerChangeEvent
to all registered listeners.
stroke | the stroke (null not permitted). |
---|
Sets the start angle for the scale and sends a
DialLayerChangeEvent
to all registered listeners.
angle | the angle (in degrees). |
---|
Sets the font used to display the tick labels and sends a
DialLayerChangeEvent
to all registered listeners.
font | the font (null not permitted). |
---|
Sets the number formatter used to convert the tick label values to
strings, and sends a DialLayerChangeEvent
to all registered
listeners.
formatter | the formatter (null not permitted). |
---|
Sets the tick label offset and sends a DialLayerChangeEvent
to
all registered listeners.
offset | the offset. |
---|
Sets the paint used to draw the tick labels and sends a
DialLayerChangeEvent
to all registered listeners.
paint | the paint (null not permitted).
|
---|
Sets the flag that controls whether or not the tick labels are
displayed, and sends a DialLayerChangeEvent
to all registered
listeners.
visible | the new flag value. |
---|
Sets the tick radius and sends a DialLayerChangeEvent
to all
registered listeners.
radius | the radius. |
---|
Sets the upper bound for the scale and sends a
DialLayerChangeEvent
to all registered listeners.
upper | the upper bound. |
---|
Converts a data value to an angle against this scale.
value | the data value. |
---|