point.html
来自「API資料大全」· HTML 代码 · 共 1,126 行 · 第 1/5 页
HTML
1,126 行
</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../java/awt/Point.html">Point</A></CODE></FONT></TD><TD><CODE><B>List.AccessibleAWTList.AccessibleAWTListChild.</B><B><A HREF="../../../java/awt/List.AccessibleAWTList.AccessibleAWTListChild.html#getLocationOnScreen()">getLocationOnScreen</A></B>()</CODE><BR> Returns the location of the object on the screen.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../java/awt/Point.html">Point</A></CODE></FONT></TD><TD><CODE><B>List.AccessibleAWTList.AccessibleAWTListChild.</B><B><A HREF="../../../java/awt/List.AccessibleAWTList.AccessibleAWTListChild.html#getLocation()">getLocation</A></B>()</CODE><BR> Gets the location of the object relative to the parent in the form of a point specifying the object's top-left corner in the screen's coordinate space.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../java/awt/Point.html">Point</A></CODE></FONT></TD><TD><CODE><B>GridBagLayout.</B><B><A HREF="../../../java/awt/GridBagLayout.html#getLayoutOrigin()">getLayoutOrigin</A></B>()</CODE><BR> Determines the origin of the layout grid.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../java/awt/Point.html">Point</A></CODE></FONT></TD><TD><CODE><B>GridBagLayout.</B><B><A HREF="../../../java/awt/GridBagLayout.html#location(int, int)">location</A></B>(int x, int y)</CODE><BR> Determines which cell in the layout grid contains the point specified by <code>(x, y)</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../java/awt/Point.html">Point</A></CODE></FONT></TD><TD><CODE><B>Rectangle.</B><B><A HREF="../../../java/awt/Rectangle.html#getLocation()">getLocation</A></B>()</CODE><BR> Returns the location of this <code>Rectangle</code>.</TD></TR></TABLE> <P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../java/awt/package-summary.html">java.awt</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> void</CODE></FONT></TD><TD><CODE><B>Component.</B><B><A HREF="../../../java/awt/Component.html#setLocation(java.awt.Point)">setLocation</A></B>(<A HREF="../../../java/awt/Point.html">Point</A> p)</CODE><BR> Moves this component to a new location.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../java/awt/Point.html">Point</A></CODE></FONT></TD><TD><CODE><B>Component.</B><B><A HREF="../../../java/awt/Component.html#getLocation(java.awt.Point)">getLocation</A></B>(<A HREF="../../../java/awt/Point.html">Point</A> rv)</CODE><BR> Store the x,y origin of this component into "return value" <b>rv</b> and return <b>rv</b>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B>Component.</B><B><A HREF="../../../java/awt/Component.html#contains(java.awt.Point)">contains</A></B>(<A HREF="../../../java/awt/Point.html">Point</A> p)</CODE><BR> Checks whether this component "contains" the specified point, where the point's <i>x</i> and <i>y</i> coordinates are defined to be relative to the coordinate system of this component.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../java/awt/Component.html">Component</A></CODE></FONT></TD><TD><CODE><B>Component.</B><B><A HREF="../../../java/awt/Component.html#getComponentAt(java.awt.Point)">getComponentAt</A></B>(<A HREF="../../../java/awt/Point.html">Point</A> p)</CODE><BR> Returns the component or subcomponent that contains the specified point.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../java/awt/Component.html">Component</A></CODE></FONT></TD><TD><CODE><B>Container.</B><B><A HREF="../../../java/awt/Container.html#getComponentAt(java.awt.Point)">getComponentAt</A></B>(<A HREF="../../../java/awt/Point.html">Point</A> p)</CODE><BR> Gets the component that contains the specified point.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../java/awt/Component.html">Component</A></CODE></FONT></TD><TD><CODE><B>Container.</B><B><A HREF="../../../java/awt/Container.html#findComponentAt(java.awt.Point)">findComponentAt</A></B>(<A HREF="../../../java/awt/Point.html">Point</A> p)</CODE><BR> Locates the visible child component that contains the specified point.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B>Component.AccessibleAWTComponent.</B><B><A HREF="../../../java/awt/Component.AccessibleAWTComponent.html#contains(java.awt.Point)">contains</A></B>(<A HREF="../../../java/awt/Point.html">Point</A> p)</CODE><BR> Checks whether the specified point is within this object's bounds, where the point's x and y coordinates are defined to be relative to the coordinate system of 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>Component.AccessibleAWTComponent.</B><B><A HREF="../../../java/awt/Component.AccessibleAWTComponent.html#setLocation(java.awt.Point)">setLocation</A></B>(<A HREF="../../../java/awt/Point.html">Point</A> p)</CODE><BR> Sets the location of the object relative to the parent.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../javax/accessibility/Accessible.html">Accessible</A></CODE></FONT></TD><TD><CODE><B>Component.AccessibleAWTComponent.</B><B><A HREF="../../../java/awt/Component.AccessibleAWTComponent.html#getAccessibleAt(java.awt.Point)">getAccessibleAt</A></B>(<A HREF="../../../java/awt/Point.html">Point</A> p)</CODE><BR> Returns the Accessible child, if one exists, contained at the local coordinate Point.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../javax/accessibility/Accessible.html">Accessible</A></CODE></FONT></TD><TD><CODE><B>Container.AccessibleAWTContainer.</B><B><A HREF="../../../java/awt/Container.AccessibleAWTContainer.html#getAccessibleAt(java.awt.Point)">getAccessibleAt</A></B>(<A HREF="../../../java/awt/Point.html">Point</A> p)</CODE><BR> Returns the Accessible child, if one exists, contained at the local coordinate Point.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B>Polygon.</B><B><A HREF="../../../java/awt/Polygon.html#contains(java.awt.Point)">contains</A></B>(<A HREF="../../../java/awt/Point.html">Point</A> p)</CODE><BR> Determines whether the specified <A HREF="../../../java/awt/Point.html"><CODE>Point</CODE></A> is inside this <code>Polygon</code>.</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>ScrollPane.</B><B><A HREF="../../../java/awt/ScrollPane.html#setScrollPosition(java.awt.Point)">setScrollPosition</A></B>(<A HREF="../../../java/awt/Point.html">Point</A> p)</CODE><BR> Scrolls to the specified position within the child component.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B>MenuComponent.AccessibleAWTMenuComponent.</B><B><A HREF="../../../java/awt/MenuComponent.AccessibleAWTMenuComponent.html#contains(java.awt.Point)">contains</A></B>(<A HREF="../../../java/awt/Point.html">Point</A> p)</CODE><BR> Checks whether the specified point is within this object's bounds, where the point's x and y coordinates are defined to be relative to the coordinate system of 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>MenuComponent.AccessibleAWTMenuComponent.</B><B><A HREF="../../../java/awt/MenuComponent.AccessibleAWTMenuComponent.html#setLocation(java.awt.Point)">setLocation</A></B>(<A HREF="../../../java/awt/Point.html">Point</A> p)</CODE><BR> Sets the location of the object relative to the parent.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../javax/accessibility/Accessible.html">Accessible</A></CODE></FONT></TD><TD><CODE><B>MenuComponent.AccessibleAWTMenuComponent.</B><B><A HREF="../../../java/awt/MenuComponent.AccessibleAWTMenuComponent.html#getAccessibleAt(java.awt.Point)">getAccessibleAt</A></B>(<A HREF="../../../java/awt/Point.html">Point</A> p)</CODE><BR> Returns the Accessible child, if one exists, contained at the local coordinate Point.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../java/awt/Cursor.html">Cursor</A></CODE></FONT></TD><TD><CODE><B>Toolkit.</B><B><A HREF="../../../java/awt/Toolkit.html#createCustomCursor(java.awt.Image, java.awt.Point, java.lang.String)">createCustomCursor</A></B>(<A HREF="../../../java/awt/Image.html">Image</A> cursor, <A HREF="../../../java/awt/Point.html">Point</A> hotSpot, <A HREF="../../../java/lang/String.html">String</A> name)</CODE><BR> Creates a new custom cursor 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>Point.</B><B><A HREF="../../../java/awt/Point.html#setLocation(java.awt.Point)">setLocation</A></B>(<A HREF="../../../java/awt/Point.html">Point</A> p)</CODE><BR> Sets the location of the point to the specificed location.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../javax/accessibility/Accessible.html">Accessible</A></CODE></FONT></TD><TD><CODE><B>List.AccessibleAWTList.</B><B><A HREF="../../../java/awt/List.AccessibleAWTList.html#getAccessibleAt(java.awt.Point)">getAccessibleAt</A></B>(<A HREF="../../../java/awt/Point.html">Point</A> p)</CODE><BR> Returns the Accessible child contained at the local coordinate Point, if one exists.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B>List.AccessibleAWTList.AccessibleAWTListChild.</B><B><A HREF="../../../java/awt/List.AccessibleAWTList.AccessibleAWTListChild.html#contains(java.awt.Point)">contains</A></B>(<A HREF="../../../java/awt/Point.html">Point</A> p)</CODE><BR> Checks whether the specified point is within this object's bounds, where the point's x and y coordinates are defined to be relative to the coordinate system of the object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?