com.jgoodies.animation
Class AnimationUtils

java.lang.Object
  extended by 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.

Version:
$Revision: 1.1 $
Author:
Karsten Lentzsch

Method Summary
static void invokeOnStop(Animation animation, java.lang.Runnable runnable)
          Invokes the given runnable when the specified animation stopped.
static java.lang.String[] splitTexts(java.lang.String separatedTexts)
          Deprecated. Use String.split(java.lang.String) instead.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

invokeOnStop

public static void invokeOnStop(Animation animation,
                                java.lang.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 java.lang.String[] splitTexts(java.lang.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.