java.lang.Object | |
↳ | org.jfree.chart.plot.dial.AbstractDialLayer |
![]() |
![]() |
A base class that can be used to implement a DialLayer
. It includes
an event notification mechanism.
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new instance.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Registers an object for notification of changes to the dial layer.
| |||||||||||
Returns a clone of this instance.
| |||||||||||
Tests this instance for equality with an arbitrary object.
| |||||||||||
Returns
true if the specified object is registered with
the dataset as a listener. | |||||||||||
Returns a hash code for this instance.
| |||||||||||
Returns
true if this layer is visible (should be displayed),
and false otherwise. | |||||||||||
Deregisters an object for notification of changes to the dial layer.
| |||||||||||
Sets the flag that determines whether or not this layer is drawn by
the plot, and sends a
DialLayerChangeEvent to all registered
listeners. |
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Notifies all registered listeners that the dial layer has changed.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Creates a new instance.
Registers an object for notification of changes to the dial layer.
listener | the object that is being registered. |
---|
Returns a clone of this instance.
CloneNotSupportedException | if there is a problem cloning this instance. |
---|
Tests this instance for equality with an arbitrary object.
obj | the object (null permitted). |
---|
Returns true
if the specified object is registered with
the dataset as a listener. Most applications won't need to call this
method, it exists mainly for use by unit testing code.
listener | the listener. |
---|
Returns a hash code for this instance.
Returns true
if this layer is visible (should be displayed),
and false
otherwise.
Deregisters an object for notification of changes to the dial layer.
listener | the object to deregister. |
---|
Sets the flag that determines whether or not this layer is drawn by
the plot, and sends a DialLayerChangeEvent
to all registered
listeners.
visible | the flag. |
---|
Notifies all registered listeners that the dial layer has changed.
The DialLayerChangeEvent
provides information about the change.
event | information about the change to the axis. |
---|