⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 basiccomboboxui.html

📁 API資料大全
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<PRE>public boolean <B>isPopupVisible</B>(<A HREF="../../../../javax/swing/JComboBox.html">JComboBox</A>&nbsp;c)</PRE><DL><DD>Tells if the popup is visible or not.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/swing/plaf/ComboBoxUI.html#isPopupVisible(javax.swing.JComboBox)">isPopupVisible</A></CODE> in class <CODE><A HREF="../../../../javax/swing/plaf/ComboBoxUI.html">ComboBoxUI</A></CODE></DL></DD></DL><HR><A NAME="setPopupVisible(javax.swing.JComboBox, boolean)"><!-- --></A><H3>setPopupVisible</H3><PRE>public void <B>setPopupVisible</B>(<A HREF="../../../../javax/swing/JComboBox.html">JComboBox</A>&nbsp;c,                            boolean&nbsp;v)</PRE><DL><DD>Hides the popup.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/swing/plaf/ComboBoxUI.html#setPopupVisible(javax.swing.JComboBox, boolean)">setPopupVisible</A></CODE> in class <CODE><A HREF="../../../../javax/swing/plaf/ComboBoxUI.html">ComboBoxUI</A></CODE></DL></DD></DL><HR><A NAME="isFocusTraversable(javax.swing.JComboBox)"><!-- --></A><H3>isFocusTraversable</H3><PRE>public boolean <B>isFocusTraversable</B>(<A HREF="../../../../javax/swing/JComboBox.html">JComboBox</A>&nbsp;c)</PRE><DL><DD>Determines if the JComboBox is focus traversable.  If the JComboBox is editable this returns false, otherwise it returns true.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/swing/plaf/ComboBoxUI.html#isFocusTraversable(javax.swing.JComboBox)">isFocusTraversable</A></CODE> in class <CODE><A HREF="../../../../javax/swing/plaf/ComboBoxUI.html">ComboBoxUI</A></CODE></DL></DD></DL><HR><A NAME="paint(java.awt.Graphics, javax.swing.JComponent)"><!-- --></A><H3>paint</H3><PRE>public void <B>paint</B>(<A HREF="../../../../java/awt/Graphics.html">Graphics</A>&nbsp;g,                  <A HREF="../../../../javax/swing/JComponent.html">JComponent</A>&nbsp;c)</PRE><DL><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/swing/plaf/ComponentUI.html#paint(java.awt.Graphics, javax.swing.JComponent)">paint</A></CODE> in class <CODE><A HREF="../../../../javax/swing/plaf/ComponentUI.html">ComponentUI</A></CODE></DL></DD></DL><HR><A NAME="getPreferredSize(javax.swing.JComponent)"><!-- --></A><H3>getPreferredSize</H3><PRE>public <A HREF="../../../../java/awt/Dimension.html">Dimension</A> <B>getPreferredSize</B>(<A HREF="../../../../javax/swing/JComponent.html">JComponent</A>&nbsp;c)</PRE><DL><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/swing/plaf/ComponentUI.html#getPreferredSize(javax.swing.JComponent)">getPreferredSize</A></CODE> in class <CODE><A HREF="../../../../javax/swing/plaf/ComponentUI.html">ComponentUI</A></CODE></DL></DD></DL><HR><A NAME="getMinimumSize(javax.swing.JComponent)"><!-- --></A><H3>getMinimumSize</H3><PRE>public <A HREF="../../../../java/awt/Dimension.html">Dimension</A> <B>getMinimumSize</B>(<A HREF="../../../../javax/swing/JComponent.html">JComponent</A>&nbsp;c)</PRE><DL><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/swing/plaf/ComponentUI.html#getMinimumSize(javax.swing.JComponent)">getMinimumSize</A></CODE> in class <CODE><A HREF="../../../../javax/swing/plaf/ComponentUI.html">ComponentUI</A></CODE></DL></DD></DL><HR><A NAME="getMaximumSize(javax.swing.JComponent)"><!-- --></A><H3>getMaximumSize</H3><PRE>public <A HREF="../../../../java/awt/Dimension.html">Dimension</A> <B>getMaximumSize</B>(<A HREF="../../../../javax/swing/JComponent.html">JComponent</A>&nbsp;c)</PRE><DL><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/swing/plaf/ComponentUI.html#getMaximumSize(javax.swing.JComponent)">getMaximumSize</A></CODE> in class <CODE><A HREF="../../../../javax/swing/plaf/ComponentUI.html">ComponentUI</A></CODE></DL></DD></DL><HR><A NAME="getAccessibleChildrenCount(javax.swing.JComponent)"><!-- --></A><H3>getAccessibleChildrenCount</H3><PRE>public int <B>getAccessibleChildrenCount</B>(<A HREF="../../../../javax/swing/JComponent.html">JComponent</A>&nbsp;c)</PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../../../javax/swing/plaf/ComponentUI.html">ComponentUI</A></CODE></B></DD><DD>Returns the number of accessible children in the object.  If all of the children of this object implement Accessible, than this method should return the number of children of this object. UI's might wish to override this if they present areas on the screen that can be viewed as components, but actual components are not used for presenting those areas. Note: as of the Java 2 platform v1.3, it is recommended that developers call Component.AccessibleAWTComponent.getAccessibleChildrenCount() instead of using this method.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/swing/plaf/ComponentUI.html#getAccessibleChildrenCount(javax.swing.JComponent)">getAccessibleChildrenCount</A></CODE> in class <CODE><A HREF="../../../../javax/swing/plaf/ComponentUI.html">ComponentUI</A></CODE></DL></DD><DD>Following copied from class: <CODE>javax.swing.plaf.ComponentUI</CODE></DD><DD><DL><DT><B>Returns:</B><DD>the number of accessible children in the object.<DT><B>See Also: </B><DD><A HREF="../../../../javax/swing/plaf/ComponentUI.html#getAccessibleChild(javax.swing.JComponent, int)"><CODE>ComponentUI.getAccessibleChild(javax.swing.JComponent, int)</CODE></A></DL></DD></DL><HR><A NAME="getAccessibleChild(javax.swing.JComponent, int)"><!-- --></A><H3>getAccessibleChild</H3><PRE>public <A HREF="../../../../javax/accessibility/Accessible.html">Accessible</A> <B>getAccessibleChild</B>(<A HREF="../../../../javax/swing/JComponent.html">JComponent</A>&nbsp;c,                                     int&nbsp;i)</PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../../../javax/swing/plaf/ComponentUI.html">ComponentUI</A></CODE></B></DD><DD>Return the nth Accessible child of the object. UI's might wish to override this if they present areas on the screen that can be viewed as components, but actual components are not used for presenting those areas. Note: as of the Java 2 platform v1.3, it is recommended that developers call Component.AccessibleAWTComponent.getAccessibleChild() instead of using this method.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/swing/plaf/ComponentUI.html#getAccessibleChild(javax.swing.JComponent, int)">getAccessibleChild</A></CODE> in class <CODE><A HREF="../../../../javax/swing/plaf/ComponentUI.html">ComponentUI</A></CODE></DL></DD><DD>Following copied from class: <CODE>javax.swing.plaf.ComponentUI</CODE></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>i</CODE> - zero-based index of child<DT><B>Returns:</B><DD>the nth Accessible child of the object<DT><B>See Also: </B><DD><A HREF="../../../../javax/swing/plaf/ComponentUI.html#getAccessibleChildrenCount(javax.swing.JComponent)"><CODE>ComponentUI.getAccessibleChildrenCount(javax.swing.JComponent)</CODE></A></DL></DD></DL><HR><A NAME="isNavigationKey(int)"><!-- --></A><H3>isNavigationKey</H3><PRE>protected boolean <B>isNavigationKey</B>(int&nbsp;keyCode)</PRE><DL><DD>Returns whether or not the supplied keyCode maps to a key that is used for navigation.  This is used for optimizing key input by only passing non- navigation keys to the type-ahead mechanism.  Subclasses should override this if they change the navigation keys.</DL><HR><A NAME="selectNextPossibleValue()"><!-- --></A><H3>selectNextPossibleValue</H3><PRE>protected void <B>selectNextPossibleValue</B>()</PRE><DL><DD>Selects the next item in the list.  It won't change the selection if the currently selected item is already the last item.</DL><HR><A NAME="selectPreviousPossibleValue()"><!-- --></A><H3>selectPreviousPossibleValue</H3><PRE>protected void <B>selectPreviousPossibleValue</B>()</PRE><DL><DD>Selects the previous item in the list.  It won't change the selection if the currently selected item is already the first item.</DL><HR><A NAME="toggleOpenClose()"><!-- --></A><H3>toggleOpenClose</H3><PRE>protected void <B>toggleOpenClose</B>()</PRE><DL><DD>Hides the popup if it is showing and shows the popup if it is hidden.</DL><HR><A NAME="rectangleForCurrentValue()"><!-- --></A><H3>rectangleForCurrentValue</H3><PRE>protected <A HREF="../../../../java/awt/Rectangle.html">Rectangle</A> <B>rectangleForCurrentValue</B>()</PRE><DL><DD>Returns the area that is reserved for drawing the currently selected item.</DL><HR><A NAME="getInsets()"><!-- --></A><H3>getInsets</H3><PRE>protected <A HREF="../../../../java/awt/Insets.html">Insets</A> <B>getInsets</B>()</PRE><DL><DD>Gets the insets from the JComboBox.</DL><HR><A NAME="paintCurrentValue(java.awt.Graphics, java.awt.Rectangle, boolean)"><!-- --></A><H3>paintCurrentValue</H3><PRE>public void <B>paintCurrentValue</B>(<A HREF="../../../../java/awt/Graphics.html">Graphics</A>&nbsp;g,                              <A HREF="../../../../java/awt/Rectangle.html">Rectangle</A>&nbsp;bounds,                              boolean&nbsp;hasFocus)</PRE><DL><DD>Paints the currently selected item.</DL><HR><A NAME="paintCurrentValueBackground(java.awt.Graphics, java.awt.Rectangle, boolean)"><!-- --></A><H3>paintCurrentValueBackground</H3><PRE>public void <B>paintCurrentValueBackground</B>(<A HREF="../../../../java/awt/Graphics.html">Graphics</A>&nbsp;g,                                        <A HREF="../../../../java/awt/Rectangle.html">Rectangle</A>&nbsp;bounds,                                        boolean&nbsp;hasFocus)</PRE><DL><DD>Paints the background of the currently selected item.</DL><HR><A NAME="getDefaultSize()"><!-- --></A><H3>getDefaultSize</H3><PRE>protected <A HREF="../../../../java/awt/Dimension.html">Dimension</A> <B>getDefaultSize</B>()</PRE><DL><DD>Return the default size of an empty combo box.</DL><HR><A NAME="getDisplaySize()"><!-- --></A><H3>getDisplaySize</H3><PRE>protected <A HREF="../../../../java/awt/Dimension.html">Dimension</A> <B>getDisplaySize</B>()</PRE><DL></DL><HR><A NAME="installKeyboardActions()"><!-- --></A><H3>installKeyboardActions</H3><PRE>protected void <B>installKeyboardActions</B>()</PRE><DL><DD>Adds keyboard actions to the JComboBox.  Actions on enter and esc are already supplied.  Add more actions as you need them.</DL><HR><A NAME="uninstallKeyboardActions()"><!-- --></A><H3>uninstallKeyboardActions</H3><PRE>protected void <B>uninstallKeyboardActions</B>()</PRE><DL><DD>Removes the focus InputMap and ActionMap.</DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_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>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/BasicComboBoxUI.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><b>Java<sup><font size=-2>TM</font></sup>&nbsp;2&nbsp;Platform<br>Std.&nbsp;Ed. v1.3</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../../javax/swing/plaf/basic/BasicComboBoxRenderer.UIResource.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../javax/swing/plaf/basic/BasicComboBoxUI.ComboBoxLayoutManager.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="BasicComboBoxUI.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY: &nbsp;<A HREF="#inner_class_summary">INNER</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: &nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><font size="-1"><a href="http://java.sun.com/cgi-bin/bugreport.cgi">Submit a bug or feature</a><br>For further API reference and developer documentation, see <a href="http://java.sun.com/products/jdk/1.3/devdocs-vs-specs.html">Java 2 SDK SE Developer Documentation</a>. That documentation  contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples. <p>Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.<br>Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road<br>Palo Alto, California, 94303, U.S.A.  All Rights Reserved.</font></BODY></HTML>

⌨️ 快捷键说明

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