com.jgoodies.animation

Class 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.
Version:
$Revision: 1.1 $
Author:
Karsten Lentzsch

Method Summary

static void
invokeOnStop(Animation animation, Runnable runnable)
Invokes the given runnable when the specified animation stopped.
static String[]
splitTexts(String separatedTexts)
Deprecated. Use String.split(java.lang.String) instead.

Method Details

invokeOnStop

public static void invokeOnStop(Animation animation,
                                Runnable runnable)
Invokes the given runnable when the specified animation stopped.
Parameters:
animation - the animation that is observed
runnable - the runnable that will be executed on animation stop

splitTexts

public static String[] splitTexts(String separatedTexts)

Deprecated. 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.
Parameters:
separatedTexts - a string that encodes a bunch of texts separated by a | character
Returns:
an array of the separated texts

Copyright © 2001-2006 JGoodies Karsten Lentzsch. All Rights Reserved.