📄 mediaplayer.html
字号:
<BR> Sets the codebase of the running applet.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/media/bean/playerbean/MediaPlayer.html#setControlPanelVisible(boolean)">setControlPanelVisible</A></B>(boolean isVisible)</CODE><BR> Sets the control panel visibility property for this <CODE>MediaPlayer</CODE>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/media/bean/playerbean/MediaPlayer.html#setDataSource(javax.media.protocol.DataSource)">setDataSource</A></B>(<A HREF="../../../../javax/media/protocol/DataSource.html">DataSource</A> ds)</CODE><BR> Sets the <CODE>DataSource</CODE> for this <CODE>MediaPlayer</CODE>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/media/bean/playerbean/MediaPlayer.html#setFixedAspectRatio(boolean)">setFixedAspectRatio</A></B>(boolean isFixed)</CODE><BR> Sets the fixed aspect ratio property for this <CODE>MediaPlayer</CODE>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/media/bean/playerbean/MediaPlayer.html#setMediaLocation(java.lang.String)">setMediaLocation</A></B>(java.lang.String location)</CODE><BR> Sets the media location property for this <CODE>MediaPlayer</CODE>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/media/bean/playerbean/MediaPlayer.html#setMediaLocationVisible(boolean)">setMediaLocationVisible</A></B>(boolean val)</CODE><BR> Sets the MediaLocationVisible property for this <CODE>MediaPlayer</CODE>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/media/bean/playerbean/MediaPlayer.html#setMediaLocator(javax.media.MediaLocator)">setMediaLocator</A></B>(<A HREF="../../../../javax/media/MediaLocator.html">MediaLocator</A> locator)</CODE><BR> Sets the <CODE>MediaLocator</CODE> for this <CODE>MediaPlayer</CODE>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/media/bean/playerbean/MediaPlayer.html#setMediaTime(javax.media.Time)">setMediaTime</A></B>(<A HREF="../../../../javax/media/Time.html">Time</A> now)</CODE><BR> Sets the <code>Clock's</code> <i>media time</i>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/media/bean/playerbean/MediaPlayer.html#setPlaybackLoop(boolean)">setPlaybackLoop</A></B>(boolean val)</CODE><BR> Sets the loop property for this <CODE>MediaPlayer</CODE>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/media/bean/playerbean/MediaPlayer.html#setPlayer(javax.media.Player)">setPlayer</A></B>(<A HREF="../../../../javax/media/Player.html">Player</A> newPlayer)</CODE><BR> Specifies an existing <CODE>Player</CODE> to use to present media for this <CODE>MediaPlayer</CODE>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/media/bean/playerbean/MediaPlayer.html#setPopupActive(boolean)">setPopupActive</A></B>(boolean isActive)</CODE><BR> Specifies whether or not the Zoom Popup Menu is active.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> float</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/media/bean/playerbean/MediaPlayer.html#setRate(float)">setRate</A></B>(float factor)</CODE><BR> Sets the temporal scale factor.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/media/bean/playerbean/MediaPlayer.html#setSource(javax.media.protocol.DataSource)">setSource</A></B>(<A HREF="../../../../javax/media/protocol/DataSource.html">DataSource</A> data)</CODE><BR> Sets the media source this <code>MediaHandler</code> should use to obtain content.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/media/bean/playerbean/MediaPlayer.html#setStopTime(javax.media.Time)">setStopTime</A></B>(<A HREF="../../../../javax/media/Time.html">Time</A> stopTime)</CODE><BR> Sets the <i>media time</i> at which you want the <code>Clock</code> to stop.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/media/bean/playerbean/MediaPlayer.html#setTimeBase(javax.media.TimeBase)">setTimeBase</A></B>(<A HREF="../../../../javax/media/TimeBase.html">TimeBase</A> master)</CODE><BR> Sets the <code>TimeBase</code> for this <code>Clock</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/media/bean/playerbean/MediaPlayer.html#setVolumeLevel(java.lang.String)">setVolumeLevel</A></B>(java.lang.String volumeString)</CODE><BR> Sets the audio volume property for this <CODE>MediaPlayer</CODE>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/media/bean/playerbean/MediaPlayer.html#setZoomTo(java.lang.String)">setZoomTo</A></B>(java.lang.String scale)</CODE><BR> Sets the zoom property for this <CODE>MediaPlayer</CODE>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/media/bean/playerbean/MediaPlayer.html#start()">start</A></B>()</CODE><BR> Starts the <CODE>MediaPlayer</CODE> as soon as possible.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/media/bean/playerbean/MediaPlayer.html#stop()">stop</A></B>()</CODE><BR> Stops the <code>Clock</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/media/bean/playerbean/MediaPlayer.html#stopAndDeallocate()">stopAndDeallocate</A></B>()</CODE><BR> Stops the clock and deallocates the system resources used by this player.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/media/bean/playerbean/MediaPlayer.html#syncStart(javax.media.Time)">syncStart</A></B>(<A HREF="../../../../javax/media/Time.html">Time</A> at)</CODE><BR> Synchronizes the current <i>media time</i> to the specified <I>time-base time</I> and start the <code>Clock</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/media/bean/playerbean/MediaPlayer.html#waitForState(int)">waitForState</A></B>(int s)</CODE><BR> Ensures the ability to synchronously change state.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/media/bean/playerbean/MediaPlayer.html#writeExternal(java.io.ObjectOutput)">writeExternal</A></B>(java.io.ObjectOutput out)</CODE><BR> Saves the contents of this object by calling the <CODE>ObjectOutput</CODE> <CODE>writeObject</CODE> method.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.awt.Container"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.awt.Container</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>add, add, add, add, add, addContainerListener, addImpl, addNotify, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getInsets, getLayout, getMaximumSize, getMinimumSize, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paint, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setCursor, setFont, setLayout, update, validate, validateTree</CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.awt.Component"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.awt.Component</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>action, add, addComponentListener, addFocusListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getInputContext, getInputMethodRequests, getLocale, getLocation, getLocation, getLocationOnScreen, getName, getParent, getPeer, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isDisplayable, isDoubleBuffered, isEnabled, isFocusTraversable, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -