JIDE 3.5.15

com.jidesoft.range
Class RangeMorpher

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

public class RangeMorpher
extends Object


Field Summary
static String PROPERTY_MORPH_ENDED
           
static String PROPERTY_MORPH_RANGES
           
static String PROPERTY_MORPH_STARTED
           
 
Constructor Summary
RangeMorpher()
          This constructor is provided mainly for Java Bean compatibility.
RangeMorpher(int numSteps, int delay)
          Create a RangeMorpher instance on the supplied Chart.
 
Method Summary
 void addPropertyChangeListener(PropertyChangeListener listener)
          Add a property change listener to this object.
 boolean isMorphing()
          Returns true if a morph is currently in progress
 void morph(Range<?>[] sourceRanges, Range<?>[] destinationRanges)
           
 void removePropertyChangeListener(PropertyChangeListener listener)
          Remove a property change listener from this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERTY_MORPH_STARTED

public static final String PROPERTY_MORPH_STARTED
See Also:
Constant Field Values

PROPERTY_MORPH_ENDED

public static final String PROPERTY_MORPH_ENDED
See Also:
Constant Field Values

PROPERTY_MORPH_RANGES

public static final String PROPERTY_MORPH_RANGES
See Also:
Constant Field Values
Constructor Detail

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 Detail

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)

JIDE 3.5.15