⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 qtmousetargetcontroller.html

📁 这个是java的quicktime for java 的详细使用文档
💻 HTML
📖 第 1 页 / 共 4 页
字号:
</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/event/QTMouseTargetController.html#doMouseReleased(quicktime.app.event.QTMouseEvent, boolean)">doMouseReleased</A></B>(<A HREF="../../../quicktime/app/event/QTMouseEvent.html">QTMouseEvent</A>&nbsp;e,                boolean&nbsp;isWithin)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method dispatches the event to the appropriate listeners.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/event/QTMouseTargetController.html#doMouseTargetEnter(quicktime.app.event.QTMouseEvent)">doMouseTargetEnter</A></B>(<A HREF="../../../quicktime/app/event/QTMouseEvent.html">QTMouseEvent</A>&nbsp;e)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method dispatches the event to the appropriate listeners.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/event/QTMouseTargetController.html#doMouseTargetExit(quicktime.app.event.QTMouseEvent)">doMouseTargetExit</A></B>(<A HREF="../../../quicktime/app/event/QTMouseEvent.html">QTMouseEvent</A>&nbsp;e)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method dispatches the event to the appropriate listeners.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;java.lang.Object</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/event/QTMouseTargetController.html#getHitTarget(int, int)">getHitTarget</A></B>(int&nbsp;x,             int&nbsp;y)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the frontmost object at the specified location that is a member of the space if wholespace is true, or the frontmost object in the controller's collection if  wholespace is false.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/event/QTMouseTargetController.html#hasMember(java.lang.Object)">hasMember</A></B>(java.lang.Object&nbsp;object)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the member has been explicitly added to this controller.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/event/QTMouseTargetController.html#isAppropriate(java.lang.Object)">isAppropriate</A></B>(java.lang.Object&nbsp;object)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the provided object is an appropriate candidate for membership in a collection.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/event/QTMouseTargetController.html#isEmpty()">isEmpty</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the controller's collection of controllable objects is empty.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/event/QTMouseTargetController.html#isWholespace()">isWholespace</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the current setting of the wholespace flag.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.util.Enumeration</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/event/QTMouseTargetController.html#members()">members</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an enumeration of all members of this controller.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/event/QTMouseTargetController.html#mouseDragged(quicktime.app.event.QTMouseEvent)">mouseDragged</A></B>(<A HREF="../../../quicktime/app/event/QTMouseEvent.html">QTMouseEvent</A>&nbsp;e)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If the QTMouseController has a MouseMoveListener(s) it will  dispatch drag events that occur within its Space's area to those listeners.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/event/QTMouseTargetController.html#mouseEntered(quicktime.app.event.QTMouseEvent)">mouseEntered</A></B>(<A HREF="../../../quicktime/app/event/QTMouseEvent.html">QTMouseEvent</A>&nbsp;e)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If the QTMouseController has a MouseEnterExitListener(s) it will  dispatch a mouseEntered event when the mouse moves or is dragged into the space.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/event/QTMouseTargetController.html#mouseExited(quicktime.app.event.QTMouseEvent)">mouseExited</A></B>(<A HREF="../../../quicktime/app/event/QTMouseEvent.html">QTMouseEvent</A>&nbsp;e)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If the QTMouseController has a MouseEnterExitListener(s) it will  dispatch a mouseExited event when the mouse moves or is dragged out of the space.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/event/QTMouseTargetController.html#mouseReleased(quicktime.app.event.QTMouseEvent)">mouseReleased</A></B>(<A HREF="../../../quicktime/app/event/QTMouseEvent.html">QTMouseEvent</A>&nbsp;e)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If the QTMouseController has a MouseButtonListener(s) it will  dispatch release events that occur within its Space's area to those listeners.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/event/QTMouseTargetController.html#removeActiveHandler()">removeActiveHandler</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is called when a controller is removed from its space and it had an active event handler</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/event/QTMouseTargetController.html#removeMember(java.lang.Object)">removeMember</A></B>(java.lang.Object&nbsp;member)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes a member from the collection of objects that the controller controls</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/event/QTMouseTargetController.html#removeQTMouseListener(quicktime.app.event.QTMouseListener)">removeQTMouseListener</A></B>(<A HREF="../../../quicktime/app/event/QTMouseListener.html">QTMouseListener</A>&nbsp;l)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Remove a QTMouseListener for this controller.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/event/QTMouseTargetController.html#setWholespace(boolean)">setWholespace</A></B>(boolean&nbsp;flag)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the new value of the wholespace flag.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/event/QTMouseTargetController.html#size()">size</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the number of members that have been explicitly added to the Controller.</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_quicktime.app.event.QTMouseController"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class quicktime.app.event.<A HREF="../../../quicktime/app/event/QTMouseController.html">QTMouseController</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../quicktime/app/event/QTMouseController.html#addedTo(java.lang.Object)">addedTo</A>, <A HREF="../../../quicktime/app/event/QTMouseController.html#doMouseReleased(quicktime.app.event.QTMouseEvent)">doMouseReleased</A>, <A HREF="../../../quicktime/app/event/QTMouseController.html#getSpace()">getSpace</A>, <A HREF="../../../quicktime/app/event/QTMouseController.html#mouseClicked(quicktime.app.event.QTMouseEvent)">mouseClicked</A>, <A HREF="../../../quicktime/app/event/QTMouseController.html#mouseMoved(quicktime.app.event.QTMouseEvent)">mouseMoved</A>, <A HREF="../../../quicktime/app/event/QTMouseController.html#mousePressed(quicktime.app.event.QTMouseEvent)">mousePressed</A>, <A HREF="../../../quicktime/app/event/QTMouseController.html#removedFrom(java.lang.Object)">removedFrom</A>, <A HREF="../../../quicktime/app/event/QTMouseController.html#removedFromSpace()">removedFromSpace</A>, <A HREF="../../../quicktime/app/event/QTMouseController.html#translateAndIsWithin(quicktime.app.event.QTMouseEvent)">translateAndIsWithin</A></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, toString, 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="QTMouseTargetController()"><!-- --></A><H3>QTMouseTargetController</H3><PRE>public <B>QTMouseTargetController</B>()</PRE><DL><DD>Creates a QTMouseTargetController with a default setting of wholespace equals true.</DL><HR><A NAME="QTMouseTargetController(boolean)"><!-- --></A><H3>QTMouseTargetController</H3><PRE>public <B>QTMouseTargetController</B>(boolean&nbsp;wholespace)</PRE><DL><DD>Creates a QTMouseTargetController.<DD><DL><DT><B>Parameters:</B><DD><CODE>wholespace</CODE> - the initial setting of the wholespace variable.</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="addedToSpace(quicktime.app.spaces.Space)"><!-- --></A><H3>addedToSpace</H3><PRE>public void <B>addedToSpace</B>(<A HREF="../../../quicktime/app/spaces/Space.html">Space</A>&nbsp;s)</PRE><DL><DD>This method is called by the space when a Controller is being addedTo the Space s. If the Controller is not an appropriate controller for that kind of Space this method can throw an exception and the controller won't be added to the Space. <P> This method will also ensure that any members of the controller are both appropriate objects for the space and are also members of the space.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../quicktime/app/event/QTMouseController.html#addedToSpace(quicktime.app.spaces.Space)">addedToSpace</A></CODE> in class <CODE><A HREF="../../../quicktime/app/event/QTMouseController.html">QTMouseController</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>s</CODE> - the Space being added to<DT><B>See Also: </B><DD><CODE>setTargetSpace()</CODE></DL></DD></DL><HR>

⌨️ 快捷键说明

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