component.html
来自「API資料大全」· HTML 代码 · 共 1,274 行 · 第 1/5 页
HTML
1,274 行
<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="../../java/awt/Component.html#list(java.io.PrintWriter, int)">list</A></B>(<A HREF="../../java/io/PrintWriter.html">PrintWriter</A> out, int indent)</CODE><BR> Prints out a list, starting at the specified indention, to the specified print writer.</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><A HREF="../../java/awt/Component.html#locate(int, int)">locate</A></B>(int x, int y)</CODE><BR> <B>Deprecated.</B> <I>As of JDK version 1.1, replaced by getComponentAt(int, int).</I></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><A HREF="../../java/awt/Component.html#location()">location</A></B>()</CODE><BR> <B>Deprecated.</B> <I>As of JDK version 1.1, replaced by <code>getLocation()</code>.</I></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><A HREF="../../java/awt/Component.html#lostFocus(java.awt.Event, java.lang.Object)">lostFocus</A></B>(<A HREF="../../java/awt/Event.html">Event</A> evt, <A HREF="../../java/lang/Object.html">Object</A> what)</CODE><BR> <B>Deprecated.</B> <I>As of JDK version 1.1, replaced by processFocusEvent(FocusEvent).</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../java/awt/Dimension.html">Dimension</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../java/awt/Component.html#minimumSize()">minimumSize</A></B>()</CODE><BR> <B>Deprecated.</B> <I>As of JDK version 1.1, replaced by <code>getMinimumSize()</code>.</I></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><A HREF="../../java/awt/Component.html#mouseDown(java.awt.Event, int, int)">mouseDown</A></B>(<A HREF="../../java/awt/Event.html">Event</A> evt, int x, int y)</CODE><BR> <B>Deprecated.</B> <I>As of JDK version 1.1, replaced by processMouseEvent(MouseEvent).</I></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><A HREF="../../java/awt/Component.html#mouseDrag(java.awt.Event, int, int)">mouseDrag</A></B>(<A HREF="../../java/awt/Event.html">Event</A> evt, int x, int y)</CODE><BR> <B>Deprecated.</B> <I>As of JDK version 1.1, replaced by processMouseMotionEvent(MouseEvent).</I></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><A HREF="../../java/awt/Component.html#mouseEnter(java.awt.Event, int, int)">mouseEnter</A></B>(<A HREF="../../java/awt/Event.html">Event</A> evt, int x, int y)</CODE><BR> <B>Deprecated.</B> <I>As of JDK version 1.1, replaced by processMouseEvent(MouseEvent).</I></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><A HREF="../../java/awt/Component.html#mouseExit(java.awt.Event, int, int)">mouseExit</A></B>(<A HREF="../../java/awt/Event.html">Event</A> evt, int x, int y)</CODE><BR> <B>Deprecated.</B> <I>As of JDK version 1.1, replaced by processMouseEvent(MouseEvent).</I></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><A HREF="../../java/awt/Component.html#mouseMove(java.awt.Event, int, int)">mouseMove</A></B>(<A HREF="../../java/awt/Event.html">Event</A> evt, int x, int y)</CODE><BR> <B>Deprecated.</B> <I>As of JDK version 1.1, replaced by processMouseMotionEvent(MouseEvent).</I></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><A HREF="../../java/awt/Component.html#mouseUp(java.awt.Event, int, int)">mouseUp</A></B>(<A HREF="../../java/awt/Event.html">Event</A> evt, int x, int y)</CODE><BR> <B>Deprecated.</B> <I>As of JDK version 1.1, replaced by processMouseEvent(MouseEvent).</I></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="../../java/awt/Component.html#move(int, int)">move</A></B>(int x, int y)</CODE><BR> <B>Deprecated.</B> <I>As of JDK version 1.1, replaced by <code>setLocation(int, int)</code>.</I></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="../../java/awt/Component.html#nextFocus()">nextFocus</A></B>()</CODE><BR> <B>Deprecated.</B> <I>As of JDK version 1.1, replaced by transferFocus().</I></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="../../java/awt/Component.html#paint(java.awt.Graphics)">paint</A></B>(<A HREF="../../java/awt/Graphics.html">Graphics</A> g)</CODE><BR> Paints this component.</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="../../java/awt/Component.html#paintAll(java.awt.Graphics)">paintAll</A></B>(<A HREF="../../java/awt/Graphics.html">Graphics</A> g)</CODE><BR> Paints this component and all of its subcomponents.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="../../java/lang/String.html">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../java/awt/Component.html#paramString()">paramString</A></B>()</CODE><BR> Returns a string representing the state of this 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><A HREF="../../java/awt/Component.html#postEvent(java.awt.Event)">postEvent</A></B>(<A HREF="../../java/awt/Event.html">Event</A> e)</CODE><BR> <B>Deprecated.</B> <I>As of JDK version 1.1, replaced by dispatchEvent(AWTEvent).</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../java/awt/Dimension.html">Dimension</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../java/awt/Component.html#preferredSize()">preferredSize</A></B>()</CODE><BR> <B>Deprecated.</B> <I>As of JDK version 1.1, replaced by <code>getPreferredSize()</code>.</I></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><A HREF="../../java/awt/Component.html#prepareImage(java.awt.Image, java.awt.image.ImageObserver)">prepareImage</A></B>(<A HREF="../../java/awt/Image.html">Image</A> image, <A HREF="../../java/awt/image/ImageObserver.html">ImageObserver</A> observer)</CODE><BR> Prepares an image for rendering on this 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><A HREF="../../java/awt/Component.html#prepareImage(java.awt.Image, int, int, java.awt.image.ImageObserver)">prepareImage</A></B>(<A HREF="../../java/awt/Image.html">Image</A> image, int width, int height, <A HREF="../../java/awt/image/ImageObserver.html">ImageObserver</A> observer)</CODE><BR> Prepares an image for rendering on this component at the specified width and height.</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="../../java/awt/Component.html#print(java.awt.Graphics)">print</A></B>(<A HREF="../../java/awt/Graphics.html">Graphics</A> g)</CODE><BR> Prints this component.</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="../../java/awt/Component.html#printAll(java.awt.Graphics)">printAll</A></B>(<A HREF="../../java/awt/Graphics.html">Graphics</A> g)</CODE><BR> Prints this component and all of its subcomponents.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../java/awt/Component.html#processComponentEvent(java.awt.event.ComponentEvent)">processComponentEvent</A></B>(<A HREF="../../java/awt/event/ComponentEvent.html">ComponentEvent</A> e)</CODE><BR> Processes component events occurring on this component by dispatching them to any registered <code>ComponentListener</code> objects.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../java/awt/Component.html#processEvent(java.awt.AWTEvent)">processEvent</A></B>(<A HREF="../../java/awt/AWTEvent.html">AWTEvent</A> e)</CODE><BR> Processes events occurring on this component.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../java/awt/Component.html#processFocusEvent(java.awt.event.FocusEvent)">processFocusEvent</A></B>(<A HREF="../../java/awt/event/FocusEvent.html">FocusEvent</A> e)</CODE><BR> Processes focus events occurring on this component by dispatching them to any registered <code>FocusListener</code> objects.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../java/awt/Component.html#processHierarchyBoundsEvent(java.awt.event.HierarchyEvent)">processHierarchyBoundsEvent</A></B>(<A HREF="../../java/awt/event/HierarchyEvent.html">HierarchyEvent</A> e)</CODE><BR> Processes hierarchy bounds events occurring on this component by dispatching them to any registered <code>HierarchyBoundsListener</code> objects.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../java/awt/Component.html#processHierarchyEvent(java.awt.event.HierarchyEvent)"
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?