proguard.gui.splash
Class TypeWriterString

java.lang.Object
  extended by proguard.gui.splash.TypeWriterString

public class TypeWriterString
extends Object

This VariableString produces a String that grows linearly with respect to its Timing, as if it is being written on a typewriter. A cursor at the end precedes the typed characters.

Author:
Eric Lafortune

Constructor Summary
TypeWriterString(String string, proguard.gui.splash.Timing timing)
          Creates a new TypeWriterString.
 
Method Summary
 String getString(long time)
          Returns the String for the given time.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeWriterString

public TypeWriterString(String string,
                        proguard.gui.splash.Timing timing)
Creates a new TypeWriterString.

Parameters:
string - the basic String.
timing - the applied timing.
Method Detail

getString

public String getString(long time)
Returns the String for the given time.



Copyright © 2012. All Rights Reserved.