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
-
TimeCodeTime()
- Creates a TimeCodeTime object with values set to 0.
-
TimeCodeTime(int)
-
This is packed format that is referred to as the counter representation
of the TimeCodeTime structure.
-
TimeCodeTime(int, int, int, int)
- Creates a TimeCodeDef object which has no initial settings.
-
clone()
- Makes a copy of a object.
-
getFrames()
- Returns the current frames settings.
-
getHours()
- Returns the current hours settings.
-
getMinutes()
- Returns the current minutes settings.
-
getSeconds()
- Returns the current seconds settings.
-
setFrames(int)
- Sets the frames value
-
setHours(int)
- Sets the hours value
-
setMinutes(int)
- Sets the minutes value
-
setSeconds(int)
- Sets the seconds value
-
toCounter()
- Returns the TimeCodeTime as a counter.
-
toString()
- String representation of class.
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
TimeCodeTime
public TimeCodeTime()
- Creates a TimeCodeTime object with values set to 0.
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
toCounter
public int toCounter()
- Returns the TimeCodeTime as a counter.
- Returns:
- an int
getHours
public int getHours()
- Returns the current hours settings.
- Returns:
- hours value
setHours
public void setHours(int hh)
- Sets the hours value
- Parameters:
- hh - hours value
getMinutes
public int getMinutes()
- Returns the current minutes settings.
- Returns:
- minutes value
setMinutes
public void setMinutes(int mm)
- Sets the minutes value
- Parameters:
- mm - minutes value
getSeconds
public int getSeconds()
- Returns the current seconds settings.
- Returns:
- seconds value
setSeconds
public void setSeconds(int ss)
- Sets the seconds value
- Parameters:
- ss - seconds value
getFrames
public int getFrames()
- Returns the current frames settings.
- Returns:
- frames value
setFrames
public void setFrames(int ff)
- Sets the frames value
- Parameters:
- ff - frames value
toString
public String toString()
- String representation of class.
- Overrides:
- toString in class QTByteObject
clone
public Object clone()
- Makes a copy of a object.
- Overrides:
- clone in class Object
All Packages Class Hierarchy This Package Previous Next Index