| java.lang.Object org.jfree.experimental.chart.plot.dial.AbstractDialLayer
All known Subclasses: org.jfree.experimental.chart.plot.dial.SimpleDialFrame, org.jfree.experimental.chart.plot.dial.DialBackground, org.jfree.experimental.chart.plot.dial.DialPointer, org.jfree.experimental.chart.plot.dial.StandardDialScale, org.jfree.experimental.chart.plot.dial.DialTextAnnotation, org.jfree.experimental.chart.plot.dial.DialValueIndicator, org.jfree.experimental.chart.plot.dial.StandardDialFrame, org.jfree.experimental.chart.plot.dial.DialCap, org.jfree.experimental.chart.plot.dial.StandardDialRange,
AbstractDialLayer | abstract public class AbstractDialLayer implements DialLayer(Code) | | A base class that can be used to implement a
DialLayer . It includes
an event notification mechanism.
|
AbstractDialLayer | protected AbstractDialLayer()(Code) | | Creates a new instance.
|
hasListener | public boolean hasListener(EventListener listener)(Code) | | 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.
Parameters: listener - the listener. A boolean. |
isVisible | public boolean isVisible()(Code) | | Returns true if this layer is visible (should be displayed),
and false otherwise.
A boolean. |
notifyListeners | protected void notifyListeners(DialLayerChangeEvent event)(Code) | | Notifies all registered listeners that the dial layer has changed.
The
DialLayerChangeEvent provides information about the change.
Parameters: event - information about the change to the axis. |
setVisible | public void setVisible(boolean visible)(Code) | | Sets the flag that determines whether or not this layer is drawn by
the plot, and sends a
DialLayerChangeEvent to all registered
listeners.
Parameters: visible - the flag. |
|
|