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

📄 groupdrawable.html

📁 这个是java的quicktime for java 的详细使用文档
💻 HTML
📖 第 1 页 / 共 4 页
字号:
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method returns the original size before the transformations specified in the returned matrix are applied.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../quicktime/app/image/Transformable.html">Transformable</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/display/GroupDrawable.html#getTransformable(java.lang.Object)">getTransformable</A></B>(java.lang.Object&nbsp;member)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the Transformable object that represents the member in the DisplaySpace.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.Object</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/display/GroupDrawable.html#hitTest(int, int)">hitTest</A></B>(int&nbsp;x,        int&nbsp;y)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the front most object located at the specified x and y pixel location or null if there is no object at the location</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/display/GroupDrawable.html#isEmpty()">isEmpty</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the space does not have any members.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract &nbsp;<A HREF="../../../quicktime/app/display/GroupMember.html">GroupMember</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/display/GroupDrawable.html#memberChanged(quicktime.app.display.QTDrawable)">memberChanged</A></B>(<A HREF="../../../quicktime/app/display/QTDrawable.html">QTDrawable</A>&nbsp;d)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This tells the group that the position or display size of the  drawer has changed and it should do whatever actions are appropriate to reestablish the display integrity of the group.</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/display/GroupDrawable.html#members()">members</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an iterator of QTDrawable members that are the items that are  currently contained within the DirectGroup.</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/display/GroupDrawable.html#redraw(quicktime.qd.Region)">redraw</A></B>(<A HREF="../../../quicktime/qd/Region.html">Region</A>&nbsp;invalidRgn)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;QTCanvas calls this method when the client should redraw itself.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/display/GroupDrawable.html#redrawMember(quicktime.app.display.QTDrawable, quicktime.qd.Region)">redrawMember</A></B>(<A HREF="../../../quicktime/app/display/QTDrawable.html">QTDrawable</A>&nbsp;d,             <A HREF="../../../quicktime/qd/Region.html">Region</A>&nbsp;invalidRgn)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;An optimized redraw that will redraw only those objects that it needs to based on the fact that the supplied drawer has changed but those behind or in front  of it have not.</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/display/GroupDrawable.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;Remove a QTDrawable object from the Group of drawn items.</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/display/GroupDrawable.html#setAlignedMemberLocation(quicktime.app.display.QTDrawable, float, float)">setAlignedMemberLocation</A></B>(<A HREF="../../../quicktime/app/display/QTDrawable.html">QTDrawable</A>&nbsp;drawer,                         float&nbsp;xAlign,                         float&nbsp;yAlign)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A helper method that is used to set the  location of the member based on the x and y alignment.</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/display/GroupDrawable.html#setBackgroundColor(quicktime.qd.QDColor)">setBackgroundColor</A></B>(<A HREF="../../../quicktime/qd/QDColor.html">QDColor</A>&nbsp;col)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the background color.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/display/GroupDrawable.html#setClip(quicktime.qd.Region)">setClip</A></B>(<A HREF="../../../quicktime/qd/Region.html">Region</A>&nbsp;theClip)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method allows you to set a Transformable's clipping region.</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/display/GroupDrawable.html#setDisplayBounds(quicktime.qd.QDRect)">setDisplayBounds</A></B>(<A HREF="../../../quicktime/qd/QDRect.html">QDRect</A>&nbsp;bounds)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is called automatically via the QTCanvas object associated with this client to set its boundary.</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/display/GroupDrawable.html#setGWorld(quicktime.qd.QDGraphics)">setGWorld</A></B>(<A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A>&nbsp;cgp)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;QTCanvas calls this method to give the client the QDGraphics object it should  use to do its drawing.</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/display/GroupDrawable.html#setLocation(int, int)">setLocation</A></B>(int&nbsp;x,            int&nbsp;y)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A convenience method to set the position of a QTDrawable object.</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/display/GroupDrawable.html#setMatrix(quicktime.std.image.Matrix)">setMatrix</A></B>(<A HREF="../../../quicktime/std/image/Matrix.html">Matrix</A>&nbsp;matrix)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method sets the current matrix of the Transformable object to the new matrix.</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/display/GroupDrawable.html#setMemberAlignment(quicktime.app.display.QTDrawable, float, float)">setMemberAlignment</A></B>(<A HREF="../../../quicktime/app/display/QTDrawable.html">QTDrawable</A>&nbsp;d,                   float&nbsp;xAlign,                   float&nbsp;yAlign)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This will reset an item's alignment and redraw the group.</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/display/GroupDrawable.html#setMemberLayer(quicktime.app.display.QTDrawable, int)">setMemberLayer</A></B>(<A HREF="../../../quicktime/app/display/QTDrawable.html">QTDrawable</A>&nbsp;member,               int&nbsp;layer)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This sets the layer of the incoming drawable to the new layer.</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/display/GroupDrawable.html#size()">size</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the number of members in the collection, ie.</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_quicktime.app.spaces.SimpleSpace"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class quicktime.app.spaces.<A HREF="../../../quicktime/app/spaces/SimpleSpace.html">SimpleSpace</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../quicktime/app/spaces/SimpleSpace.html#addController(quicktime.app.spaces.Controller)">addController</A>, <A HREF="../../../quicktime/app/spaces/SimpleSpace.html#addedTo(java.lang.Object)">addedTo</A>, <A HREF="../../../quicktime/app/spaces/SimpleSpace.html#addMember(java.lang.Object)">addMember</A>, <A HREF="../../../quicktime/app/spaces/SimpleSpace.html#controllers()">controllers</A>, <A HREF="../../../quicktime/app/spaces/SimpleSpace.html#finalize()">finalize</A>, <A HREF="../../../quicktime/app/spaces/SimpleSpace.html#getProtocol()">getProtocol</A>, <A HREF="../../../quicktime/app/spaces/SimpleSpace.html#getSource()">getSource</A>, <A HREF="../../../quicktime/app/spaces/SimpleSpace.html#getTimer()">getTimer</A>, <A HREF="../../../quicktime/app/spaces/SimpleSpace.html#hasMember(java.lang.Object)">hasMember</A>, <A HREF="../../../quicktime/app/spaces/SimpleSpace.html#isAppropriate(java.lang.Object)">isAppropriate</A>, <A HREF="../../../quicktime/app/spaces/SimpleSpace.html#memberAdded(java.lang.Object)">memberAdded</A>, <A HREF="../../../quicktime/app/spaces/SimpleSpace.html#memberRemoved(java.lang.Object)">memberRemoved</A>, <A HREF="../../../quicktime/app/spaces/SimpleSpace.html#removeAllControllers()">removeAllControllers</A>, <A HREF="../../../quicktime/app/spaces/SimpleSpace.html#removeAllMembers()">removeAllMembers</A>, <A HREF="../../../quicktime/app/spaces/SimpleSpace.html#removeController(quicktime.app.spaces.Controller)">removeController</A>, <A HREF="../../../quicktime/app/spaces/SimpleSpace.html#removedFrom(java.lang.Object)">removedFrom</A>, <A HREF="../../../quicktime/app/spaces/SimpleSpace.html#tickle(float, int)">tickle</A>, <A HREF="../../../quicktime/app/spaces/SimpleSpace.html#tickleList()">tickleList</A>, <A HREF="../../../quicktime/app/spaces/SimpleSpace.html#timeChanged(int)">timeChanged</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, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_quicktime.app.display.QTDisplaySpace"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface quicktime.app.display.<A HREF="../../../quicktime/app/display/QTDisplaySpace.html">QTDisplaySpace</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../quicktime/app/display/QTDisplaySpace.html#addMember(java.lang.Object, int)">addMember</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_quicktime.app.spaces.Listener"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface quicktime.app.spaces.<A HREF="../../../quicktime/app/spaces/Listener.html">Listener</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../quicktime/app/spaces/Listener.html#addedTo(java.lang.Object)">addedTo</A>, <A HREF="../../../quicktime/app/spaces/Listener.html#removedFrom(java.lang.Object)">removedFrom</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_quicktime.app.spaces.Space"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface quicktime.app.spaces.<A HREF="../../../quicktime/app/spaces/Space.html">Space</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../quicktime/app/spaces/Space.html#addController(quicktime.app.spaces.Controller)">addController</A>, <A HREF="../../../quicktime/app/spaces/Space.html#controllers()">controllers</A>, <A HREF="../../../quicktime/app/spaces/Space.html#getSource()">getSource</A>, <A HREF="../../../quicktime/app/spaces/Space.html#getTimer()">getTimer</A>, <A HREF="../../../quicktime/app/spaces/Space.html#removeController(quicktime.app.spaces.Controller)">removeController</A>, <A HREF="../../../quicktime/app/spaces/Space.html#tickleList()">tickleList</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_quicktime.app.spaces.DynamicCollection"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface quicktime.app.spaces.<A HREF="../../../quicktime/app/spaces/DynamicCollection.html">DynamicCollection</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../quicktime/app/spaces/DynamicCollection.html#getProtocol()">getProtocol</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_quicktime.app.spaces.Collection"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface quicktime.app.spaces.<A HREF="../../../quicktime/app/spaces/Collection.html">Collection</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../quicktime/app/spaces/Collection.html#addMember(java.lang.Object)">addMember</A>, <A HREF="../../../quicktime/app/spaces/Collection.html#hasMember(java.lang.Object)">hasMember</A>, <A HREF="../../../quicktime/app/spaces/Collection.html#isAppropriate(java.lang.Object)">isAppropriate</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_quicktime.app.time.Ticklish"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface quicktime.app.time.<A HREF="../../../quicktime/app/time/Ticklish.html">Ticklish</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../quicktime/app/time/Ticklish.html#tickle(float, int)">tickle</A>, <A HREF="../../../quicktime/app/time/Ticklish.html#timeChanged(int)">timeChanged</A></CODE></TD></TR></TABLE>&nbsp;<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="clip"><!-- --></A><H3>clip</H3><PRE>protected <A HREF="../../../quicktime/qd/Region.html">Region</A> <B>clip</B></PRE><DL><DD>The current clip region of the group</DL><HR><A NAME="vec"><!-- --></A><H3>vec</H3><PRE>protected java.util.Vector <B>vec</B></PRE><DL><DD>THis vector is used to store the members in. It is kept sorted by layer with the frontmost member in the first slot of the vector.</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="GroupDrawable(java.awt.Dimension, quicktime.qd.QDColor, int, int, quicktime.app.spaces.Protocol)"><!-- --></A><H3>GroupDrawable</H3><PRE>protected <B>GroupDrawable</B>(java.awt.Dimension&nbsp;initialSize,                        <A HREF="../../../quicktime/qd/QDColor.html">QDColor</A>&nbsp;bc,                        int&nbsp;scale,                        int&nbsp;period,                        <A HREF="../../../quicktime/app/spaces/Protocol.html">Protocol</A>&nbsp;p)                 throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD><B>Deprecated.</B>&nbsp;<I>since QTJava 4.0</I><P>

⌨️ 快捷键说明

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