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

📄 compositor.html

📁 这个是java的quicktime for java 的详细使用文档
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the backmost layer of all of the TwoDSprite presenters of the Compositor.</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/anim/Compositor.html#getFrontLayer()">getFrontLayer</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the frontmost layer of all of the TwoDSprite presenters of the Compositor.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../quicktime/app/anim/TwoDSprite.html">TwoDSprite</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/anim/Compositor.html#getMemberSprite(java.lang.Object)">getMemberSprite</A></B>(java.lang.Object&nbsp;member)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method returns the TwoDSprite presenter that is presenting the image data of the given member.</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/anim/Compositor.html#getSpriteMember(quicktime.app.anim.TwoDSprite)">getSpriteMember</A></B>(<A HREF="../../../quicktime/app/anim/TwoDSprite.html">TwoDSprite</A>&nbsp;sprite)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method returns the member that is being presented by the supplied TwoDSprite presenter.</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/anim/Compositor.html#isEmpty()">isEmpty</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if there are no members of the Compositor.</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/anim/Compositor.html#members()">members</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return an enumeration to enumerate over all of the members that have been added to the Compositor.</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/anim/Compositor.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 sprite from the Compositor and remove it visually.</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/anim/Compositor.html#size()">size</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the number of members of the collection.</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/anim/Compositor.html#sprites()">sprites</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This returns an Enumeration that allows your application to iterate over the TwoDSprite presenters that are responsible for presenting the image data within the Compositor.</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_quicktime.app.anim.SWCompositor"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class quicktime.app.anim.<A HREF="../../../quicktime/app/anim/SWCompositor.html">SWCompositor</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../quicktime/app/anim/SWCompositor.html#addDrawingListener(quicktime.app.display.DrawingListener)">addDrawingListener</A>, <A HREF="../../../quicktime/app/anim/SWCompositor.html#addedToCompositor(quicktime.app.anim.SWCompositor, quicktime.app.anim.TwoDSprite)">addedToCompositor</A>, <A HREF="../../../quicktime/app/anim/SWCompositor.html#createMembers()">createMembers</A>, <A HREF="../../../quicktime/app/anim/SWCompositor.html#getClip()">getClip</A>, <A HREF="../../../quicktime/app/anim/SWCompositor.html#getCompositable(java.lang.Object)">getCompositable</A>, <A HREF="../../../quicktime/app/anim/SWCompositor.html#getDescription()">getDescription</A>, <A HREF="../../../quicktime/app/anim/SWCompositor.html#getDisplayBounds()">getDisplayBounds</A>, <A HREF="../../../quicktime/app/anim/SWCompositor.html#getGraphicsMode()">getGraphicsMode</A>, <A HREF="../../../quicktime/app/anim/SWCompositor.html#getGWorld()">getGWorld</A>, <A HREF="../../../quicktime/app/anim/SWCompositor.html#getImage()">getImage</A>, <A HREF="../../../quicktime/app/anim/SWCompositor.html#getInitialSize()">getInitialSize</A>, <A HREF="../../../quicktime/app/anim/SWCompositor.html#getInvalidatorList()">getInvalidatorList</A>, <A HREF="../../../quicktime/app/anim/SWCompositor.html#getLayerable(java.lang.Object)">getLayerable</A>, <A HREF="../../../quicktime/app/anim/SWCompositor.html#getMatrix()">getMatrix</A>, <A HREF="../../../quicktime/app/anim/SWCompositor.html#getMemberInvalidator(java.lang.Object)">getMemberInvalidator</A>, <A HREF="../../../quicktime/app/anim/SWCompositor.html#getOriginalSize()">getOriginalSize</A>, <A HREF="../../../quicktime/app/anim/SWCompositor.html#getParent()">getParent</A>, <A HREF="../../../quicktime/app/anim/SWCompositor.html#getStatistics()">getStatistics</A>, <A HREF="../../../quicktime/app/anim/SWCompositor.html#getTransformable(java.lang.Object)">getTransformable</A>, <A HREF="../../../quicktime/app/anim/SWCompositor.html#hasRecordMovie()">hasRecordMovie</A>, <A HREF="../../../quicktime/app/anim/SWCompositor.html#hitTest(int, int)">hitTest</A>, <A HREF="../../../quicktime/app/anim/SWCompositor.html#idle()">idle</A>, <A HREF="../../../quicktime/app/anim/SWCompositor.html#isAutoRedrawing()">isAutoRedrawing</A>, <A HREF="../../../quicktime/app/anim/SWCompositor.html#postProcessAdd(java.lang.Object, quicktime.app.anim.TwoDSprite)">postProcessAdd</A>, <A HREF="../../../quicktime/app/anim/SWCompositor.html#postProcessRemove(java.lang.Object, quicktime.app.anim.TwoDSprite)">postProcessRemove</A>, <A HREF="../../../quicktime/app/anim/SWCompositor.html#redraw(quicktime.qd.Region)">redraw</A>, <A HREF="../../../quicktime/app/anim/SWCompositor.html#removedFromCompositor(quicktime.app.anim.SWCompositor)">removedFromCompositor</A>, <A HREF="../../../quicktime/app/anim/SWCompositor.html#removeDrawingListener(quicktime.app.display.DrawingListener)">removeDrawingListener</A>, <A HREF="../../../quicktime/app/anim/SWCompositor.html#resetStatistics()">resetStatistics</A>, <A HREF="../../../quicktime/app/anim/SWCompositor.html#saveMembers()">saveMembers</A>, <A HREF="../../../quicktime/app/anim/SWCompositor.html#setAutoRedrawing(boolean)">setAutoRedrawing</A>, <A HREF="../../../quicktime/app/anim/SWCompositor.html#setClip(quicktime.qd.Region)">setClip</A>, <A HREF="../../../quicktime/app/anim/SWCompositor.html#setDisplayBounds(quicktime.qd.QDRect)">setDisplayBounds</A>, <A HREF="../../../quicktime/app/anim/SWCompositor.html#setGraphicsMode(quicktime.std.image.GraphicsMode)">setGraphicsMode</A>, <A HREF="../../../quicktime/app/anim/SWCompositor.html#setGWorld(quicktime.qd.QDGraphics)">setGWorld</A>, <A HREF="../../../quicktime/app/anim/SWCompositor.html#setLocation(int, int)">setLocation</A>, <A HREF="../../../quicktime/app/anim/SWCompositor.html#setMatrix(quicktime.std.image.Matrix)">setMatrix</A>, <A HREF="../../../quicktime/app/anim/SWCompositor.html#setRecordMovie(quicktime.app.RecordMovie)">setRecordMovie</A>, <A HREF="../../../quicktime/app/anim/SWCompositor.html#tickle(float, int)">tickle</A>, <A HREF="../../../quicktime/app/anim/SWCompositor.html#toString()">toString</A></CODE></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#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#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, wait, wait, wait</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#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#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="membersTable"><!-- --></A><H3>membersTable</H3><PRE>protected java.util.Hashtable <B>membersTable</B></PRE><DL><DD>Dual hashtables are kept for both members and sprites as  this improves the runtime performance of Compositors (particularly with large numbers of sprites). This is the container that is used to store the members of a Compositor. The member as added is stored as the key of the hash table. The member's TwoDSprite presenter is stored as the value corresponding to that key. If the member is  itself a TwoDSprite it is stored as both key and value.</DL><HR><A NAME="spritesTable"><!-- --></A><H3>spritesTable</H3><PRE>protected java.util.Hashtable <B>spritesTable</B></PRE><DL><DD>Dual hashtables are kept for both members and sprites as  this improves the runtime performance of Compositors (particularly with large numbers of sprites). This is the container that is used to store the TwoDSprites of a Compositor. The member as added is stored as the value of the hash table. The member's TwoDSprite presenter is stored as the key of that value. If the member is  itself a TwoDSprite it is stored as both key and value.</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="Compositor(quicktime.qd.QDGraphics, quicktime.qd.QDColor)"><!-- --></A><H3>Compositor</H3><PRE>public <B>Compositor</B>(<A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A>&nbsp;spriteGWorld,                  <A HREF="../../../quicktime/qd/QDColor.html">QDColor</A>&nbsp;backgroundColor)           throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This constructor creates a Compositor with a background color. It has a default scale of 10 fps at a rate of 1.<DD><DL><DT><B>Parameters:</B><DD><CODE>spriteGWorld</CODE> - Specifies the sprites offscreen QDGraphics. The size of this QDGraphics determines the corresponding display size when the SpriteWorld is added to its display surface.<DD><CODE>backgroundColor</CODE> - Specifies the background color.</DL></DD></DL><HR><A NAME="Compositor(quicktime.qd.QDGraphics, quicktime.qd.QDColor, quicktime.qd.QDGraphics)"><!-- --></A><H3>Compositor</H3><PRE>public <B>Compositor</B>(<A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A>&nbsp;spriteGWorld,                  <A HREF="../../../quicktime/qd/QDColor.html">QDColor</A>&nbsp;backgroundColor,                  <A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A>&nbsp;background)           throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This constructor creates a Compositor with a background picutre as drawn in the supplied QDGraphics background parameter. It has a default scale of 10 fps at a rate of 1.<DD><DL><DT><B>Parameters:</B><DD><CODE>spriteGWorld</CODE> - Specifies the sprites offscreen QDGraphics. The size of this QDGraphics determines the corresponding display size when the SpriteWorld is added to its display surface.<DD><CODE>backgroundColor</CODE> - Specifies the background color.<DD><CODE>background</CODE> - Specifies the background QDGraphics to be used to composit background sprites into. This will give better performance if the sprites in front of the background are changing.</DL></DD></DL><HR><A NAME="Compositor(quicktime.qd.QDGraphics, quicktime.qd.QDColor, int, int)"><!-- --></A><H3>Compositor</H3><PRE>public <B>Compositor</B>(<A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A>&nbsp;spriteGWorld,                  <A HREF="../../../quicktime/qd/QDColor.html">QDColor</A>&nbsp;backgroundColor,                  int&nbsp;scale,                  int&nbsp;period)           throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This constructor creates a Compositor with a background color.<DD><DL><DT><B>Parameters:</B><DD><CODE>spriteGWorld</CODE> - Specifies the sprites offscreen QDGraphics. The size of this QDGraphics determines the corresponding display size when the SpriteWorld is added to its display surface.<DD><CODE>backgroundColor</CODE> - Specifies the background color.<DD><CODE>scale</CODE> - the amount with which a second is divided into at a rate of one<DD><CODE>period</CODE> - the number of scale ticks that elapse between invocations of the action.</DL></DD></DL><HR><A NAME="Compositor(quicktime.qd.QDGraphics, quicktime.qd.QDColor, quicktime.qd.QDGraphics, int, int)"><!-- --></A><H3>Compositor</H3><PRE>public <B>Compositor</B>(<A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A>&nbsp;spriteGWorld,                  <A HREF="../../../quicktime/qd/QDColor.html">QDColor</A>&nbsp;backgroundColor,                  <A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A>&nbsp;background,                  int&nbsp;scale,                  int&nbsp;period)           throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This constructor creates a Compositor with a background picutre as drawn in the supplied QDGraphics background parameter.<DD><DL>

⌨️ 快捷键说明

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