UltraLightClient Code Community
[ start | index | login ]
Overview > JGoodies Animation Extension

JGoodies Animation Extension

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.

animation-screenshot

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

no comments | post comment
labels
Category:ULC6.2
Category:Graphic
Category:ULC6.0
Category:ULC6.1
attachments
Created by daniel. Last edited by admin, 205 days ago. Viewed 7,907 times. #16
[diff] [history] [edit] [rdf]




news




RSS News Feed:

RSS Feed

snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt