|
|||||||||
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.TimeCodeDef
The TimeCode definition class contains timecode formatting information.
Field Summary | |
static int |
kNativeSize
This is the size (the number of bytes) that are required for this class |
Fields inherited from interface quicktime.jdirect.PrimitivesLib |
JDirect_MacOSX, libraryInstance |
Constructor Summary | |
TimeCodeDef()
Creates a TimeCodeDef object which has no initial settings. |
Method Summary | |
java.lang.Object |
clone()
Makes a copy of a object. |
int |
getFlags()
Returns the current flag settings. |
int |
getFrameDuration()
Returns the duration of each frame. |
int |
getFramesPerSecond()
Returns the number of frames per second as the closest integral value. |
int |
getTimeScale()
Returns the time scale in terms of the frameDuration. |
void |
setFlags(int flags)
Sets the flags - dropFrame, etc |
void |
setFrameDuration(int frameDuration)
Sets the duration of each frame. |
void |
setFramesPerSecond(int fps)
Sets the number of frames per second as the closest integral value. |
void |
setTimeScale(int timeScale)
Sets the time scale in terms of the frameDuration. |
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 |
Field Detail |
public static final int kNativeSize
Constructor Detail |
public TimeCodeDef()
Method Detail |
public int getFlags()
public void setFlags(int flags)
flags
- new flag valuepublic int getTimeScale()
public void setTimeScale(int timeScale)
timeScale
- the new time scale valuepublic int getFrameDuration()
public void setFrameDuration(int frameDuration)
frameDuration
- new frame duration valuepublic int getFramesPerSecond()
public void setFramesPerSecond(int fps)
fps
- the specified, integral, frames per secondpublic 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 |