|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--quicktime.util.QTByteObject | +--quicktime.std.qtcomponents.TimeCodeTime
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
Fields inherited from interface quicktime.jdirect.PrimitivesLib |
JDirect_MacOSX, libraryInstance |
Constructor Summary | |
TimeCodeTime()
Creates a TimeCodeTime object with values set to 0. |
|
TimeCodeTime(int counter)
This is packed format that is referred to as the counter representation of the TimeCodeTime structure. |
|
TimeCodeTime(int hh,
int mm,
int ss,
int ff)
Creates a TimeCodeDef object which has no initial settings. |
Method Summary | |
java.lang.Object |
clone()
Makes a copy of a object. |
int |
getFrames()
Returns the current frames settings. |
int |
getHours()
Returns the current hours settings. |
int |
getMinutes()
Returns the current minutes settings. |
int |
getSeconds()
Returns the current seconds settings. |
void |
setFrames(int ff)
Sets the frames value |
void |
setHours(int hh)
Sets the hours value |
void |
setMinutes(int mm)
Sets the minutes value |
void |
setSeconds(int ss)
Sets the seconds value |
int |
toCounter()
Returns the TimeCodeTime as a counter. |
java.lang.String |
toString()
String representation of class. |
Methods inherited from class quicktime.util.QTByteObject |
equals, fromArray, getBytes, getSize |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public TimeCodeTime(int hh, int mm, int ss, int ff)
hh
- hours valuemm
- minutes valuess
- seconds valueff
- frames valuepublic TimeCodeTime()
public TimeCodeTime(int counter)
counter
- in packed format HH:MM:SS:FFMethod Detail |
public int toCounter()
public int getHours()
public void setHours(int hh)
hh
- hours valuepublic int getMinutes()
public void setMinutes(int mm)
mm
- minutes valuepublic int getSeconds()
public void setSeconds(int ss)
ss
- seconds valuepublic int getFrames()
public void setFrames(int ff)
ff
- frames valuepublic java.lang.String toString()
toString
in class QTByteObject
public java.lang.Object clone()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |