FSC
Class FilmStock

java.lang.Object
  |
  +--FSC.FilmStock

public class FilmStock
extends java.lang.Object

FilmStock is the class that defines one type of film stock. It includes the name, the frame size, and the frame speed.

Author:
Larry Aasen

Constructor Summary
FilmStock()
          This is the default constructor.
FilmStock(java.lang.String name, int frameSize, int frameSpeed)
          This constructor allows a FilmStock object to be created with all properties defined in one method call.
 
Method Summary
 int getFrameSize()
          This method will return the size of the frame in millimeters (mm).
 int getFrameSpeed()
          This method will return the speed of the frames traveling through the camera in feet per minute.
 java.lang.String getName()
          This method will return the name of the film stock.
 void setFrameSize(int value)
          This method will set the frame size in millimeters (mm).
 void setFrameSpeed(int value)
          This method will set the frame speed in feet per minute.
 void setName(java.lang.String value)
          This method will set the name of the film stock.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilmStock

public FilmStock()
This is the default constructor.

FilmStock

public FilmStock(java.lang.String name,
                 int frameSize,
                 int frameSpeed)
This constructor allows a FilmStock object to be created with all properties defined in one method call.
Parameters:
name - the display name of the film stock.
frameSize - the size of the frame in millimeters (mm).
frameSpeed - the speed of the frames traveling through the camera in feet per minute.
Method Detail

getName

public java.lang.String getName()
This method will return the name of the film stock.
Returns:
the name of the film stock.

setName

public void setName(java.lang.String value)
This method will set the name of the film stock.
Returns:
nothing.

getFrameSize

public int getFrameSize()
This method will return the size of the frame in millimeters (mm).
Returns:
the size of the frame in millimeters (mm).

setFrameSize

public void setFrameSize(int value)
This method will set the frame size in millimeters (mm).
Returns:
nothing.

getFrameSpeed

public int getFrameSpeed()
This method will return the speed of the frames traveling through the camera in feet per minute.
Returns:
the frame speed in feet per minute.

setFrameSpeed

public void setFrameSpeed(int value)
This method will set the frame speed in feet per minute.
Returns:
nothing.