📄 qtpreferences.html
字号:
<A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="QTPreferences()"><!-- --></A><H3>QTPreferences</H3><PRE>public <B>QTPreferences</B>()</PRE><DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="getAccessKeys(java.lang.String)"><!-- --></A><H3>getAccessKeys</H3><PRE>public static <A HREF="../../quicktime/std/movies/AtomContainer.html">AtomContainer</A> <B>getAccessKeys</B>(java.lang.String keyType) throws <A HREF="../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method returns all the application and system access keys of a specified access key type.</DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>keyType</CODE> - the type of access keys to return.<DT><B>Returns:</B><DD>The AtomContainer contains atoms of type kAccessKeyAtomType at the top level.</DL></DD></DL><HR><A NAME="registerAccessKey(java.lang.String, int, java.lang.String)"><!-- --></A><H3>registerAccessKey</H3><PRE>public static void <B>registerAccessKey</B>(java.lang.String keyType, int flags, java.lang.String accessKey) throws <A HREF="../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This method registers an access key. To register a system access key, set flags parameter to kAccessKeySystemFlag (1). To register an application access key, set flags parameter to 0. If the access key has already been registered, no error is returned, and the request is simply ignored</DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>keyType</CODE> - the type of access keys to be registered.<DD><CODE>flags</CODE> - flag specifying the operation of this method.<DD><CODE>accessKey</CODE> - the key to be registered.</DL></DD></DL><HR><A NAME="registerAccessKey(java.lang.String, int, quicktime.util.QTHandleRef)"><!-- --></A><H3>registerAccessKey</H3><PRE>public static void <B>registerAccessKey</B>(java.lang.String keyType, int flags, <A HREF="../../quicktime/util/QTHandleRef.html">QTHandleRef</A> accessKey) throws <A HREF="../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This method registers an access key. To register a system access key, set flags parameter to kAccessKeySystemFlag (1). To register an application access key, set flags parameter to 0. If the access key has already been registered, no error is returned, and the request is simply ignored</DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>keyType</CODE> - the type of access keys to be registered.<DD><CODE>flags</CODE> - flag specifying the operation of this method.<DD><CODE>accessKey</CODE> - the key to be registered.</DL></DD></DL><HR><A NAME="unregisterAccessKey(java.lang.String, int, java.lang.String)"><!-- --></A><H3>unregisterAccessKey</H3><PRE>public static void <B>unregisterAccessKey</B>(java.lang.String keyType, int flags, java.lang.String accessKey) throws <A HREF="../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This method removes an access key. To remove a system access key, set flags parameter to kAccessKeySystemFlag (1). To remove an application access key, set flags parameter to 0. </DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>keyType</CODE> - the type of the access key to be removed.<DD><CODE>flags</CODE> - flag specifying the operation of this method.<DD><CODE>accessKey</CODE> - the key to be removed.</DL></DD></DL><HR><A NAME="unregisterAccessKey(java.lang.String, int, quicktime.util.QTHandleRef)"><!-- --></A><H3>unregisterAccessKey</H3><PRE>public static void <B>unregisterAccessKey</B>(java.lang.String keyType, int flags, <A HREF="../../quicktime/util/QTHandleRef.html">QTHandleRef</A> accessKey) throws <A HREF="../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This method removes an access key. To remove a system access key, set flags parameter to kAccessKeySystemFlag (1). To remove an application access key, set flags parameter to 0. </DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>keyType</CODE> - the type of the access key to be removed.<DD><CODE>flags</CODE> - flag specifying the operation of this method.<DD><CODE>accessKey</CODE> - the key to be removed.</DL></DD></DL><HR><A NAME="getPreference(int)"><!-- --></A><H3>getPreference</H3><PRE>public static <A HREF="../../quicktime/std/movies/AtomContainer.html">AtomContainer</A> <B>getPreference</B>(int preferenceType) throws <A HREF="../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This method retrieves the preference value associated with a specific preference type.</DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>preferenceType</CODE> - the type of the preference to be retrieved.<DT><B>Returns:</B><DD>the atom container encapsulating the specific preference</DL></DD></DL><HR><A NAME="setPreference(int, quicktime.std.movies.AtomContainer)"><!-- --></A><H3>setPreference</H3><PRE>public static void <B>setPreference</B>(int preferenceType, <A HREF="../../quicktime/std/movies/AtomContainer.html">AtomContainer</A> prefAtom) throws <A HREF="../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This method sets the preference value associated with a specific preference type.</DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>preferenceType</CODE> - the type of the preference to be retrieved.<DD><CODE>prefAtom</CODE> - the atom container encapsulating the values of the specified preference</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/QTPreferences.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> PREV CLASS NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="QTPreferences.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -