|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsigmlanim.sigmlstream.FilteringSupplierForAnimGen
public class FilteringSupplierForAnimGen
An implementation of StreamedSiGMLSupplierForAnimationGen
which uses another StreamedSiGMLSupplierForAnimationGen
as its
primary supplier and which filters from the sign stream provided by
the primary supplier those signs to which animation data has already
been attached.
2010-10:
Changed to allow animgen to read ahead by more than one sign, which
it needs for multi-sign SiGML mode.
Constructor Summary | |
---|---|
FilteringSupplierForAnimGen(StreamedSiGMLSupplierForAnimationGen SUPPLIER)
Constructs a new filtering supplier that uses the given supplier as its own primary supplier. |
Method Summary | |
---|---|
void |
doneSignAnimation()
Accepts notification either from the animation generator or, in the case of a sign with animation data already attached, directly from getNextSignToBeAnimated() that one more sign has been
completely generated, and forwards this notice to this supplier's
primary supplier. |
AnimatedSign |
getNextSignToBeAnimated()
Returns the next sign to be animated, or null if the source
sign stream is exhausted. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FilteringSupplierForAnimGen(StreamedSiGMLSupplierForAnimationGen SUPPLIER)
Method Detail |
---|
public AnimatedSign getNextSignToBeAnimated() throws java.lang.InterruptedException
null
if the source
sign stream is exhausted. The sign returned is obtained from this
supplier's primary supplier, possibly after filtering out any signs
which already have animation data and making one call directly to
doneSignAnimation()
for each sign thus filtered.
getNextSignToBeAnimated
in interface StreamedSiGMLSupplierForAnimationGen
java.lang.InterruptedException
public void doneSignAnimation()
getNextSignToBeAnimated()
that one more sign has been
completely generated, and forwards this notice to this supplier's
primary supplier.
doneSignAnimation
in interface StreamedSiGMLSupplierForAnimationGen
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |