All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class quicktime.std.qtcomponents.TimeCodeTime

java.lang.Object
   |
   +----quicktime.util.QTByteObject
           |
           +----quicktime.std.qtcomponents.TimeCodeTime

public final class TimeCodeTime
extends QTByteObject
implements Cloneable
The TimeCodeTime class represents time as HH:MM:SS:FF. No range checking is done on values set, and no frame rate is known. It is purely an information class


Constructor Index

 o TimeCodeTime()
Creates a TimeCodeTime object with values set to 0.
 o TimeCodeTime(int)
This is packed format that is referred to as the counter representation of the TimeCodeTime structure.
 o TimeCodeTime(int, int, int, int)
Creates a TimeCodeDef object which has no initial settings.

Method Index

 o clone()
Makes a copy of a object.
 o getFrames()
Returns the current frames settings.
 o getHours()
Returns the current hours settings.
 o getMinutes()
Returns the current minutes settings.
 o getSeconds()
Returns the current seconds settings.
 o setFrames(int)
Sets the frames value
 o setHours(int)
Sets the hours value
 o setMinutes(int)
Sets the minutes value
 o setSeconds(int)
Sets the seconds value
 o toCounter()
Returns the TimeCodeTime as a counter.
 o toString()
String representation of class.

Constructors

 o TimeCodeTime
 public TimeCodeTime(int hh,
                     int mm,
                     int ss,
                     int ff)
Creates a TimeCodeDef object which has no initial settings.

Parameters:
hh - hours value
mm - minutes value
ss - seconds value
ff - frames value
 o TimeCodeTime
 public TimeCodeTime()
Creates a TimeCodeTime object with values set to 0.

 o TimeCodeTime
 public TimeCodeTime(int counter)
This is packed format that is referred to as the counter representation of the TimeCodeTime structure.

Parameters:
counter - in packed format HH:MM:SS:FF

Methods

 o toCounter
 public int toCounter()
Returns the TimeCodeTime as a counter.

Returns:
an int
 o getHours
 public int getHours()
Returns the current hours settings.

Returns:
hours value
 o setHours
 public void setHours(int hh)
Sets the hours value

Parameters:
hh - hours value
 o getMinutes
 public int getMinutes()
Returns the current minutes settings.

Returns:
minutes value
 o setMinutes
 public void setMinutes(int mm)
Sets the minutes value

Parameters:
mm - minutes value
 o getSeconds
 public int getSeconds()
Returns the current seconds settings.

Returns:
seconds value
 o setSeconds
 public void setSeconds(int ss)
Sets the seconds value

Parameters:
ss - seconds value
 o getFrames
 public int getFrames()
Returns the current frames settings.

Returns:
frames value
 o setFrames
 public void setFrames(int ff)
Sets the frames value

Parameters:
ff - frames value
 o toString
 public String toString()
String representation of class.

Overrides:
toString in class QTByteObject
 o clone
 public Object clone()
Makes a copy of a object.

Overrides:
clone in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index