Package | Description |
---|---|
com.jgoodies.animation |
Contains the core types of the JGoodies Animation library.
|
com.jgoodies.animation.swing.animations |
Contains a bunch of prepared animations and animation factories.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractAnimation
An abstract class that minimizes the effort required to implement
the
Animation interface. |
static class |
Animations.OneTimeAnimation
Used to apply an effect one-time only.
|
Modifier and Type | Method and Description |
---|---|
Animation |
Animator.animation()
Returns the animator's animation.
|
Animation |
AnimationEvent.getSource()
Returns the animation the has originated this event.
|
static Animation |
Animations.offset(Animation animation,
long beginTime)
Creates and returns an animation that is defined by a given
animation and offset; the resulting animation applies
the original effect shifted in time.
|
static Animation |
Animations.parallel(Animation... animations)
Creates and returns a parallel time container for the given animations,
that is an animation that applies the effect of the given animations
at the same time.
|
static Animation |
Animations.parallel(List<Animation> animations)
Creates and returns a parallel time container, that is an animation
that applies the effect of the given animations all at the same time.
|
static Animation |
Animations.pause(long duration)
Creates and returns a pausing animation that has no effect
but a duration.
|
static Animation |
Animations.repeat(Animation animation,
float repeatCount)
Creates and returns an animation that is defined by repeating the given
animation.
|
static Animation |
Animations.repeat(Animation animation,
long duration)
Creates and returns an animation that is defined by repeating
the given animation for the given duration.
|
static Animation |
Animations.reverse(Animation animation)
Creates and returns an animation that is defined by reverting
the given animation over the time.
|
static Animation |
Animations.sequential(Animation... animations)
Creates and returns a sequenced time container that is an animation,
that concatenates the given array of animations over the time.
|
static Animation |
Animations.sequential(List<Animation> animations)
Creates and returns a sequenced time container that is an animation,
that concatenates the given list of animations over the time.
|
Modifier and Type | Method and Description |
---|---|
static void |
AnimationUtils.invokeOnStop(Animation animation,
Runnable runnable)
Invokes the given runnable in the EDT when the specified animation stopped.
|
static Animation |
Animations.offset(Animation animation,
long beginTime)
Creates and returns an animation that is defined by a given
animation and offset; the resulting animation applies
the original effect shifted in time.
|
static Animation |
Animations.parallel(Animation... animations)
Creates and returns a parallel time container for the given animations,
that is an animation that applies the effect of the given animations
at the same time.
|
static Animation |
Animations.repeat(Animation animation,
float repeatCount)
Creates and returns an animation that is defined by repeating the given
animation.
|
static Animation |
Animations.repeat(Animation animation,
long duration)
Creates and returns an animation that is defined by repeating
the given animation for the given duration.
|
static Animation |
Animations.reverse(Animation animation)
Creates and returns an animation that is defined by reverting
the given animation over the time.
|
static Animation |
Animations.sequential(Animation... animations)
Creates and returns a sequenced time container that is an animation,
that concatenates the given array of animations over the time.
|
Modifier and Type | Method and Description |
---|---|
static Animation |
Animations.parallel(List<Animation> animations)
Creates and returns a parallel time container, that is an animation
that applies the effect of the given animations all at the same time.
|
static Animation |
Animations.sequential(List<Animation> animations)
Creates and returns a sequenced time container that is an animation,
that concatenates the given list of animations over the time.
|
Constructor and Description |
---|
Animator(Animation animation,
int framesPerSecond)
Constructs an Animator for the given animation and frame rate.
|
Modifier and Type | Class and Description |
---|---|
class |
BasicTextAnimation
A basic text animation that fades in a text, changes the x and y scaling,
the position, and the space between glyphs.
|
class |
FanAnimation
An animation that rotates a fan that consists of a set
of translucent sectors.
|
class |
GlyphAnimation
A text based animation that changes the scaling of the text's
individual glyphs over the time.
|
Modifier and Type | Method and Description |
---|---|
static Animation |
BasicTextAnimations.defaultFade(BasicTextLabel label1,
BasicTextLabel label2,
long singleDuration,
long beginOffset,
String separatedTexts,
Color baseColor)
Creates and answers the default color fade text sequence.
|
static Animation |
BasicTextAnimations.defaultScale(BasicTextLabel label1,
BasicTextLabel label2,
long singleDuration,
long beginOffset,
String separatedTexts,
Color baseColor)
Creates and answers the default scaling text sequence.
|
static Animation |
BasicTextAnimations.defaultSpace(BasicTextLabel label1,
BasicTextLabel label2,
long singleDuration,
long beginOffset,
String separatedTexts,
Color baseColor)
Creates and answers the default glyph spacing text sequence.
|
Copyright © 2018 JGoodies Software GmbH. All rights reserved.