📄 genericresponder.html
字号:
<CODE>static <A HREF="../../../quicktime/app/actions/GenericResponder.html">GenericResponder</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/actions/GenericResponder.html#asRolloverListener(int, int)">asRolloverListener</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"><CODE> java.lang.Object</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/actions/GenericResponder.html#getSpace()">getSpace</A></B>()</CODE><BR> <B>Deprecated.</B> Returns the Space that the controller has been attached too.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.Object</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/actions/GenericResponder.html#getTarget()">getTarget</A></B>()</CODE><BR> <B>Deprecated.</B> Returns the Target that the controller is currently controlling.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/actions/GenericResponder.html#isAppropriate(java.lang.Object)">isAppropriate</A></B>(java.lang.Object object)</CODE><BR> <B>Deprecated.</B> The MouseController delegates the appropriateness of objects that it can control to the MouseResponder.</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#mouseClicked(java.awt.event.MouseEvent)">mouseClicked</A></B>(java.awt.event.MouseEvent e)</CODE><BR> <B>Deprecated.</B> Invoked when the mouse has been clicked on a found and valid target within the enclosing space.</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#mouseDragged(java.awt.event.MouseEvent)">mouseDragged</A></B>(java.awt.event.MouseEvent e)</CODE><BR> <B>Deprecated.</B> Invoked when the mouse has been dragged on a found and valid target within the enclosing space.</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#mouseEntered(java.awt.event.MouseEvent)">mouseEntered</A></B>(java.awt.event.MouseEvent e)</CODE><BR> <B>Deprecated.</B> Invoked when the mouse enters a QTDrawable space.</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#mouseEnteredTarget(java.awt.event.MouseEvent)">mouseEnteredTarget</A></B>(java.awt.event.MouseEvent e)</CODE><BR> <B>Deprecated.</B> Invoked when a mouseMoved event enters a Target within an enclosing space.</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#mouseExited(java.awt.event.MouseEvent)">mouseExited</A></B>(java.awt.event.MouseEvent e)</CODE><BR> <B>Deprecated.</B> Invoked when the mouse exits a QTDrawable space.</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#mouseExitedTarget(java.awt.event.MouseEvent)">mouseExitedTarget</A></B>(java.awt.event.MouseEvent e)</CODE><BR> <B>Deprecated.</B> Invoked when a mouseMoved event exits a Target within an enclosing space.</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#mouseMoved(java.awt.event.MouseEvent)">mouseMoved</A></B>(java.awt.event.MouseEvent e)</CODE><BR> <B>Deprecated.</B> Invoked when the mouse button has been moved over a space.</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#mousePressed(java.awt.event.MouseEvent)">mousePressed</A></B>(java.awt.event.MouseEvent e)</CODE><BR> <B>Deprecated.</B> Invoked when the mouse has been pressed on a found and valid target within the enclosing space.</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#mouseReleased(java.awt.event.MouseEvent)">mouseReleased</A></B>(java.awt.event.MouseEvent e)</CODE><BR> <B>Deprecated.</B> Invoked when the mouse has been released after being pressed on a found and valid target within the enclosing space.</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#removeMouseListener(java.awt.event.MouseListener)">removeMouseListener</A></B>(java.awt.event.MouseListener ml)</CODE><BR> <B>Deprecated.</B> Removes the specified MouseListener from the GenericResponder.</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#removeMouseMotionListener(java.awt.event.MouseMotionListener)">removeMouseMotionListener</A></B>(java.awt.event.MouseMotionListener ml)</CODE><BR> <B>Deprecated.</B> Removes the specified MouseListener from the GenericResponder.</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#removeQTMouseMotionListener(quicktime.app.actions.QTMouseMotionListener)">removeQTMouseMotionListener</A></B>(<A HREF="../../../quicktime/app/actions/QTMouseMotionListener.html">QTMouseMotionListener</A> ql)</CODE><BR> <B>Deprecated.</B> Removes the specified QTMouseMotionListener from the GenericResponder.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/actions/GenericResponder.html#removeTarget()">removeTarget</A></B>()</CODE><BR> <B>Deprecated.</B> When the Responder is deactivated from the MouseController the controller uses this method to tell the Responder that it no longer has a target to act upon</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/actions/GenericResponder.html#setTarget(java.lang.Object)">setTarget</A></B>(java.lang.Object target)</CODE><BR> <B>Deprecated.</B> This method is called by the MouseController when it has returned a target (say from a mousePressed event) and the Controller sets the target that the MouseResponder will then respond to.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/actions/GenericResponder.html#setTargetSpace(java.lang.Object)">setTargetSpace</A></B>(java.lang.Object s)</CODE><BR> <B>Deprecated.</B> The MouseController asks its MouseResponder if the space it has been added to is an appropriate Space for the MouseResponder to deal with.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_quicktime.app.actions.MouseResponder"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods 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#activationEventType()">activationEventType</A>, <A HREF="../../../quicktime/app/actions/MouseResponder.html#deactivate()">deactivate</A>, <A HREF="../../../quicktime/app/actions/MouseResponder.html#getMouseController()">getMouseController</A>, <A HREF="../../../quicktime/app/actions/MouseResponder.html#isActive()">isActive</A>, <A HREF="../../../quicktime/app/actions/MouseResponder.html#isInterested(int)">isInterested</A>, <A HREF="../../../quicktime/app/actions/MouseResponder.html#isInterested(int, int)">isInterested</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, toString, 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="target"><!-- --></A><H3>target</H3><PRE>protected java.lang.Object <B>target</B></PRE><DL><DD><B>Deprecated.</B> <DD>This is the Transformable target of the Dragger action</DL><HR><A NAME="space"><!-- --></A><H3>space</H3><PRE>protected java.lang.Object <B>space</B></PRE><DL><DD><B>Deprecated.</B> <DD>This is the QTDrawable space within which the Dragger's target is enclosed and contained</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="GenericResponder(int, int, int)"><!-- --></A><H3>GenericResponder</H3><PRE>public <B>GenericResponder</B>(int modifierKeyMask, int modifierTestConditions, int eventTypes)</PRE><DL><DD><B>Deprecated.</B> <DD>Set some parameters that will create a GenericResponder that will respond to all mouse events (including mouseMoveTarget events).<DD><DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -