📄 genericresponder.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 Mon Jul 15 11:49:44 PDT 2002 --><TITLE>: Class GenericResponder</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 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/GenericResponder.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"> <A HREF="../../../quicktime/app/actions/Dragger.html"><B>PREV CLASS</B></A> <A HREF="../../../quicktime/app/actions/Invalidator.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="GenericResponder.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">quicktime.app.actions</FONT><BR>Class GenericResponder</H2><PRE>java.lang.Object | +--<A HREF="../../../quicktime/app/actions/MouseResponder.html">quicktime.app.actions.MouseResponder</A> | +--<B>quicktime.app.actions.GenericResponder</B></PRE><HR><B>Deprecated.</B> <I>since QTJava 4.0</I><P><DL><DT>public class <B>GenericResponder</B><DT>extends <A HREF="../../../quicktime/app/actions/MouseResponder.html">MouseResponder</A></DL><P>This is a generic responder for MouseEvents. It places no conditions on the the containing space or target. An application can also register QTMouseListeners and MouseListeners with this responder in which case the GenericResponder will invoke the appropriate method on the registered listeners.<P><DL><DT><B>See Also: </B><DD><A HREF="../../../quicktime/app/event/QTMouseController.html"><CODE>QTMouseController</CODE></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 java.lang.Object</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/actions/GenericResponder.html#space">space</A></B></CODE><BR> <B>Deprecated.</B> This is the QTDrawable space within which the Dragger's target is enclosed and contained</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected java.lang.Object</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/actions/GenericResponder.html#target">target</A></B></CODE><BR> <B>Deprecated.</B> This is the Transformable target of the Dragger action</TD></TR></TABLE> <A NAME="fields_inherited_from_class_quicktime.app.actions.MouseResponder"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Fields inherited from class quicktime.app.actions.<A HREF="../../../quicktime/app/actions/MouseResponder.html">MouseResponder</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../quicktime/app/actions/MouseResponder.html#kAnyModifiers">kAnyModifiers</A>, <A HREF="../../../quicktime/app/actions/MouseResponder.html#kAnyModifiersMask">kAnyModifiersMask</A>, <A HREF="../../../quicktime/app/actions/MouseResponder.html#kAnyMouseEvent">kAnyMouseEvent</A>, <A HREF="../../../quicktime/app/actions/MouseResponder.html#kAnyOneOfModifiers">kAnyOneOfModifiers</A>, <A HREF="../../../quicktime/app/actions/MouseResponder.html#kClickEvents">kClickEvents</A>, <A HREF="../../../quicktime/app/actions/MouseResponder.html#kDragEvents">kDragEvents</A>, <A HREF="../../../quicktime/app/actions/MouseResponder.html#kEnterEvents">kEnterEvents</A>, <A HREF="../../../quicktime/app/actions/MouseResponder.html#kExitEvents">kExitEvents</A>, <A HREF="../../../quicktime/app/actions/MouseResponder.html#kModifiersDisregarded">kModifiersDisregarded</A>, <A HREF="../../../quicktime/app/actions/MouseResponder.html#kModifiersExactMatch">kModifiersExactMatch</A>, <A HREF="../../../quicktime/app/actions/MouseResponder.html#kMouseEvents">kMouseEvents</A>, <A HREF="../../../quicktime/app/actions/MouseResponder.html#kMouseMotionEvents">kMouseMotionEvents</A>, <A HREF="../../../quicktime/app/actions/MouseResponder.html#kMouseOrMouseMotionEvents">kMouseOrMouseMotionEvents</A>, <A HREF="../../../quicktime/app/actions/MouseResponder.html#kMoveEvents">kMoveEvents</A>, <A HREF="../../../quicktime/app/actions/MouseResponder.html#kNoModifiers">kNoModifiers</A>, <A HREF="../../../quicktime/app/actions/MouseResponder.html#kNoModifiersMask">kNoModifiersMask</A>, <A HREF="../../../quicktime/app/actions/MouseResponder.html#kPressReleaseEvents">kPressReleaseEvents</A>, <A HREF="../../../quicktime/app/actions/MouseResponder.html#kQTMouseMotionEvents">kQTMouseMotionEvents</A>, <A HREF="../../../quicktime/app/actions/MouseResponder.html#kRolloverEvents">kRolloverEvents</A>, <A HREF="../../../quicktime/app/actions/MouseResponder.html#kSpecifiedModifiersOrNone">kSpecifiedModifiersOrNone</A>, <A HREF="../../../quicktime/app/actions/MouseResponder.html#kTargetMoveEvents">kTargetMoveEvents</A>, <A HREF="../../../quicktime/app/actions/MouseResponder.html#modifierKeyMask">modifierKeyMask</A>, <A HREF="../../../quicktime/app/actions/MouseResponder.html#modifierTestConditions">modifierTestConditions</A></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="../../../quicktime/app/actions/GenericResponder.html#GenericResponder(int, int, int)">GenericResponder</A></B>(int modifierKeyMask, int modifierTestConditions, int eventTypes)</CODE><BR> <B>Deprecated.</B> Set some parameters that will create a GenericResponder that will respond to all mouse events (including mouseMoveTarget events).</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> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/actions/GenericResponder.html#addMouseListener(java.awt.event.MouseListener)">addMouseListener</A></B>(java.awt.event.MouseListener ml)</CODE><BR> <B>Deprecated.</B> Registers a MouseListener to this responder.</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="../../../quicktime/app/actions/GenericResponder.html#addMouseMotionListener(java.awt.event.MouseMotionListener)">addMouseMotionListener</A></B>(java.awt.event.MouseMotionListener ml)</CODE><BR> <B>Deprecated.</B> Registers a MouseListener to this responder.</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="../../../quicktime/app/actions/GenericResponder.html#addQTMouseMotionListener(quicktime.app.actions.QTMouseMotionListener)">addQTMouseMotionListener</A></B>(<A HREF="../../../quicktime/app/actions/QTMouseMotionListener.html">QTMouseMotionListener</A> ql)</CODE><BR> <B>Deprecated.</B> Registers a QTMouseMotionListener to this responder.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../quicktime/app/actions/GenericResponder.html">GenericResponder</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/actions/GenericResponder.html#asAnyMouseListener(int, int)">asAnyMouseListener</A></B>(int modifierKeyMask, int modifierTestConditions)</CODE><BR> <B>Deprecated.</B> Creates a GenericResponder that is interested in mouse events that are covered by the MouseListener, MouseMotionListener or QTMouseMotionListener interfaces.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../quicktime/app/actions/GenericResponder.html">GenericResponder</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/actions/GenericResponder.html#asMouseListener(int, int)">asMouseListener</A></B>(int modifierKeyMask, int modifierTestConditions)</CODE><BR> <B>Deprecated.</B> Creates a GenericResponder that is interested in mouse events that are covered by the MouseListener interface.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../quicktime/app/actions/GenericResponder.html">GenericResponder</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/actions/GenericResponder.html#asMouseMotionListener(int, int)">asMouseMotionListener</A></B>(int modifierKeyMask, int modifierTestConditions)</CODE><BR> <B>Deprecated.</B> Creates a GenericResponder that is interested in mouse events that are covered by the MouseMotionListener interface.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../quicktime/app/actions/GenericResponder.html">GenericResponder</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/actions/GenericResponder.html#asMouseOrMouseMotionListener(int, int)">asMouseOrMouseMotionListener</A></B>(int modifierKeyMask, int modifierTestConditions)</CODE><BR> <B>Deprecated.</B> Creates a GenericResponder that is interested in mouse events that are covered by the MouseListener or MouseMotionListener interfaces.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../quicktime/app/actions/GenericResponder.html">GenericResponder</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/actions/GenericResponder.html#asQTMouseMotionListener(int, int)">asQTMouseMotionListener</A></B>(int modifierKeyMask, int modifierTestConditions)</CODE><BR> <B>Deprecated.</B> Creates a GenericResponder that is interested in mouse events that are covered by the QTMouseMotionListener interface.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -