com.jgoodies.animation
Class AnimationUtils
java.lang.Object
com.jgoodies.animation.AnimationUtils
public final class AnimationUtils
extends java.lang.Object
Provides some behavior useful in the animation framework,
or to implement custom animation functions and animations.
static void | invokeOnStop(Animation animation, Runnable runnable) - Invokes the given runnable when the specified animation stopped.
|
static String[] | splitTexts(String separatedTexts) - Use
String.split(java.lang.String) instead.
|
invokeOnStop
public static void invokeOnStop(Animation animation,
Runnable runnable)
Invokes the given runnable when the specified animation stopped.
animation
- the animation that is observedrunnable
- the runnable that will be executed on animation stop
splitTexts
public static String[] splitTexts(String separatedTexts)
Use String.split(java.lang.String)
instead.
Returns an array of strings by splitting a given text
into tokens, that are separated by the '|' character.
separatedTexts
- a string that encodes a bunch of texts
separated by a | character
- an array of the separated texts
Copyright © 2001-2006 JGoodies Karsten Lentzsch. All Rights Reserved.