algoanim.primitives
Interface AdvancedTextGeneratorInterface
- All Superinterfaces:
- GeneratorInterface
- All Known Subinterfaces:
- TextGenerator
- All Known Implementing Classes:
- AnimalTextGenerator
public interface AdvancedTextGeneratorInterface
- extends GeneratorInterface
|
Method Summary |
void |
setFont(Primitive p,
java.awt.Font newFont,
Timing delay,
Timing duration)
updates the font of this text component (not supported by all primitives!). |
void |
setText(Primitive p,
java.lang.String newText,
Timing delay,
Timing duration)
updates the text of this text component (not supported by all primitives!). |
setFont
void setFont(Primitive p,
java.awt.Font newFont,
Timing delay,
Timing duration)
- updates the font of this text component (not supported by all primitives!).
- Parameters:
p - the Primitive to change.newFont - the new text to be useddelay - the delay until the operation startsduration - the duration for the operation
setText
void setText(Primitive p,
java.lang.String newText,
Timing delay,
Timing duration)
- updates the text of this text component (not supported by all primitives!).
- Parameters:
p - the Primitive to change.newText - the new text to be useddelay - the delay until the operation startsduration - the duration for the operation