player
Interface SignsArrayAccess


public interface SignsArrayAccess

Interface defining client access to a SiGMLAnimation as an array of animated signs, which may be expanded on demand by the client, as new animation data becomes available. Moved from package sigmlanim, 2007-08-07.


Method Summary
 boolean arrayIsFinal()
          Returns this array-access's completion flag.
 int countFrames()
          Returns the number of available animation frames.
 int countSigns()
          Returns the number of valid signs in the array, i.e.
 AnimatedSign[] signs()
          Returns the signs array.
 void update()
          Brings this array-access up to date with respect to the supporting animation, which may or may not change the array-access's state.
 void waitForProgress()
          Blocks the caller until a significant update can be (and is) performed on this array-access; when the call returns either there are more valid entries in the array or the array-access is newly flagged as complete.
 

Method Detail

signs

AnimatedSign[] signs()
Returns the signs array.


countSigns

int countSigns()
Returns the number of valid signs in the array, i.e. the number of signs with animation frames attached.


countFrames

int countFrames()
Returns the number of available animation frames.


arrayIsFinal

boolean arrayIsFinal()
Returns this array-access's completion flag.


update

void update()
Brings this array-access up to date with respect to the supporting animation, which may or may not change the array-access's state.


waitForProgress

void waitForProgress()
                     throws java.lang.InterruptedException
Blocks the caller until a significant update can be (and is) performed on this array-access; when the call returns either there are more valid entries in the array or the array-access is newly flagged as complete.

Throws:
java.lang.InterruptedException