|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsigmlanim.SiGMLAnimation
public class SiGMLAnimation
The data defining a single SiGML animation, which may be accumulated asynchronously after creation of this animation object. The animation data usually consists of two components:
AnimatedSign
;CASFrame
.getFrames()
.
If the animation has an associated sign sequence then the animation
data, both signs and frames, can be obtained as
a SignsArrayAccess
via getSignsArray()
.
The SignsArrayAccess
returned by this
method may grow dynamically after it has been supplied.
Constructor Summary | |
---|---|
SiGMLAnimation()
Constructs a new animation which is initially empty and which is expected to be built dynamically via a suitable sequence of calls on this animation's SiGMLAnimationBuildHandler implementation. |
|
SiGMLAnimation(AnimatedSign[] asigns)
Constructs a new animation from the given sequence of signs, which are assumed already to have had animation frames attached to them: the animation's frame sequence is constructed from these individual sequences (before this constructor execution completes). |
|
SiGMLAnimation(CASFrame[] frms)
Constructs a new animation directly from the given sequence of frames, on the assumption that no associated sequence of signs is available. |
|
SiGMLAnimation(SiGMLAnimationLoadEventHandler saleh)
Constructs a new animation which is initially empty and which is expected to be built dynamically via a suitable sequence of calls on this animation's SiGMLAnimationBuildHandler implementation,
reporting sign load events via the given handler. |
Method Summary | |
---|---|
void |
beginSignSequence()
Accepts notificatation that input of the sign sequence is starting. |
void |
endSignSequence()
Accetps notification that no further signs are to be added to the sequence for this animation. |
CASFrame[] |
getFrames()
Returns this animation's sequence of frames. |
SignsArrayAccess |
getSignsArray()
Returns a signs-array-access implementatation for this animation. |
boolean |
hasSigns()
Indicates whether signs data is available for this animation. |
void |
nextSignAnimationIsDone()
Accepts notification that animation has now been generated for one more of this animation's signs. |
void |
setNextSign(AnimatedSign as)
Accepts the given sign (not yet animated) as the next one in this animation. |
void |
waitForAnimationComplete()
Delays the calling thread if necessary until this animation is complete. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SiGMLAnimation()
SiGMLAnimationBuildHandler
implementation.
public SiGMLAnimation(SiGMLAnimationLoadEventHandler saleh)
SiGMLAnimationBuildHandler
implementation,
reporting sign load events via the given handler.
public SiGMLAnimation(AnimatedSign[] asigns)
aSigns!=null
.
public SiGMLAnimation(CASFrame[] frms)
Method Detail |
---|
public SignsArrayAccess getSignsArray()
public boolean hasSigns()
public CASFrame[] getFrames()
public void waitForAnimationComplete() throws java.lang.InterruptedException
java.lang.InterruptedException
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()
endSignSequence
in interface SiGMLAnimationBuildHandler
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |