|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectsigmlgen.GSiGMLSign
sigmlanim.AnimatedSign
public class AnimatedSign
This class extends a GSiGMLSign by attaching
the corresponding seqence of animation frames to it.
| Constructor Summary | |
|---|---|
AnimatedSign(sigmlgen.GSiGMLSign sign)
Constructs a new sign object for the given GSiGMLSign,
initially with no associated animation frames. |
|
| Method Summary | |
|---|---|
int |
compareFrames(int f)
Returns an index comparison value for the frames of this sign with the given frame: the result is: negative if this sign is before the given frame; zero if it contains the frame; positive if it is after the frame. |
CASFrame |
getFrame(int f)
Returns frame f, assuming this.hasFrame(f). |
CASFrame[] |
getFrames()
Returns the animation frames for this sign. |
int |
getFramesBase()
Returns the lower limit for this sign's frame range. |
int |
getFramesLimit()
Returns the upper limit for this sign's frame range. |
boolean |
hasFrame(int f)
Tests whether this frame index is in the range associated with this sign. |
void |
setFrames(CASFrame[] frms,
int base)
Attaches the given sequence of animation frames to this sign, with the given base frame index. |
| Methods inherited from class sigmlgen.GSiGMLSign |
|---|
getAmbientMotionFlags, getCameraSettings, getGloss, getSiGMLForSign, hasPlayerSettings, setPlayerSettings, supplementPlayerSettings |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AnimatedSign(sigmlgen.GSiGMLSign sign)
GSiGMLSign,
initially with no associated animation frames.
| Method Detail |
|---|
public CASFrame[] getFrames()
public CASFrame getFrame(int f)
public int getFramesBase()
public int getFramesLimit()
public boolean hasFrame(int f)
public int compareFrames(int f)
public void setFrames(CASFrame[] frms,
int base)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||