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!).
 
Methods inherited from interface algoanim.primitives.generators.GeneratorInterface
changeColor, exchange, getLanguage, hide, moveBy, moveTo, moveVia, rotate, rotate, show
 

Method Detail

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 used
delay - the delay until the operation starts
duration - 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 used
delay - the delay until the operation starts
duration - the duration for the operation