org.pscode.xui.ist
Class ImageSequenceFrame

java.lang.Object
  extended by org.pscode.xui.ist.ImageSequenceFrame

public class ImageSequenceFrame
extends Object

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

Version:
2010-01-08
Author:
Andrew Thompson

Field Summary
 Date date
          The date on which this frame was captured.
 int frameNumber
          The frame number of this frame.
 Point pointerLocation
          The location of the mouse pointer when this frame was captured.
 long screenshotName
          The name of the screenshot to use for this frame.
 
Constructor Summary
ImageSequenceFrame()
          The captions to apply to this frame (and probably subsequent frames).
ImageSequenceFrame(int frameNumber, Date date, Point pointerLocation, long screenshotName)
           
 
Method Summary
 Date getDate()
           
 int getFrameNumber()
           
 Point getPointerLocation()
           
 long getScreenshotName()
           
 void setDate(Date date)
           
 void setFrameNumber(int frameNumber)
           
 void setPointerLocation(Point pointerLocation)
           
 void setScreenshotName(long screenshotName)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

frameNumber

public int frameNumber
The frame number of this frame.


date

public Date date
The date on which this frame was captured.


pointerLocation

public Point pointerLocation
The location of the mouse pointer when this frame was captured.


screenshotName

public long screenshotName
The name of the screenshot to use for this frame. Will be the time in milliseconds with ".png" added at runtime.

Constructor Detail

ImageSequenceFrame

public ImageSequenceFrame()
The captions to apply to this frame (and probably subsequent frames).


ImageSequenceFrame

public ImageSequenceFrame(int frameNumber,
                          Date date,
                          Point pointerLocation,
                          long screenshotName)
Method Detail

setFrameNumber

public void setFrameNumber(int frameNumber)

getFrameNumber

public int getFrameNumber()

setDate

public void setDate(Date date)

getDate

public Date getDate()

setPointerLocation

public void setPointerLocation(Point pointerLocation)

getPointerLocation

public Point getPointerLocation()

setScreenshotName

public void setScreenshotName(long screenshotName)

getScreenshotName

public long getScreenshotName()

toString

public String toString()
Overrides:
toString in class Object