proguard.gui.splash
Class TypeWriterString

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

public class TypeWriterString
extends java.lang.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.


Constructor Summary
TypeWriterString(java.lang.String string, proguard.gui.splash.Timing timing)
          Creates a new TypeWriterString.
 
Method Summary
 java.lang.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(java.lang.String string,
                        proguard.gui.splash.Timing timing)
Creates a new TypeWriterString.

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

getString

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