📄 dsequencefrommemory.html
字号:
DSequenceFromMemory</H3><PRE>public <B>DSequenceFromMemory</B>(<A HREF="../../../quicktime/app/image/ImageSpec.html">ImageSpec</A> spec) throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This will create an DSequence object from any object that implements the ImageSpec interface. It will NOT copy the incoming image, but will merely add it to the internal data storage.<DD><DL><DT><B>Parameters:</B><DD><CODE>spec</CODE> - the ImageSpec object</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="addedTo(java.lang.Object)"><!-- --></A><H3>addedTo</H3><PRE>public void <B>addedTo</B>(java.lang.Object interest)</PRE><DL><DD>This method is called by the specified object when the instance of the class that implements this interface is added to the object that is the source of the interest.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/spaces/Listener.html#addedTo(java.lang.Object)">addedTo</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/spaces/Listener.html">Listener</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>interest</CODE> - the object that is to be the source of interest for the the object that implements this interface.</DL></DD></DL><HR><A NAME="removedFrom(java.lang.Object)"><!-- --></A><H3>removedFrom</H3><PRE>public void <B>removedFrom</B>(java.lang.Object interest)</PRE><DL><DD>This method is called by the specified object when the instance of the class that implements this interface is removed from the object that is the source of the interest.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/spaces/Listener.html#removedFrom(java.lang.Object)">removedFrom</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/spaces/Listener.html">Listener</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>interest</CODE> - the object that was the source of interest for the the object that implements this interface.</DL></DD></DL><HR><A NAME="getGWorld()"><!-- --></A><H3>getGWorld</H3><PRE>public <A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> <B>getGWorld</B>()</PRE><DL><DD>QTCanvas calls this method to get the destination QDGraphics of its client.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/display/QTDrawable.html#getGWorld()">getGWorld</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/display/QTDrawable.html">QTDrawable</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>a QDGraphics object or null</DL></DD></DL><HR><A NAME="setGWorld(quicktime.qd.QDGraphics)"><!-- --></A><H3>setGWorld</H3><PRE>public void <B>setGWorld</B>(<A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> cgp) throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>QTCanvas calls this method to give the client the QDGraphics object it should use to do its drawing. If the incoming QDGraphics is the QDGraphics.scratch then the drawable will not be visible and can disable itself. If a client is unable to set the graphics world it should throw an exception. <br><DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/display/QTDrawable.html#setGWorld(quicktime.qd.QDGraphics)">setGWorld</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/display/QTDrawable.html">QTDrawable</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>cgp</CODE> - a QDGraphics object</DL></DD></DL><HR><A NAME="setMatrix(quicktime.std.image.Matrix)"><!-- --></A><H3>setMatrix</H3><PRE>public void <B>setMatrix</B>(<A HREF="../../../quicktime/std/image/Matrix.html">Matrix</A> matrix) throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This will set the client's current Display Matrix<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/image/Transformable.html#setMatrix(quicktime.std.image.Matrix)">setMatrix</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/image/Transformable.html">Transformable</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>matrix</CODE> - the new Matrix</DL></DD></DL><HR><A NAME="getMatrix()"><!-- --></A><H3>getMatrix</H3><PRE>public <A HREF="../../../quicktime/std/image/Matrix.html">Matrix</A> <B>getMatrix</B>() throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This will return the client's current display transformations <br><DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/image/Transformable.html#getMatrix()">getMatrix</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/image/Transformable.html">Transformable</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the display transformations of the client</DL></DD></DL><HR><A NAME="getInitialSize()"><!-- --></A><H3>getInitialSize</H3><PRE>public java.awt.Dimension <B>getInitialSize</B>() throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD><B>Deprecated.</B> <I>since QTJava 4.0</I><P><DD>This method returns the original size before the transformations specified in the returned matrix are applied.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the runtime type is a java.awt.Dimension - the return value can be cast to this Class - however getOriginalSize should be used.<DT><B>See Also: </B><DD><CODE>()</CODE></DL></DD></DL><HR><A NAME="getOriginalSize()"><!-- --></A><H3>getOriginalSize</H3><PRE>public <A HREF="../../../quicktime/qd/QDDimension.html">QDDimension</A> <B>getOriginalSize</B>() throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This method returns the original size before the transformations specified in the returned matrix are applied.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/image/Transformable.html#getOriginalSize()">getOriginalSize</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/image/Transformable.html">Transformable</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the original size</DL></DD></DL><HR><A NAME="setDisplayBounds(quicktime.qd.QDRect)"><!-- --></A><H3>setDisplayBounds</H3><PRE>public void <B>setDisplayBounds</B>(<A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> bounds) throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>QTCanvas calls this method when it needs to tell the client to adjust its location, width and/or height. All values are in pixels. <br><DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/display/Drawable.html#setDisplayBounds(quicktime.qd.QDRect)">setDisplayBounds</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/display/Drawable.html">Drawable</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>bounds</CODE> - the new size and location.</DL></DD></DL><HR><A NAME="setLocation(int, int)"><!-- --></A><H3>setLocation</H3><PRE>public void <B>setLocation</B>(int x, int y) throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>A convenience method to set the position of a QTDrawable object.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/display/QTDrawable.html#setLocation(int, int)">setLocation</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/display/QTDrawable.html">QTDrawable</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the new x location<DD><CODE>y</CODE> - the new y location</DL></DD></DL><HR><A NAME="getDisplayBounds()"><!-- --></A><H3>getDisplayBounds</H3><PRE>public <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> <B>getDisplayBounds</B>()</PRE><DL><DD>QTCanvas calls this method when it needs to ask the client for its boundary. All values are in pixels. <br><DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/display/Drawable.html#getDisplayBounds()">getDisplayBounds</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/display/Drawable.html">Drawable</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the boundary of the client</DL></DD></DL><HR><A NAME="redraw(quicktime.qd.Region)"><!-- --></A><H3>redraw</H3><PRE>public final void <B>redraw</B>(<A HREF="../../../quicktime/qd/Region.html">Region</A> invalidRgn) throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>QTCanvas calls this method when the client should redraw itself. If the canvas is able to discern that only a part of the client's drawing area needs to be redrawn - then this area shall be passed in using the invalidRgn. Otherwise this will be null in which case the client should redraw itself entirely.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/display/Drawable.html#redraw(quicktime.qd.Region)">redraw</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/display/Drawable.html">Drawable</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>invalidRgn</CODE> - the invalidRgn that the client should redraw</DL></DD></DL><HR><A NAME="getClip()"><!-- --></A><H3>getClip</H3><PRE>public <A HREF="../../../quicktime/qd/Region.html">Region</A> <B>getClip</B>() throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Returns a region that defines the current clipping region for the object.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/display/QTDrawable.html#getClip()">getClip</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/display/QTDrawable.html">QTDrawable</A></CODE></DL></DD><DD><DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -