|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jwo.utils.gifutils.GIFImage.NetscapeExtension
public class GIFImage.NetscapeExtension
Extension block for looping animations.
Constructor Summary | |
---|---|
GIFImage.NetscapeExtension(GIFInputStream input)
Creates an extension based on an existing GIF file. |
|
GIFImage.NetscapeExtension(int iterationCount)
Creates an extension with the given number of looping iterations. |
Method Summary | |
---|---|
int |
getIterationCount()
Reports the number of looping iterations. |
void |
setIterationCount(int iterationCount)
Sets the number of looping iterations. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GIFImage.NetscapeExtension(GIFInputStream input) throws IOException
input
- Input stream containing gif file to read.
IOException
- if problem reading from input stream.public GIFImage.NetscapeExtension(int iterationCount)
iterationCount
- Number of times animation is to repeat or 0 for infinite loop.Method Detail |
---|
public void setIterationCount(int iterationCount)
iterationCount
- Number of times animation is to repeat or 0 for infinite loop.public int getIterationCount()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |