quicktime.std.movies.media
Class TextDescription
java.lang.Object
|
+--quicktime.QTObject
|
+--quicktime.util.QTHandleRef
|
+--quicktime.std.movies.media.SampleDescription
|
+--quicktime.std.movies.media.TextDescription
- All Implemented Interfaces:
- java.lang.Cloneable, quicktime.jdirect.InterfaceLib, quicktime.jdirect.PrimitivesLib, quicktime.jdirect.QuickTimeLib, quicktime.jdirect.SharedLibrary, com.apple.jdirect.SharedLibrary
- public final class TextDescription
- extends SampleDescription
This class maps the TextDescription record of the MovieToolbox.
TextDescription are used when adding and getting media samples to/from Text tracks.
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.QuickTimeLib |
JDirect_MacOSX, libraryInstance, name |
Constructor Summary |
TextDescription()
This constructor makes a new TextDescription object. |
Methods inherited from class quicktime.util.QTHandleRef |
copyFromArray, copyFromArray, copyFromArray, copyFromArray, copyFromArray, copyFromArray, copyFromArray, copyToArray, copyToArray, copyToArray, copyToArray, copyToArray, copyToArray, copyToArray, fromCompressionDialogState, fromSCSequence, getBytes, inMemory, isLocked, lock, lockHigh, moveHigh, toQTPointer, toQTPointer, unlock |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
kNativeSize
public static final int kNativeSize
- This is the size (the number of bytes) that are required for this class
TextDescription
public TextDescription()
throws QTException
- This constructor makes a new TextDescription object.
getEndianDescriptor
public static EndianDescriptor getEndianDescriptor()
- Returns the EndianDescriptor for this class.
- Returns:
- an EndianDescriptor
clone
public java.lang.Object clone()
- Implementation of Cloneable Interface.
- Overrides:
clone
in class SampleDescription
setDefaultStyle
public void setDefaultStyle(ScrpSTElement style)
- Set the default style.
- Parameters:
style
- the new default style.
getDefaultStyle
public ScrpSTElement getDefaultStyle()
- Get the default style.
- Returns:
- the default style.
setDisplayFlags
public void setDisplayFlags(int flags)
getDisplayFlags
public int getDisplayFlags()
setTextJustification
public void setTextJustification(int just)
getTextJustification
public int getTextJustification()
setBackgroundColor
public void setBackgroundColor(QDColor bgColor)
getBackgroundColor
public QDColor getBackgroundColor()
setDefaultTextBox
public void setDefaultTextBox(QDRect textBox)
getDefaultTextBox
public QDRect getDefaultTextBox()
setDefaultFontName
public void setDefaultFontName(java.lang.String fName)
throws QTException
getDefaultFontName
public java.lang.String getDefaultFontName()
throws QTException