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

JGoodies Animation Extension

Belongs to following categories: Graphic, ULC6.0, ULC6.1, ULC6.2, UltraLightClient '08,

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, Linux, Mac OSX
  • UltraLightClient 2008: JDK 1.4.2, JDK 1.5, JDK 1.6, Windows XP, Windows Vista, Linux, Mac OSX

Project setup with Eclipse

The project contains all necessary Eclipse project files and can be directly imported from the repository. The classpath in this project contains a entry named ULC Library, which locates the needed UltraLightClient libraries. For to uses the ULC Library entry you have to install the Eclipse Java IDE Integration Plug-in that can be found at : >>http://update.canoo.com/eclipse. A installation guide how to install plug-ins in Eclipse can be found at the Eclipse help pages: Workbench User Guide > Tasks > Updating and installing software.

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
Category:UltraLightClient '08
attachments
Created by daniel. Last edited by daniel, 84 days ago. Viewed 9,225 times. #17
[diff] [history] [edit] [rdf]
Name
Email:
snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt