sgdrawer.html
来自「这个是java的quicktime for java 的详细使用文档」· HTML 代码 · 共 719 行 · 第 1/3 页
HTML
719 行
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc on Mon Jul 15 11:49:50 PDT 2002 --><TITLE>: Class SGDrawer</TITLE><LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"></HEAD><BODY BGCOLOR="white"><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_top"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_top_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SGDrawer.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../quicktime/app/sg/PresentationDrawer.html"><B>PREV CLASS</B></A> NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="SGDrawer.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">quicktime.app.sg</FONT><BR>Class SGDrawer</H2><PRE>java.lang.Object | +--<A HREF="../../../quicktime/app/time/Tasking.html">quicktime.app.time.Tasking</A> | +--<B>quicktime.app.sg.SGDrawer</B></PRE><DL><DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../quicktime/app/display/Drawable.html">Drawable</A>, <A HREF="../../../quicktime/app/spaces/Listener.html">Listener</A>, <A HREF="../../../quicktime/app/display/QTDrawable.html">QTDrawable</A>, <A HREF="../../../quicktime/app/time/Taskable.html">Taskable</A>, <A HREF="../../../quicktime/app/image/Transformable.html">Transformable</A></DD></DL><HR><DL><DT>public class <B>SGDrawer</B><DT>extends <A HREF="../../../quicktime/app/time/Tasking.html">Tasking</A><DT>implements <A HREF="../../../quicktime/app/display/QTDrawable.html">QTDrawable</A></DL><P>This class presents the SequenceGrabber/SGChannel component as a Drawable object so that it can be displayed within the confines of the QTCanvas.<P><HR><P><!-- ======== INNER CLASS SUMMARY ======== --><!-- =========== FIELD SUMMARY =========== --><A NAME="fields_inherited_from_class_quicktime.app.time.Taskable"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Fields inherited from interface quicktime.app.time.<A HREF="../../../quicktime/app/time/Taskable.html">Taskable</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../quicktime/app/time/Taskable.html#tasker">tasker</A></CODE></TD></TR></TABLE> <!-- ======== CONSTRUCTOR SUMMARY ======== --><A NAME="constructor_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Constructor Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../quicktime/app/sg/SGDrawer.html#SGDrawer(quicktime.std.sg.SGVideoChannel)">SGDrawer</A></B>(<A HREF="../../../quicktime/std/sg/SGVideoChannel.html">SGVideoChannel</A> sg)</CODE><BR> This constructor creates an SGDrawer object from a SGChannel component.</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> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/sg/SGDrawer.html#addedTo(java.lang.Object)">addedTo</A></B>(java.lang.Object interest)</CODE><BR> 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.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/qd/Region.html">Region</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/sg/SGDrawer.html#getClip()">getClip</A></B>()</CODE><BR> Returns a region that defines the current clipping region for the object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/sg/SGDrawer.html#getDisplayBounds()">getDisplayBounds</A></B>()</CODE><BR> Returns the current display location and size of the SGDrawer.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/sg/SGDrawer.html#getGWorld()">getGWorld</A></B>()</CODE><BR> QTCanvas calls this method to get the destination QDGraphics of its client.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.awt.Dimension</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/sg/SGDrawer.html#getInitialSize()">getInitialSize</A></B>()</CODE><BR> <B>Deprecated.</B> <I>since QTJava 4.0</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/std/image/Matrix.html">Matrix</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/sg/SGDrawer.html#getMatrix()">getMatrix</A></B>()</CODE><BR> This will return the client's current display transformations <br></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/qd/QDDimension.html">QDDimension</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/sg/SGDrawer.html#getOriginalSize()">getOriginalSize</A></B>()</CODE><BR> 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> <A HREF="../../../quicktime/std/sg/SequenceGrabber.html">SequenceGrabber</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/sg/SGDrawer.html#getSequenceGrabber()">getSequenceGrabber</A></B>()</CODE><BR> This returns the SequenceGrabber that is presented by this drawable.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/app/sg/SGCaptureCallback.html">SGCaptureCallback</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/sg/SGDrawer.html#getSGCaptureCallback()">getSGCaptureCallback</A></B>()</CODE><BR> Gets a SGCaptureCallback that is used by the SGDrawer to notify an application when a sequence grabbing operation has completed.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/std/sg/SGVideoChannel.html">SGVideoChannel</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/sg/SGDrawer.html#getSGChannel()">getSGChannel</A></B>()</CODE><BR> This returns the SequenceGrabber's VideoChannel that is presented by this drawable.</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/sg/SGDrawer.html#redraw(quicktime.qd.Region)">redraw</A></B>(<A HREF="../../../quicktime/qd/Region.html">Region</A> invalidRgn)</CODE><BR> 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> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/sg/SGDrawer.html#removedFrom(java.lang.Object)">removedFrom</A></B>(java.lang.Object interest)</CODE><BR> 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.</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/sg/SGDrawer.html#setClip(quicktime.qd.Region)">setClip</A></B>(<A HREF="../../../quicktime/qd/Region.html">Region</A> reg)</CODE><BR> Sets a region that will define the clipping region for the object</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/sg/SGDrawer.html#setDisplayBounds(quicktime.qd.QDRect)">setDisplayBounds</A></B>(<A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> bounds)</CODE><BR> Sets the display bounds for the SGDrawer</TD></TR>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?