proguard.gui.splash
Class TypeWriterString
java.lang.Object
proguard.gui.splash.TypeWriterString
- All Implemented Interfaces:
- proguard.gui.splash.VariableString
- public class TypeWriterString
- extends Object
- implements proguard.gui.splash.VariableString
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(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 |
TypeWriterString
public TypeWriterString(String string,
proguard.gui.splash.Timing timing)
- Creates a new TypeWriterString.
- Parameters:
string - the basic String.timing - the applied timing.
getString
public String getString(long time)
- Description copied from interface:
proguard.gui.splash.VariableString
- Returns the String for the given time.
- Specified by:
getString in interface proguard.gui.splash.VariableString