Class RangeMorpher

java.lang.Object
com.jidesoft.range.RangeMorpher

public class RangeMorpher extends Object
  • Field Details

  • Constructor Details

    • RangeMorpher

      public RangeMorpher()
      This constructor is provided mainly for Java Bean compatibility. If you use it, make sure you call setChart to inform the object of the chart on which it operates.
    • RangeMorpher

      public RangeMorpher(int numSteps, int delay)
      Create a RangeMorpher instance on the supplied Chart.
      Parameters:
      numSteps - the number of steps in a transition
      delay - the delay between the steps, in milliseconds
  • Method Details

    • addPropertyChangeListener

      public void addPropertyChangeListener(PropertyChangeListener listener)
      Add a property change listener to this object. Property events are fired at the beginning and at the end of a transition.
      Parameters:
      listener - the property change listener
    • removePropertyChangeListener

      public void removePropertyChangeListener(PropertyChangeListener listener)
      Remove a property change listener from this object.
      Parameters:
      listener - the property change listener to remove
    • isMorphing

      public boolean isMorphing()
      Returns true if a morph is currently in progress
      Returns:
      a boolean to indicate whether a morph is in progress.
    • morph

      public void morph(Range<?>[] sourceRanges, Range<?>[] destinationRanges)