Belongs to following categories: Graphic, ULC6.0, ULC6.1, ULC6.2,
Project Home
Downloads
Purpose
This extension integrates the JGoodies animation framework into ULC and
allows the creation of fancy animations including fan, fade, and glyph
animations.
Resources
How to use
Choose the components to animate
This integration includes the following animation capable components:
- ULCFanComponent: a rotating fan
- ULCGlyphLabel: a label that animates the
characters of its text
- ULCBasicTextLabel: a label that is able
to fade in and out
...ULCFanComponent fan = new ULCFanComponent(fanTriangleCount, fanColor);...
Compose the animation
This integration includes the following ULCAnimation subclasses:
- ULCFanAnimation: rotates a ULCFanComponent
- ULCGlyphAnimation: animates the
characters of a ULCGlyphLabel
- ULCFadeAnimation: fades a ULCBasicTextLabel
- ULCOffsetAnimation: offsets another
animation
- ULCRepeatAnimation: repeates another
animation
- ULCReverseAnimation: reverses another
animation
- ULCParallelAnimation: plays other
animations in parallel
- ULCSequentialAnimation: concatenates
other animations
...ULCRepeatAnimantion fanAnimantion =
new ULCRepeatAnimantion(100, new ULCFanAnimation(fFanComponent, fanDuration));...Start the animation
Use an
ULCAnimator to start the animation.
...ULCAnimator animator = new ULCAnimator(animation, 30);
animator.start();...
Compatibility
- ULC 6.1: JDK 1.4.2
- ULC 6.2: JDK 1.4.2, JDK 1.5, JDK 1.6, Windows XP, Windows Vista, Mac OSX, Linux
Project Links
Project Home
Downloads
Authors
christian and
daniel