Documentation of 'info.monitorenter.gui.chart.IRangePolicy' Java class
IRangePolicy
info.monitorenter.gui.chart

Interface IRangePolicy

    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String PROPERTY_RANGE
      The property key defining a change of the min or the max property.
      static java.lang.String PROPERTY_RANGE_MAX
      The property key defining the max property.
      static java.lang.String PROPERTY_RANGE_MIN
      The property key defining the min property.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      void addPropertyChangeListener(java.lang.String propertyName, java.beans.PropertyChangeListener listener)
      Registers a property change listener that will be informed about changes of the property identified by the given propertyName.
      double getMax(double chartMin, double chartMax)
      Define the upper bound of the Chart2D's value range.
      double getMin(double chartMin, double chartMax)
      Define the lower bound of the Chart2D's value range.
      java.beans.PropertyChangeListener[] getPropertyChangeListeners(java.lang.String property)
      Returns all property change listeners for the given property.
      Range getRange()
      Get the range of this range policy.
      void removePropertyChangeListener(java.beans.PropertyChangeListener listener, java.lang.String property)
      Deregisters a property change listener that has been registerd for listening on the given property.
      void removePropertyChangeListener(java.lang.String property, java.beans.PropertyChangeListener listener)
      Removes a property change listener for listening on the given property.
      void setRange(Range range)
      Set the range of this RangePolicy.
    • Method Detail

      • addPropertyChangeListener

        void addPropertyChangeListener(java.lang.String propertyName,
                                       java.beans.PropertyChangeListener listener)
        Registers a property change listener that will be informed about changes of the property identified by the given propertyName.

        Parameters:
        propertyName - the name of the property the listener is interested in
        listener - a listener that will only be informed if the property identified by the argument propertyName changes
      • getMax

        double getMax(double chartMin,
                      double chartMax)
        Define the upper bound of the Chart2D's value range. Depends on the AAxis this instance is bound to.
        Parameters:
        chartMin - the minimum value of the connected Chart2D that may / should be taken into account.
        chartMax - the maximum value of the connected Chart2D that may / should be taken into account.
        Returns:
        the maximum value (upper bound) for the Chart2D to display.
      • getMin

        double getMin(double chartMin,
                      double chartMax)
        Define the lower bound of the Chart2D's value range. Depends on the AAxis this instance is bound to.
        Parameters:
        chartMin - the minimum value of the connected Chart2D that may / should be taken into account.
        chartMax - the maximum value of the connected Chart2D that may / should be taken into account.
        Returns:
        the minimum value (lower bound) for the Chart2D to display.
      • getPropertyChangeListeners

        java.beans.PropertyChangeListener[] getPropertyChangeListeners(java.lang.String property)

        Returns all property change listeners for the given property.

        Parameters:
        property - one of the constants with teh PROPERTY_ prefix defined in this class or subclasses.
        Returns:
        the property change listeners for the given property.
      • getRange

        Range getRange()
        Get the range of this range policy.

        Returns:
        he range of this range policy
      • removePropertyChangeListener

        void removePropertyChangeListener(java.beans.PropertyChangeListener listener,
                                          java.lang.String property)
        Deregisters a property change listener that has been registerd for listening on the given property.

        Parameters:
        listener - a listener that will only be informed if the property identified by the argument propertyName changes
        property - the property the listener was registered to.
      • removePropertyChangeListener

        void removePropertyChangeListener(java.lang.String property,
                                          java.beans.PropertyChangeListener listener)

        Removes a property change listener for listening on the given property.

        Parameters:
        property - one of the constants with teh PROPERTY_ prefix defined in this class or subclasses.
        listener - the listener for this property change.
      • setRange

        void setRange(Range range)
        Set the range of this RangePolicy.

        Parameters:
        range - the Range for the range policy.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.