📄 dragger.html
字号:
<TD><CODE><B><A HREF="../../../quicktime/app/actions/Dragger.html#Dragger(int)">Dragger</A></B>(int modifierKeyMask)</CODE><BR> <B>Deprecated.</B> Create a Dragger object</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../quicktime/app/actions/Dragger.html#Dragger(int, int)">Dragger</A></B>(int modifierKeyMask, int modifierTestConditions)</CODE><BR> <B>Deprecated.</B> Create a Dragger object with specified modifier keys and test conditions under which those modifier keys are matched.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../quicktime/app/actions/Dragger.html#Dragger(int, int, int)">Dragger</A></B>(int modifierKeyMask, int modifierTestConditions, int additionalEvents)</CODE><BR> <B>Deprecated.</B> Set some parameters that will create DragActions.</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="../../../quicktime/app/actions/Actionable.html">Actionable</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/actions/Dragger.html#getActionable()">getActionable</A></B>()</CODE><BR> <B>Deprecated.</B> This method retreives the current actor that is attached to the action</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/actions/Dragger.html#getConstrained()">getConstrained</A></B>()</CODE><BR> <B>Deprecated.</B> Returns the current constraint setting</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/Dragger.html#isAppropriate(java.lang.Object)">isAppropriate</A></B>(java.lang.Object object)</CODE><BR> <B>Deprecated.</B> The Dragger knows how to drag objects of type Transformable around.</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/Dragger.html#mouseDragged(java.awt.event.MouseEvent)">mouseDragged</A></B>(java.awt.event.MouseEvent event)</CODE><BR> <B>Deprecated.</B> This method will allow the user to drag the transformable object around.</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/Dragger.html#mousePressed(java.awt.event.MouseEvent)">mousePressed</A></B>(java.awt.event.MouseEvent event)</CODE><BR> <B>Deprecated.</B> This method is called by the MouseController when the mouse is first pressed down on a valid Transformable object within the space it is controlling.</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/Dragger.html#removeTarget()">removeTarget</A></B>()</CODE><BR> <B>Deprecated.</B> When the MouseController detects that the drag operation is completed it notifies the Dragger to remove its target as the user no longer is dragging.</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/Dragger.html#setActionable(quicktime.app.actions.Actionable)">setActionable</A></B>(<A HREF="../../../quicktime/app/actions/Actionable.html">Actionable</A> actor)</CODE><BR> <B>Deprecated.</B> This method sets the actionable object of the action.</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/Dragger.html#setConstrained(int)">setConstrained</A></B>(int flag)</CODE><BR> <B>Deprecated.</B> Using the constrain constants dragging can be constrained in any direction.</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/Dragger.html#setTarget(java.lang.Object)">setTarget</A></B>(java.lang.Object t)</CODE><BR> <B>Deprecated.</B> Sets the target of the Dragger.</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/Dragger.html#setTargetSpace(java.lang.Object)">setTargetSpace</A></B>(java.lang.Object o)</CODE><BR> <B>Deprecated.</B> This method sets the containing Space of a target of a MouseResponder.</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>, <A HREF="../../../quicktime/app/actions/MouseResponder.html#mouseClicked(java.awt.event.MouseEvent)">mouseClicked</A>, <A HREF="../../../quicktime/app/actions/MouseResponder.html#mouseEntered(java.awt.event.MouseEvent)">mouseEntered</A>, <A HREF="../../../quicktime/app/actions/MouseResponder.html#mouseEnteredTarget(java.awt.event.MouseEvent)">mouseEnteredTarget</A>, <A HREF="../../../quicktime/app/actions/MouseResponder.html#mouseExited(java.awt.event.MouseEvent)">mouseExited</A>, <A HREF="../../../quicktime/app/actions/MouseResponder.html#mouseExitedTarget(java.awt.event.MouseEvent)">mouseExitedTarget</A>, <A HREF="../../../quicktime/app/actions/MouseResponder.html#mouseMoved(java.awt.event.MouseEvent)">mouseMoved</A>, <A HREF="../../../quicktime/app/actions/MouseResponder.html#mouseReleased(java.awt.event.MouseEvent)">mouseReleased</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="kConstrainNone"><!-- --></A><H3>kConstrainNone</H3><PRE>public static final int <B>kConstrainNone</B></PRE><DL><DD><B>Deprecated.</B> <DD>Use these as constraint flags to restrict dragging operations</DL><HR><A NAME="kConstrainLeft"><!-- --></A><H3>kConstrainLeft</H3><PRE>public static final int <B>kConstrainLeft</B></PRE><DL><DD><B>Deprecated.</B> <DD>Use these as constraint flags to restrict dragging operations</DL><HR><A NAME="kConstrainRight"><!-- --></A><H3>kConstrainRight</H3><PRE>public static final int <B>kConstrainRight</B></PRE><DL><DD><B>Deprecated.</B> <DD>Use these as constraint flags to restrict dragging operations</DL><HR><A NAME="kConstrainTop"><!-- --></A><H3>kConstrainTop</H3><PRE>public static final int <B>kConstrainTop</B></PRE><DL><DD><B>Deprecated.</B> <DD>Use these as constraint flags to restrict dragging operations</DL><HR><A NAME="kConstrainBottom"><!-- --></A><H3>kConstrainBottom</H3><PRE>public static final int <B>kConstrainBottom</B></PRE><DL><DD><B>Deprecated.</B> <DD>Use these as constraint flags to restrict dragging operations</DL><HR><A NAME="kConstrainHorizontal"><!-- --></A><H3>kConstrainHorizontal</H3><PRE>public static final int <B>kConstrainHorizontal</B></PRE><DL><DD><B>Deprecated.</B> <DD>Use these as constraint flags to restrict dragging operations</DL><HR><A NAME="kConstrainVertical"><!-- --></A><H3>kConstrainVertical</H3><PRE>public static final int <B>kConstrainVertical</B></PRE><DL><DD><B>Deprecated.</B> <DD>Use these as constraint flags to restrict dragging operations</DL><HR><A NAME="kConstrainAll"><!-- --></A><H3>kConstrainAll</H3><PRE>public static final int <B>kConstrainAll</B></PRE><DL><DD><B>Deprecated.</B> <DD>Use these as constraint flags to restrict dragging operations</DL><HR><A NAME="actor"><!-- --></A><H3>actor</H3><PRE>protected <A HREF="../../../quicktime/app/actions/Actionable.html">Actionable</A> <B>actor</B></PRE><DL><DD><B>Deprecated.</B> <DD>The actor that will be invoked (if set) when the dragger reaches a constraining condition</DL><HR><A NAME="target"><!-- --></A><H3>target</H3><PRE>protected <A HREF="../../../quicktime/app/image/Transformable.html">Transformable</A> <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 <A HREF="../../../quicktime/app/display/QTDrawable.html">QTDrawable</A> <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><HR><A NAME="xBufferIfUnConstrained"><!-- --></A><H3>xBufferIfUnConstrained</H3><PRE>protected int <B>xBufferIfUnConstrained</B></PRE><DL><DD><B>Deprecated.</B> <DD>The number of pixels on the horizontal axis that an object can be dragged beyond the bounds if the dragging action is unconstrained. The default is one</DL><HR><A NAME="yBufferIfUnConstrained"><!-- --></A><H3>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -