Documentation of 'org.jfree.chart.plot.dial.AbstractDialLayer' Java class
AbstractDialLayer
org.jfree.chart.plot.dial

Class AbstractDialLayer

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void addChangeListener(DialLayerChangeListener listener)
      Registers an object for notification of changes to the dial layer.
      java.lang.Object clone()
      Returns a clone of this instance.
      boolean equals(java.lang.Object obj)
      Tests this instance for equality with an arbitrary object.
      int hashCode()
      Returns a hash code for this instance.
      boolean hasListener(java.util.EventListener listener)
      Returns true if the specified object is registered with the dataset as a listener.
      boolean isVisible()
      Returns true if this layer is visible (should be displayed), and false otherwise.
      void removeChangeListener(DialLayerChangeListener listener)
      Deregisters an object for notification of changes to the dial layer.
      void setVisible(boolean visible)
      Sets the flag that determines whether or not this layer is drawn by the plot, and sends a DialLayerChangeEvent to all registered listeners.
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • isVisible

        public boolean isVisible()
        Returns true if this layer is visible (should be displayed), and false otherwise.
        Specified by:
        isVisible in interface DialLayer
        Returns:
        A boolean.
        See Also:
        setVisible(boolean)
      • setVisible

        public void setVisible(boolean visible)
        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.
        See Also:
        isVisible()
      • equals

        public boolean equals(java.lang.Object obj)
        Tests this instance for equality with an arbitrary object.
        Overrides:
        equals in class java.lang.Object
        Parameters:
        obj - the object (null permitted).
        Returns:
        A boolean.
      • hashCode

        public int hashCode()
        Returns a hash code for this instance.
        Overrides:
        hashCode in class java.lang.Object
        Returns:
        A hash code.
      • clone

        public java.lang.Object clone()
                               throws java.lang.CloneNotSupportedException
        Returns a clone of this instance.
        Overrides:
        clone in class java.lang.Object
        Returns:
        A clone.
        Throws:
        java.lang.CloneNotSupportedException - if there is a problem cloning this instance.
      • hasListener

        public boolean hasListener(java.util.EventListener listener)
        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.
        Specified by:
        hasListener in interface DialLayer
        Parameters:
        listener - the listener.
        Returns:
        A boolean.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.