⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 movieplayer.html

📁 这个是java的quicktime for java 的详细使用文档
💻 HTML
📖 第 1 页 / 共 3 页
字号:
getDisplayBounds</H3><PRE>public <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> <B>getDisplayBounds</B>()                        throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method is called automatically via the QTCanvas object associated with this client to set the boundary of the movie. <br><DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/display/Drawable.html#getDisplayBounds()">getDisplayBounds</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/display/Drawable.html">Drawable</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>bounds</CODE> - a QDRect object describing the boundary</DL></DD></DL><HR><A NAME="setClip(quicktime.qd.Region)"><!-- --></A><H3>setClip</H3><PRE>public void <B>setClip</B>(<A HREF="../../../quicktime/qd/Region.html">Region</A>&nbsp;theClip)             throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This method allows you to set a MoviePlayer's clipping region.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/display/QTDrawable.html#setClip(quicktime.qd.Region)">setClip</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/display/QTDrawable.html">QTDrawable</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>theClip</CODE> - a Region that defines the player's clipping region.</DL></DD></DL><HR><A NAME="getClip()"><!-- --></A><H3>getClip</H3><PRE>public <A HREF="../../../quicktime/qd/Region.html">Region</A> <B>getClip</B>()               throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This method allows you to obtain information describing a MoviePlayer's clipping regions.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/display/QTDrawable.html#getClip()">getClip</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/display/QTDrawable.html">QTDrawable</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the clipping region of the entire MoviePlayer object</DL></DD></DL><HR><A NAME="setTime(int)"><!-- --></A><H3>setTime</H3><PRE>public void <B>setTime</B>(int&nbsp;time)             throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Sets the player to the time specified. This time value at this level is a totally arbitrary value - what time that means in "real time" is determined by the implementor of the interface, typically the scale value will determine what a "real" time of 1 second is.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/players/Playable.html#setTime(int)">setTime</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/players/Playable.html">Playable</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>time</CODE> - the new time value</DL></DD></DL><HR><A NAME="getTime()"><!-- --></A><H3>getTime</H3><PRE>public int <B>getTime</B>()            throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Returns the current time value of the object.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/players/Playable.html#getTime()">getTime</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/players/Playable.html">Playable</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the current time.</DL></DD></DL><HR><A NAME="getDuration()"><!-- --></A><H3>getDuration</H3><PRE>public int <B>getDuration</B>()                throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Returns the duration of the media attached to the player. If  the player has no media, or does not know the duration of its media it can return the constant kDurationUnknown.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/players/Playable.html#getDuration()">getDuration</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/players/Playable.html">Playable</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the media duration.</DL></DD></DL><HR><A NAME="getTimeBase()"><!-- --></A><H3>getTimeBase</H3><PRE>public <A HREF="../../../quicktime/std/clocks/TimeBase.html">TimeBase</A> <B>getTimeBase</B>()                     throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Returns the TimeBase of the media attached to the player.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/time/Timeable.html#getTimeBase()">getTimeBase</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/time/Timeable.html">Timeable</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the players TimeBase.</DL></DD></DL><HR><A NAME="setRate(float)"><!-- --></A><H3>setRate</H3><PRE>public void <B>setRate</B>(float&nbsp;rate)             throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Sets the player to the playback rate. Typically a rate of zero will mean that the player is stopped, a positive value that the player is playing forwards, a negative value that the player is playing backwards.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/time/Timeable.html#setRate(float)">setRate</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/time/Timeable.html">Timeable</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>rate</CODE> - the new playback rate.</DL></DD></DL><HR><A NAME="addDrawingListener(quicktime.app.display.DrawingListener)"><!-- --></A><H3>addDrawingListener</H3><PRE>public void <B>addDrawingListener</B>(<A HREF="../../../quicktime/app/display/DrawingListener.html">DrawingListener</A>&nbsp;listener)</PRE><DL><DD>Registers an object as a listener of the MoviePlayer. The object will receive notification when the MoviePlayer draws a frame<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/display/DrawingNotifier.html#addDrawingListener(quicktime.app.display.DrawingListener)">addDrawingListener</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/display/DrawingNotifier.html">DrawingNotifier</A></CODE></DL></DD><DD>Following copied from interface: <CODE>quicktime.app.display.DrawingNotifier</CODE></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>source</CODE> - the object that is to be the source of interest for the the Listener object.</DL></DD></DL><HR><A NAME="removeDrawingListener(quicktime.app.display.DrawingListener)"><!-- --></A><H3>removeDrawingListener</H3><PRE>public void <B>removeDrawingListener</B>(<A HREF="../../../quicktime/app/display/DrawingListener.html">DrawingListener</A>&nbsp;listener)</PRE><DL><DD>Removes an object that is a listener of the MoviePlayer. The object will no longer receive notification when the MoviePlayer draws a frame<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/display/DrawingNotifier.html#removeDrawingListener(quicktime.app.display.DrawingListener)">removeDrawingListener</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/display/DrawingNotifier.html">DrawingNotifier</A></CODE></DL></DD><DD>Following copied from interface: <CODE>quicktime.app.display.DrawingNotifier</CODE></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>source</CODE> - the object that is to be the source of interest for the the Listener object.</DL></DD></DL><HR><A NAME="getRate()"><!-- --></A><H3>getRate</H3><PRE>public float <B>getRate</B>()              throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Returns the current rate of the player.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/time/Timeable.html#getRate()">getRate</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/time/Timeable.html">Timeable</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the playback rate</DL></DD></DL><HR><A NAME="getScale()"><!-- --></A><H3>getScale</H3><PRE>public int <B>getScale</B>()             throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Returns the time scale of the player - how many ticks per second.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/players/Playable.html#getScale()">getScale</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/players/Playable.html">Playable</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the current scale.</DL></DD></DL><HR><A NAME="getVolume()"><!-- --></A><H3>getVolume</H3><PRE>public float <B>getVolume</B>()                throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Returns the volume setting (0 is silent, 1 is unity gain).<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/audio/AudioSpec.html#getVolume()">getVolume</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/audio/AudioSpec.html">AudioSpec</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>a float</DL></DD></DL><HR><A NAME="setVolume(float)"><!-- --></A><H3>setVolume</H3><PRE>public void <B>setVolume</B>(float&nbsp;val)               throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Sets the volume.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/audio/AudioSpec.html#setVolume(float)">setVolume</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/audio/AudioSpec.html">AudioSpec</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>val</CODE> - the new volume</DL></DD></DL><HR><A NAME="isMuted()"><!-- --></A><H3>isMuted</H3><PRE>public boolean <B>isMuted</B>()                throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Returns the current mute status.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/audio/AudioSpec.html#isMuted()">isMuted</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/audio/AudioSpec.html">AudioSpec</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>a boolean</DL></DD></DL><HR><A NAME="setMuted(boolean)"><!-- --></A><H3>setMuted</H3><PRE>public void <B>setMuted</B>(boolean&nbsp;flag)              throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Allows the muting of the specific channel. When unmuted the AudioSpec object will return to its current volume setting.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/audio/AudioSpec.html#setMuted(boolean)">setMuted</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/audio/AudioSpec.html">AudioSpec</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>flag</CODE> - turn muting on - true or off - false.</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>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/MoviePlayer.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;PREV CLASS&nbsp;&nbsp;<A HREF="../../../quicktime/app/players/MoviePresenter.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="MoviePlayer.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: &nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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 + -