point.html

来自「API資料大全」· HTML 代码 · 共 1,126 行 · 第 1/5 页

HTML
1,126
字号
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;create an embedded autoscroller </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>DropTarget.</B><B><A HREF="../../../java/awt/dnd/DropTarget.html#initializeAutoscrolling(java.awt.Point)">initializeAutoscrolling</A></B>(<A HREF="../../../java/awt/Point.html">Point</A>&nbsp;p)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;initialize autoscrolling </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>DropTarget.</B><B><A HREF="../../../java/awt/dnd/DropTarget.html#updateAutoscroll(java.awt.Point)">updateAutoscroll</A></B>(<A HREF="../../../java/awt/Point.html">Point</A>&nbsp;dragCursorLocn)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;update autoscrolling with current cursor locn </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>DropTarget.DropTargetAutoScroller.</B><B><A HREF="../../../java/awt/dnd/DropTarget.DropTargetAutoScroller.html#updateLocation(java.awt.Point)">updateLocation</A></B>(<A HREF="../../../java/awt/Point.html">Point</A>&nbsp;newLocn)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cause autoscroll to occur </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>Autoscroll.</B><B><A HREF="../../../java/awt/dnd/Autoscroll.html#autoscroll(java.awt.Point)">autoscroll</A></B>(<A HREF="../../../java/awt/Point.html">Point</A>&nbsp;cursorLocn)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;notify the <code>Component</code> to autoscroll </TD></TR></TABLE>&nbsp;<P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Constructors in <A HREF="../../../java/awt/dnd/package-summary.html">java.awt.dnd</A> with parameters of type <A HREF="../../../java/awt/Point.html">Point</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../java/awt/dnd/DropTargetDropEvent.html#DropTargetDropEvent(java.awt.dnd.DropTargetContext, java.awt.Point, int, int)">DropTargetDropEvent</A></B>(<A HREF="../../../java/awt/dnd/DropTargetContext.html">DropTargetContext</A>&nbsp;dtc,                    <A HREF="../../../java/awt/Point.html">Point</A>&nbsp;cursorLocn,                    int&nbsp;dropAction,                    int&nbsp;srcActions)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a <code>DropTargetDropEvent</code> given the <code>DropTargetContext</code> for this operation,  the location of the drag <code>Cursor</code>'s hotspot in the <code>Component</code>'s coordinates,  the currently selected user drop action, and the current set of actions supported by the source.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../java/awt/dnd/DropTargetDropEvent.html#DropTargetDropEvent(java.awt.dnd.DropTargetContext, java.awt.Point, int, int, boolean)">DropTargetDropEvent</A></B>(<A HREF="../../../java/awt/dnd/DropTargetContext.html">DropTargetContext</A>&nbsp;dtc,                    <A HREF="../../../java/awt/Point.html">Point</A>&nbsp;cursorLocn,                    int&nbsp;dropAction,                    int&nbsp;srcActions,                    boolean&nbsp;isLocal)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a <code>DropTargetEvent</code> given the  <code>DropTargetContext</code> for this operation, the location of the drag <code>Cursor</code>'s hotspot  in the <code>Component</code>'s  coordinates, the currently selected user drop action,  the current set of actions supported by the source, and a <code>boolean</code> indicating if the source is in the same JVM as the target.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../java/awt/dnd/DragSourceContext.html#DragSourceContext(java.awt.dnd.peer.DragSourceContextPeer, java.awt.dnd.DragGestureEvent, java.awt.Cursor, java.awt.Image, java.awt.Point, java.awt.datatransfer.Transferable, java.awt.dnd.DragSourceListener)">DragSourceContext</A></B>(java.awt.dnd.peer.DragSourceContextPeer&nbsp;dscp,                  <A HREF="../../../java/awt/dnd/DragGestureEvent.html">DragGestureEvent</A>&nbsp;trigger,                  <A HREF="../../../java/awt/Cursor.html">Cursor</A>&nbsp;dragCursor,                  <A HREF="../../../java/awt/Image.html">Image</A>&nbsp;dragImage,                  <A HREF="../../../java/awt/Point.html">Point</A>&nbsp;offset,                  <A HREF="../../../java/awt/datatransfer/Transferable.html">Transferable</A>&nbsp;t,                  <A HREF="../../../java/awt/dnd/DragSourceListener.html">DragSourceListener</A>&nbsp;dsl)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Called from <code>DragSource</code>, this  constructor creates  a new <code>DragSourceContext</code> given the  <code>DragSourceContextPeer</code> for this Drag,  the <code>DragGestureEvent</code> that triggered the Drag,  the initial <code>Cursor</code> to use for the Drag, an (optional)  <code>Image</code> to display while the Drag is taking place,  the offset of the <code>Image</code> origin from the  hotspot at the instant of the triggering event,  the <code>Transferable</code> subject data, and the  <code>DragSourceListener</code> to use during the Drag and  Drop operation.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../java/awt/dnd/DragGestureEvent.html#DragGestureEvent(java.awt.dnd.DragGestureRecognizer, int, java.awt.Point, java.util.List)">DragGestureEvent</A></B>(<A HREF="../../../java/awt/dnd/DragGestureRecognizer.html">DragGestureRecognizer</A>&nbsp;dgr,                 int&nbsp;act,                 <A HREF="../../../java/awt/Point.html">Point</A>&nbsp;ori,                 <A HREF="../../../java/util/List.html">List</A>&nbsp;evs)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a <code>DragGestureEvent</code> given the <code>DragGestureRecognizer</code> firing this event,  an <code>int</code> representing the user's preferred action, a <code>Point</code>  indicating the origin of the drag, and a <code>List</code>  of events that comprise the gesture.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../java/awt/dnd/DropTarget.DropTargetAutoScroller.html#DropTarget.DropTargetAutoScroller(java.awt.Component, java.awt.Point)">DropTarget.DropTargetAutoScroller</A></B>(<A HREF="../../../java/awt/Component.html">Component</A>&nbsp;c,                                  <A HREF="../../../java/awt/Point.html">Point</A>&nbsp;p)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;construct a DropTargetAutoScroller </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../java/awt/dnd/DropTargetDragEvent.html#DropTargetDragEvent(java.awt.dnd.DropTargetContext, java.awt.Point, int, int)">DropTargetDragEvent</A></B>(<A HREF="../../../java/awt/dnd/DropTargetContext.html">DropTargetContext</A>&nbsp;dtc,                    <A HREF="../../../java/awt/Point.html">Point</A>&nbsp;cursorLocn,                    int&nbsp;dropAction,                    int&nbsp;srcActions)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a <code>DropTargetDragEvent</code> given the <code>DropTargetContext</code> for this operation, the location of the "Drag" <code>Cursor</code>'s hotspot  in the <code>Component</code>'s coordinates, the currently selected user drop action, and current  set of actions supported by the source.</TD></TR></TABLE>&nbsp;<P><A NAME="java.awt.event"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2">Uses of <A HREF="../../../java/awt/Point.html">Point</A> in <A HREF="../../../java/awt/event/package-summary.html">java.awt.event</A></FONT></TD></TR></TABLE>&nbsp;<P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../java/awt/event/package-summary.html">java.awt.event</A> that return <A HREF="../../../java/awt/Point.html">Point</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/awt/Point.html">Point</A></CODE></FONT></TD><TD><CODE><B>MouseEvent.</B><B><A HREF="../../../java/awt/event/MouseEvent.html#getPoint()">getPoint</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the x,y position of the event relative to the source component.</TD></TR></TABLE>&nbsp;<P><A NAME="java.awt.image"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2">Uses of <A HREF="../../../java/awt/Point.html">Point</A> in <A HREF="../../../java/awt/image/package-summary.html">java.awt.image</A></FONT></TD></TR></TABLE>&nbsp;<P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../java/awt/image/package-summary.html">java.awt.image</A> that return <A HREF="../../../java/awt/Point.html">Point</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/awt/Point.html">Point</A>[]</CODE></FONT></TD><TD><CODE><B>BufferedImage.</B><B><A HREF="../../../java/awt/image/BufferedImage.html#getWritableTileIndices()">getWritableTileIndices</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an array of <A HREF="../../../java/awt/Point.html"><CODE>Point</CODE></A> objects indicating which tiles are checked out for writing.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/awt/Point.html">Point</A>[]</CODE></FONT></TD><TD><CODE><B>WritableRenderedImage.</B><B><A HREF="../../../java/awt/image/WritableRenderedImage.html#getWritableTileIndices()">getWritableTileIndices</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an array of Point objects indicating which tiles are checked out for writing.</TD></TR></TABLE>&nbsp;<P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../java/awt/image/package-summary.html">java.awt.image</A> with parameters of type <A HREF="../../../java/awt/Point.html">Point</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../java/awt/image/WritableRaster.html">WritableRaster</A></CODE></FONT></TD><TD><CODE><B>Raster.</B><B><A HREF="../../../java/awt/image/Raster.html#createInterleavedRaster(int, int, int, int, java.awt.Point)">createInterleavedRaster</A></B>(int&nbsp;dataType,                        int&nbsp;w,                        int&nbsp;h,                        int&nbsp;bands,                        <A HREF="../../../java/awt/Point.html">Point</A>&nbsp;location)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a Raster based on a PixelInterleavedSampleModel with the specified data type, width, height, and number of bands.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../java/awt/image/WritableRaster.html">WritableRaster</A></CODE></FONT></TD><TD><CODE><B>Raster.</B><B><A HREF="../../../java/awt/image/Raster.html#createInterleavedRaster(int, int, int, int, int, int[], java.awt.Point)">createInterleavedRaster</A></B>(int&nbsp;dataType,                        int&nbsp;w,                        int&nbsp;h,

⌨️ 快捷键说明

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