📄 jcomponent.html
字号:
</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../javax/swing/JComponent.AccessibleJComponent.html#JComponent.AccessibleJComponent(javax.swing.JComponent)">JComponent.AccessibleJComponent</A></B>()</CODE><BR> Though the class is abstract, this should be called by all sub-classes.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../javax/swing/ComponentInputMap.html#ComponentInputMap(javax.swing.JComponent)">ComponentInputMap</A></B>(<A HREF="../../../javax/swing/JComponent.html">JComponent</A> component)</CODE><BR> Creates a <code>ComponentInputMap</code> associated with the specified component.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../javax/swing/DebugGraphics.html#DebugGraphics(java.awt.Graphics, javax.swing.JComponent)">DebugGraphics</A></B>(<A HREF="../../../java/awt/Graphics.html">Graphics</A> graphics, <A HREF="../../../javax/swing/JComponent.html">JComponent</A> component)</CODE><BR> Constructs a debug graphics context from an existing graphics context that slows down drawing for the specified component.</TD></TR></TABLE> <P><A NAME="javax.swing.colorchooser"><!-- --></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="../../../javax/swing/JComponent.html">JComponent</A> in <A HREF="../../../javax/swing/colorchooser/package-summary.html">javax.swing.colorchooser</A></FONT></TD></TR></TABLE> <P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Subclasses of <A HREF="../../../javax/swing/JComponent.html">JComponent</A> in <A HREF="../../../javax/swing/colorchooser/package-summary.html">javax.swing.colorchooser</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> class</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/swing/colorchooser/AbstractColorChooserPanel.html">AbstractColorChooserPanel</A></B></CODE><BR> This is the abstract superclass for color choosers.</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="../../../javax/swing/colorchooser/package-summary.html">javax.swing.colorchooser</A> that return <A HREF="../../../javax/swing/JComponent.html">JComponent</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../javax/swing/JComponent.html">JComponent</A></CODE></FONT></TD><TD><CODE><B>ColorChooserComponentFactory.</B><B><A HREF="../../../javax/swing/colorchooser/ColorChooserComponentFactory.html#getPreviewPanel()">getPreviewPanel</A></B>()</CODE><BR> </TD></TR></TABLE> <P><A NAME="javax.swing.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="../../../javax/swing/JComponent.html">JComponent</A> in <A HREF="../../../javax/swing/event/package-summary.html">javax.swing.event</A></FONT></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="../../../javax/swing/event/package-summary.html">javax.swing.event</A> that return <A HREF="../../../javax/swing/JComponent.html">JComponent</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../javax/swing/JComponent.html">JComponent</A></CODE></FONT></TD><TD><CODE><B>AncestorEvent.</B><B><A HREF="../../../javax/swing/event/AncestorEvent.html#getComponent()">getComponent</A></B>()</CODE><BR> Returns the component that the listener was added to.</TD></TR></TABLE> <P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Constructors in <A HREF="../../../javax/swing/event/package-summary.html">javax.swing.event</A> with parameters of type <A HREF="../../../javax/swing/JComponent.html">JComponent</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../javax/swing/event/AncestorEvent.html#AncestorEvent(javax.swing.JComponent, int, java.awt.Container, java.awt.Container)">AncestorEvent</A></B>(<A HREF="../../../javax/swing/JComponent.html">JComponent</A> source, int id, <A HREF="../../../java/awt/Container.html">Container</A> ancestor, <A HREF="../../../java/awt/Container.html">Container</A> ancestorParent)</CODE><BR> Constructs an AncestorEvent object to identify a change in an ancestor-component's display-status.</TD></TR></TABLE> <P><A NAME="javax.swing.plaf"><!-- --></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="../../../javax/swing/JComponent.html">JComponent</A> in <A HREF="../../../javax/swing/plaf/package-summary.html">javax.swing.plaf</A></FONT></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="../../../javax/swing/plaf/package-summary.html">javax.swing.plaf</A> with parameters of type <A HREF="../../../javax/swing/JComponent.html">JComponent</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>ComponentUI.</B><B><A HREF="../../../javax/swing/plaf/ComponentUI.html#installUI(javax.swing.JComponent)">installUI</A></B>(<A HREF="../../../javax/swing/JComponent.html">JComponent</A> c)</CODE><BR> </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>ComponentUI.</B><B><A HREF="../../../javax/swing/plaf/ComponentUI.html#uninstallUI(javax.swing.JComponent)">uninstallUI</A></B>(<A HREF="../../../javax/swing/JComponent.html">JComponent</A> c)</CODE><BR> </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>ComponentUI.</B><B><A HREF="../../../javax/swing/plaf/ComponentUI.html#paint(java.awt.Graphics, javax.swing.JComponent)">paint</A></B>(<A HREF="../../../java/awt/Graphics.html">Graphics</A> g, <A HREF="../../../javax/swing/JComponent.html">JComponent</A> c)</CODE><BR> </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>ComponentUI.</B><B><A HREF="../../../javax/swing/plaf/ComponentUI.html#update(java.awt.Graphics, javax.swing.JComponent)">update</A></B>(<A HREF="../../../java/awt/Graphics.html">Graphics</A> g, <A HREF="../../../javax/swing/JComponent.html">JComponent</A> c)</CODE><BR> </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>ComponentUI.</B><B><A HREF="../../../javax/swing/plaf/ComponentUI.html#getPreferredSize(javax.swing.JComponent)">getPreferredSize</A></B>(<A HREF="../../../javax/swing/JComponent.html">JComponent</A> c)</CODE><BR> </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>ComponentUI.</B><B><A HREF="../../../javax/swing/plaf/ComponentUI.html#getMinimumSize(javax.swing.JComponent)">getMinimumSize</A></B>(<A HREF="../../../javax/swing/JComponent.html">JComponent</A> c)</CODE><BR> </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>ComponentUI.</B><B><A HREF="../../../javax/swing/plaf/ComponentUI.html#getMaximumSize(javax.swing.JComponent)">getMaximumSize</A></B>(<A HREF="../../../javax/swing/JComponent.html">JComponent</A> c)</CODE><BR> </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>ComponentUI.</B><B><A HREF="../../../javax/swing/plaf/ComponentUI.html#contains(javax.swing.JComponent, int, int)">contains</A></B>(<A HREF="../../../javax/swing/JComponent.html">JComponent</A> c, int x, int y)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../javax/swing/plaf/ComponentUI.html">ComponentUI</A></CODE></FONT></TD><TD><CODE><B>ComponentUI.</B><B><A HREF="../../../javax/swing/plaf/ComponentUI.html#createUI(javax.swing.JComponent)">createUI</A></B>(<A HREF="../../../javax/swing/JComponent.html">JComponent</A> c)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B>ComponentUI.</B><B><A HREF="../../../javax/swing/plaf/ComponentUI.html#getAccessibleChildrenCount(javax.swing.JComponent)">getAccessibleChildrenCount</A></B>(<A HREF="../../../javax/swing/JComponent.html">JComponent</A> c)</CODE><BR> Returns the number of accessible children in the object.</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>ComponentUI.</B><B><A HREF="../../../javax/swing/plaf/ComponentUI.html#getAccessibleChild(javax.swing.JComponent, int)">getAccessibleChild</A></B>(<A HREF="../../../javax/swing/JComponent.html">JComponent</A> c, int i)</CODE><BR> Return the nth Accessible child of the object.</TD></TR></TABLE> <P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Constructors in <A HREF="../../../javax/swing/plaf/package-summary.html">javax.swing.plaf</A> with parameters of type <A HREF="../../../javax/swing/JComponent.html">JComponent</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../javax/swing/plaf/ComponentInputMapUIResource.html#ComponentInputMapUIResource(javax.swing.JComponent)">ComponentInputMapUIResource</A></B>(<A HREF="../../../javax/swing/JComponent.html">JComponent</A> component)</CODE><BR> </TD></TR></TABLE> <P><A NAME="javax.swing.plaf.basic"><!-- --></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="../../../javax/swing/JComponent.html">JComponent</A> in <A HREF="../../../javax/swing/plaf/basic/package-summary.html">javax.swing.plaf.basic</A></FONT></TD></TR></TABLE> <P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Subclasses of <A HREF="../../../javax/swing/JComponent.html">JComponent</A> in <A HREF="../../../javax/swing/plaf/basic/package-summary.html">javax.swing.plaf.basic</A><
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -