📄 mouseresponder.html
字号:
<TD><CODE><B><A HREF="../../../quicktime/app/actions/MouseResponder.html#activationEventType()">activationEventType</A></B>()</CODE><BR> <B>Deprecated.</B> Returns the event which activated the responder.</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/MouseResponder.html#deactivate()">deactivate</A></B>()</CODE><BR> <B>Deprecated.</B> A subclass can call this method to deactivate a responder.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/app/actions/MouseController.html">MouseController</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/actions/MouseResponder.html#getMouseController()">getMouseController</A></B>()</CODE><BR> <B>Deprecated.</B> Returns the MouseController that the responder is attached to.</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/MouseResponder.html#isActive()">isActive</A></B>()</CODE><BR> <B>Deprecated.</B> Returns true if the responder is currently active.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/actions/MouseResponder.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> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/actions/MouseResponder.html#isInterested(int)">isInterested</A></B>(int eventType)</CODE><BR> <B>Deprecated.</B> Returns true if the repsonder is interested in the specified event.</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/MouseResponder.html#isInterested(int, int)">isInterested</A></B>(int eventType, int eventModifiers)</CODE><BR> <B>Deprecated.</B> Returns true if the repsonder is interested in the specified event.</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/MouseResponder.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/MouseResponder.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/MouseResponder.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/MouseResponder.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/MouseResponder.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/MouseResponder.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/MouseResponder.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/MouseResponder.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/MouseResponder.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>protected abstract void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/actions/MouseResponder.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 abstract void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/actions/MouseResponder.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 abstract void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/actions/MouseResponder.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_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="kNoModifiersMask"><!-- --></A><H3>kNoModifiersMask</H3><PRE>public static final int <B>kNoModifiersMask</B></PRE><DL><DD><B>Deprecated.</B> </DL><HR><A NAME="kAnyModifiersMask"><!-- --></A><H3>kAnyModifiersMask</H3><PRE>public static final int <B>kAnyModifiersMask</B></PRE><DL><DD><B>Deprecated.</B> </DL><HR><A NAME="kNoModifiers"><!-- --></A><H3>kNoModifiers</H3><PRE>public static final int <B>kNoModifiers</B></PRE><DL><DD><B>Deprecated.</B> </DL><HR><A NAME="kAnyModifiers"><!-- --></A><H3>kAnyModifiers</H3><PRE>public static final int <B>kAnyModifiers</B></PRE><DL><DD><B>Deprecated.</B> </DL><HR><A NAME="kAnyOneOfModifiers"><!-- --></A><H3>kAnyOneOfModifiers</H3><PRE>public static final int <B>kAnyOneOfModifiers</B></PRE><DL><DD><B>Deprecated.</B> </DL><HR><A NAME="kModifiersDisregarded"><!-- --></A><H3>kModifiersDisregarded</H3><PRE>public static final int <B>kModifiersDisregarded</B></PRE><DL><DD><B>Deprecated.</B> </DL><HR><A NAME="kModifiersExactMatch"><!-- --></A><H3>kModifiersExactMatch</H3><PRE>public static final int <B>kModifiersExactMatch</B></PRE><DL><DD><B>Deprecated.</B> </DL><HR><A NAME="kSpecifiedModifiersOrNone"><!-- --></A><H3>kSpecifiedModifiersOrNone</H3><PRE>public static final int <B>kSpecifiedModifiersOrNone</B></PRE><DL><DD><B>Deprecated.</B> </DL><HR><A NAME="kClickEvents"><!-- --></A><H3>kClickEvents</H3><PRE>public static final int <B>kClickEvents</B></PRE><DL><DD><B>Deprecated.</B> </DL><HR><A NAME="kPressReleaseEvents"><!-- --></A><H3>kPressReleaseEvents</H3><PRE>public static final int <B>kPressReleaseEvents</B></PRE><DL><DD><B>Deprecated.</B> </DL><HR><A NAME="kDragEvents"><!-- --></A><H3>kDragEvents</H3><PRE>public static final int <B>kDragEvents</B></PRE><DL><DD><B>Deprecated.</B> </DL><HR><A NAME="kMoveEvents"><!-- --></A><H3>kMoveEvents</H3><PRE>public static final int <B>kMoveEvents</B></PRE><DL><DD><B>Deprecated.</B> </DL><HR><A NAME="kEnterEvents"><!-- --></A><H3>kEnterEvents</H3><PRE>public static final int <B>kEnterEvents</B></PRE><DL><DD><B>Deprecated.</B> </DL><HR><A NAME="kExitEvents"><!-- --></A><H3>kExitEvents</H3><PRE>public static final int <B>kExitEvents</B></PRE><DL><DD><B>Deprecated.</B> </DL><HR><A NAME="kTargetMoveEvents"><!-- --></A><H3>kTargetMoveEvents</H3><PRE>public static final int <B>kTargetMoveEvents</B></PRE><DL><DD><B>Deprecated.</B> </DL><HR><A NAME="kMouseEvents"><!-- --></A><H3>kMouseEvents</H3><PRE>public static final int <B>kMouseEvents</B></PRE><DL><DD><B>Deprecated.</B> </DL><HR><A NAME="kMouseMotionEvents"><!-- --></A><H3>kMouseMotionEvents</H3><PRE>public static final int <B>kMouseMotionEvents</B></PRE><DL><DD><B>Deprecated.</B> </DL><HR><A NAME="kQTMouseMotionEvents"><!-- --></A><H3>kQTMouseMotionEvents</H3><PRE>public static final int <B>kQTMouseMotionEvents</B></PRE><DL><DD><B>Deprecated.</B> </DL><HR><A NAME="kRolloverEvents"><!-- --></A><H3>kRolloverEvents</H3><PRE>public static final int <B>kRolloverEvents</B></PRE><DL><DD><B>Deprecated.</B> </DL><HR><A NAME="kMouseOrMouseMotionEvents"><!-- --></A><H3>kMouseOrMouseMotionEvents</H3>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -