mediaplayermedialocationeditor.html

来自「jmf api 帮助文档 jmf开发人员必读」· HTML 代码 · 共 778 行 · 第 1/2 页

HTML
778
字号
isDoubleBuffered, isEnabled, isFocusTraversable, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, remove, removeComponentListener, removeFocusListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setDropTarget, setEnabled, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus</CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.Object</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><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="MediaPlayerMediaLocationEditor()"><!-- --></A><H3>MediaPlayerMediaLocationEditor</H3><PRE>public <B>MediaPlayerMediaLocationEditor</B>()</PRE><DL><DD>Default constructor that adds the <CODE>KeyListener</CODE> for the   visual text field.</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="getJavaInitializationString()"><!-- --></A><H3>getJavaInitializationString</H3><PRE>public java.lang.String <B>getJavaInitializationString</B>()</PRE><DL><DD>Generates a code fragment that can be used   to initialize a variable with the current mediaLocation    property value.<DD><DL><DT><B>Specified by: </B><DD>getJavaInitializationString in interface java.beans.PropertyEditor</DL></DD><DD><DL><DT><B>Returns:</B><DD>The initialization <CODE>String</CODE>.</DL></DD></DL><HR><A NAME="getPreferredSize()"><!-- --></A><H3>getPreferredSize</H3><PRE>public java.awt.Dimension <B>getPreferredSize</B>()</PRE><DL><DD>Gets the preferred dimensions for this media location editor.<DD><DL><DT><B>Overrides:</B><DD>getPreferredSize in class java.awt.Container</DL></DD><DD><DL><DT><B>Returns:</B><DD>A <CODE>Dimension</CODE> that contains the preferred dimensions.</DL></DD></DL><HR><A NAME="setValue(java.lang.Object)"><!-- --></A><H3>setValue</H3><PRE>public void <B>setValue</B>(java.lang.Object&nbsp;o)</PRE><DL><DD>Sets the value for the media location property.<DD><DL><DT><B>Specified by: </B><DD>setValue in interface java.beans.PropertyEditor</DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>o</CODE> - The new media location property object.</DL></DD></DL><HR><A NAME="getValue()"><!-- --></A><H3>getValue</H3><PRE>public java.lang.Object <B>getValue</B>()</PRE><DL><DD>Gets the value from the media location property.<DD><DL><DT><B>Specified by: </B><DD>getValue in interface java.beans.PropertyEditor</DL></DD><DD><DL><DT><B>Returns:</B><DD>The media location property value.</DL></DD></DL><HR><A NAME="setAsText(java.lang.String)"><!-- --></A><H3>setAsText</H3><PRE>public void <B>setAsText</B>(java.lang.String&nbsp;s)</PRE><DL><DD>Sets the property value to the specified string.<DD><DL><DT><B>Specified by: </B><DD>setAsText in interface java.beans.PropertyEditor</DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>s</CODE> - The String  to set the media location property value to.</DL></DD></DL><HR><A NAME="getAsText()"><!-- --></A><H3>getAsText</H3><PRE>public java.lang.String <B>getAsText</B>()</PRE><DL><DD>Gets the mediaLocation property.<DD><DL><DT><B>Specified by: </B><DD>getAsText in interface java.beans.PropertyEditor</DL></DD><DD><DL><DT><B>Returns:</B><DD>The value of the media location property as a <CODE>String</CODE>.</DL></DD></DL><HR><A NAME="isPaintable()"><!-- --></A><H3>isPaintable</H3><PRE>public boolean <B>isPaintable</B>()</PRE><DL><DD>Determines whether or not this class  honors   the <CODE>paintValue</CODE> method. Used by bean builders.<DD><DL><DT><B>Specified by: </B><DD>isPaintable in interface java.beans.PropertyEditor</DL></DD><DD><DL><DT><B>Returns:</B><DD><CODE>true</CODE> if it honors the <CODE>paintValue</CODE> method,  <CODE>false</CODE> if it does not.</DL></DD></DL><HR><A NAME="paintValue(java.awt.Graphics, java.awt.Rectangle)"><!-- --></A><H3>paintValue</H3><PRE>public void <B>paintValue</B>(java.awt.Graphics&nbsp;g,                       java.awt.Rectangle&nbsp;area)</PRE><DL><DD>Paints the media location's editor box.<DD><DL><DT><B>Specified by: </B><DD>paintValue in interface java.beans.PropertyEditor</DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>g</CODE> - The graphics context in which to paint the editor box.<DD><CODE>area</CODE> - The area in which the editor box should be rendered.</DL></DD></DL><HR><A NAME="getTags()"><!-- --></A><H3>getTags</H3><PRE>public java.lang.String[] <B>getTags</B>()</PRE><DL><DD>Determines whether or not this is a tagged value.<DD><DL><DT><B>Specified by: </B><DD>getTags in interface java.beans.PropertyEditor</DL></DD><DD><DL><DT><B>Returns:</B><DD>null to tell the bean builder that this   is not a tagged value property.</DL></DD></DL><HR><A NAME="getCustomEditor()"><!-- --></A><H3>getCustomEditor</H3><PRE>public java.awt.Component <B>getCustomEditor</B>()</PRE><DL><DD>Gets the panel that supports the media location   editing.<DD><DL><DT><B>Specified by: </B><DD>getCustomEditor in interface java.beans.PropertyEditor</DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>The</CODE> - panel as a <CODE>Component</CODE>.</DL></DD></DL><HR><A NAME="supportsCustomEditor()"><!-- --></A><H3>supportsCustomEditor</H3><PRE>public boolean <B>supportsCustomEditor</B>()</PRE><DL><DD>Determines whether or not this property editor supports a custom editor.<DD><DL><DT><B>Specified by: </B><DD>supportsCustomEditor in interface java.beans.PropertyEditor</DL></DD><DD><DL><DT><B>Returns:</B><DD>true since the media location property    can provide a custom editor.</DL></DD></DL><HR><A NAME="addPropertyChangeListener(java.beans.PropertyChangeListener)"><!-- --></A><H3>addPropertyChangeListener</H3><PRE>public void <B>addPropertyChangeListener</B>(java.beans.PropertyChangeListener&nbsp;listener)</PRE><DL><DD>Registers a listener for the <CODE>PropertyChangeEvent</CODE> .<DD><DL><DT><B>Specified by: </B><DD>addPropertyChangeListener in interface java.beans.PropertyEditor<DT><B>Overrides:</B><DD>addPropertyChangeListener in class java.awt.Component</DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>listener</CODE> - An object to be invoked when a <CODE>PropertyChangeEvent</CODE>     is fired.</DL></DD></DL><HR><A NAME="removePropertyChangeListener(java.beans.PropertyChangeListener)"><!-- --></A><H3>removePropertyChangeListener</H3><PRE>public void <B>removePropertyChangeListener</B>(java.beans.PropertyChangeListener&nbsp;listener)</PRE><DL><DD>Removes the specified listener from the property change listener list.<DD><DL><DT><B>Specified by: </B><DD>removePropertyChangeListener in interface java.beans.PropertyEditor<DT><B>Overrides:</B><DD>removePropertyChangeListener in class java.awt.Component</DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>listener</CODE> - The <CODE>PropertyChangeListener</CODE> to be removed.</DL></DD></DL><HR><A NAME="actionPerformed(java.awt.event.ActionEvent)"><!-- --></A><H3>actionPerformed</H3><PRE>public void <B>actionPerformed</B>(java.awt.event.ActionEvent&nbsp;evt)</PRE><DL><DD>Determines which controls have had the specified  action performed and acts accordingly.<DD><DL><DT><B>Specified by: </B><DD>actionPerformed in interface java.awt.event.ActionListener</DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>evt</CODE> - The <CODE>ActionEvent</CODE>.</DL></DD></DL><HR><A NAME="itemStateChanged(java.awt.event.ItemEvent)"><!-- --></A><H3>itemStateChanged</H3><PRE>public void <B>itemStateChanged</B>(java.awt.event.ItemEvent&nbsp;evt)</PRE><DL><DD>Determines which protocol is selected and acts accordingly.<DD><DL><DT><B>Specified by: </B><DD>itemStateChanged in interface java.awt.event.ItemListener</DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>evt</CODE> - The <CODE>ItemEvent</CODE>.</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 ID="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT ID="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="package-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT ID="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;<A HREF="../../../../javax/media/bean/playerbean/MediaPlayerInfoResBundle_en_US.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../javax/media/bean/playerbean/MediaPlayerResource.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="MediaPlayerMediaLocationEditor.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;<A HREF="#fields_inherited_from_class_java.awt.Component">FIELD</A>&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><font size="-1">  <a href="mailto:jmf-bugs@sun.com">Submit a bug or feature</a>  <br>Copyright 1999-2000 Sun Microsystems, Inc. 901 San Antonio Road,  Palo Alto, California, 94303, U.S.A. All Rights Reserved.  See the <a href="spec-license.html">Specification License</a> for more details.  <br>Sun, Sun Microsystems, and Java are trademarks or registered  trademarks of Sun Microsystems, Inc. in the US and other countries.</font></BODY></HTML>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?