Package com.jidesoft.range
Class RangeMorpher
java.lang.Object
com.jidesoft.range.RangeMorpher
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionThis constructor is provided mainly for Java Bean compatibility.RangeMorpher
(int numSteps, int delay) Create a RangeMorpher instance on the suppliedChart
. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Add a property change listener to this object.boolean
Returns true if a morph is currently in progressvoid
void
Remove a property change listener from this object.
-
Field Details
-
PROPERTY_MORPH_STARTED
- See Also:
-
PROPERTY_MORPH_ENDED
- See Also:
-
PROPERTY_MORPH_RANGES
- See Also:
-
-
Constructor Details
-
RangeMorpher
public RangeMorpher()This constructor is provided mainly for Java Bean compatibility. If you use it, make sure you callsetChart
to inform the object of the chart on which it operates. -
RangeMorpher
public RangeMorpher(int numSteps, int delay) Create a RangeMorpher instance on the suppliedChart
.- Parameters:
numSteps
- the number of steps in a transitiondelay
- the delay between the steps, in milliseconds
-
-
Method Details
-
addPropertyChangeListener
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
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
-