org.pscode.xui.ist
Class ImageSequenceCaption

java.lang.Object
  extended by org.pscode.xui.ist.ImageSequenceCaption
All Implemented Interfaces:
Comparable

public class ImageSequenceCaption
extends Object
implements Comparable

JavaBean used to store caption descriptions in an image sequence. Designed for use with the J2SE XMLEncoder/Decoder.

Version:
2010-01-08
Author:
Andrew Thompson

Field Summary
 int frameCount
          The number of frames for which to display this caption.
 int frameStart
          The first frame to which to apply this title.
 ImageCaption imageCaption
          The ImageCaption used for these frames.
 
Constructor Summary
ImageSequenceCaption()
           
 
Method Summary
 int compareTo(Object object)
           
 int getFrameCount()
           
 int getFrameStart()
           
 ImageCaption getImageCaption()
           
 void setFrameCount(int frameCount)
           
 void setFrameStart(int frameStart)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

frameCount

public int frameCount
The number of frames for which to display this caption.


frameStart

public int frameStart
The first frame to which to apply this title.


imageCaption

public ImageCaption imageCaption
The ImageCaption used for these frames.

Constructor Detail

ImageSequenceCaption

public ImageSequenceCaption()
Method Detail

compareTo

public int compareTo(Object object)
Specified by:
compareTo in interface Comparable

setFrameCount

public void setFrameCount(int frameCount)

getFrameCount

public int getFrameCount()

setFrameStart

public void setFrameStart(int frameStart)

getFrameStart

public int getFrameStart()

getImageCaption

public ImageCaption getImageCaption()

toString

public String toString()
Overrides:
toString in class Object