|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsigmlanim.SignsListBuilder
public class SignsListBuilder
A simple SiGMLAnimationBuildHandler
implementation, which
accepts signs from its supplier, and builds them into a list, but
which does not expect the supplier to initiate animation generation
for any of these signs.
Thus the nextSignAnimationIsDone()
interface method although
implemented (as a no-op) is not expected to be called.
When all signs have been supplied the list containing them becomes
available via the getSigns()
method.
Constructor Summary | |
---|---|
SignsListBuilder()
Constructs a new signs list builder, with an initially empty signs list. |
Method Summary | |
---|---|
void |
beginSignSequence()
Accepts notification of the start of the sign sequence. |
void |
endSignSequence()
Accepts notification of the completion of the sign sequence, making the resulting list available for use by getSigns() . |
java.util.List<AnimatedSign> |
getSigns()
Returns this builder's final signs list. |
void |
nextSignAnimationIsDone()
No-op: interface method, but never called in this implementation. |
void |
setNextSign(AnimatedSign as)
Adds the next sign to the list. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SignsListBuilder()
Method Detail |
---|
public void beginSignSequence()
beginSignSequence
in interface SiGMLAnimationBuildHandler
public void setNextSign(AnimatedSign as)
setNextSign
in interface SiGMLAnimationBuildHandler
public void nextSignAnimationIsDone()
nextSignAnimationIsDone
in interface SiGMLAnimationBuildHandler
public void endSignSequence()
getSigns()
.
endSignSequence
in interface SiGMLAnimationBuildHandler
public java.util.List<AnimatedSign> getSigns()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |