|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.java.swingfx.rubberband.AnimatedStroke
public class AnimatedStroke
Handles the necessary work of animating the stroke of a RubberBand
.
The idea for having an animated rubber band came from the java.net project,
Rubber-Band
The code was extracted from the project and modified to work with this
Rubber Band API.
Constructor Summary | |
---|---|
AnimatedStroke(RubberBandCanvas canvas)
|
Method Summary | |
---|---|
Stroke |
getStroke()
Returns the Stroke at strokeIndex |
void |
startAnimation()
Starts the animated stroke |
void |
stopAnimation()
Stops the animated stroke |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AnimatedStroke(RubberBandCanvas canvas)
Method Detail |
---|
public Stroke getStroke()
Stroke
at strokeIndex
Stroke
at strokeIndex
public void startAnimation()
public void stopAnimation()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |