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

📄 basiccomboboxui.html

📁 API資料大全
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<PRE>protected <A HREF="../../../../java/awt/event/KeyListener.html">KeyListener</A> <B>popupKeyListener</B></PRE><DL></DL><HR><A NAME="listDataListener"><!-- --></A><H3>listDataListener</H3><PRE>protected <A HREF="../../../../javax/swing/event/ListDataListener.html">ListDataListener</A> <B>listDataListener</B></PRE><DL></DL><HR><A NAME="isMinimumSizeDirty"><!-- --></A><H3>isMinimumSizeDirty</H3><PRE>protected boolean <B>isMinimumSizeDirty</B></PRE><DL></DL><HR><A NAME="cachedMinimumSize"><!-- --></A><H3>cachedMinimumSize</H3><PRE>protected <A HREF="../../../../java/awt/Dimension.html">Dimension</A> <B>cachedMinimumSize</B></PRE><DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="BasicComboBoxUI()"><!-- --></A><H3>BasicComboBoxUI</H3><PRE>public <B>BasicComboBoxUI</B>()</PRE><DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="createUI(javax.swing.JComponent)"><!-- --></A><H3>createUI</H3><PRE>public static <A HREF="../../../../javax/swing/plaf/ComponentUI.html">ComponentUI</A> <B>createUI</B>(<A HREF="../../../../javax/swing/JComponent.html">JComponent</A>&nbsp;c)</PRE><DL></DL><HR><A NAME="installUI(javax.swing.JComponent)"><!-- --></A><H3>installUI</H3><PRE>public void <B>installUI</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#installUI(javax.swing.JComponent)">installUI</A></CODE> in class <CODE><A HREF="../../../../javax/swing/plaf/ComponentUI.html">ComponentUI</A></CODE></DL></DD></DL><HR><A NAME="uninstallUI(javax.swing.JComponent)"><!-- --></A><H3>uninstallUI</H3><PRE>public void <B>uninstallUI</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#uninstallUI(javax.swing.JComponent)">uninstallUI</A></CODE> in class <CODE><A HREF="../../../../javax/swing/plaf/ComponentUI.html">ComponentUI</A></CODE></DL></DD></DL><HR><A NAME="installDefaults()"><!-- --></A><H3>installDefaults</H3><PRE>protected void <B>installDefaults</B>()</PRE><DL><DD>Installs the default colors, default font, default renderer, and default editor into the JComboBox.</DL><HR><A NAME="installListeners()"><!-- --></A><H3>installListeners</H3><PRE>protected void <B>installListeners</B>()</PRE><DL><DD>Attaches listeners to the JComboBox and JComboBoxModel.</DL><HR><A NAME="uninstallDefaults()"><!-- --></A><H3>uninstallDefaults</H3><PRE>protected void <B>uninstallDefaults</B>()</PRE><DL><DD>Uninstalls the default colors, default font, default renderer, and default editor into the JComboBox.</DL><HR><A NAME="uninstallListeners()"><!-- --></A><H3>uninstallListeners</H3><PRE>protected void <B>uninstallListeners</B>()</PRE><DL><DD>Removes listeners from the JComboBox and JComboBoxModel.</DL><HR><A NAME="createPopup()"><!-- --></A><H3>createPopup</H3><PRE>protected <A HREF="../../../../javax/swing/plaf/basic/ComboPopup.html">ComboPopup</A> <B>createPopup</B>()</PRE><DL><DD>Creates an implementation of the ComboPopup interface. Returns an instance of BasicComboPopup.</DL><HR><A NAME="createKeyListener()"><!-- --></A><H3>createKeyListener</H3><PRE>protected <A HREF="../../../../java/awt/event/KeyListener.html">KeyListener</A> <B>createKeyListener</B>()</PRE><DL><DD>Creates the key listener for handling type-ahead. Returns an instance of BasicComboBoxUI$KeyHandler.</DL><HR><A NAME="createFocusListener()"><!-- --></A><H3>createFocusListener</H3><PRE>protected <A HREF="../../../../java/awt/event/FocusListener.html">FocusListener</A> <B>createFocusListener</B>()</PRE><DL><DD>Creates the focus listener that hides the popup when the focus is lost. Returns an instance of BasicComboBoxUI$FocusHandler.</DL><HR><A NAME="createListDataListener()"><!-- --></A><H3>createListDataListener</H3><PRE>protected <A HREF="../../../../javax/swing/event/ListDataListener.html">ListDataListener</A> <B>createListDataListener</B>()</PRE><DL><DD>Creates the list data listener that is used for caching the preferred sizes. Returns an instance of BasicComboBoxUI$ListDataHandler.</DL><HR><A NAME="createItemListener()"><!-- --></A><H3>createItemListener</H3><PRE>protected <A HREF="../../../../java/awt/event/ItemListener.html">ItemListener</A> <B>createItemListener</B>()</PRE><DL><DD>Creates the item listener that watches for updates in the current selection so that it can update the display. Returns an instance of BasicComboBoxUI$ItemHandler.</DL><HR><A NAME="createPropertyChangeListener()"><!-- --></A><H3>createPropertyChangeListener</H3><PRE>protected <A HREF="../../../../java/beans/PropertyChangeListener.html">PropertyChangeListener</A> <B>createPropertyChangeListener</B>()</PRE><DL><DD>Creates the list data listener that is used for caching the preferred sizes. Returns an instance of BasicComboBoxUI$PropertyChangeHandler.</DL><HR><A NAME="createLayoutManager()"><!-- --></A><H3>createLayoutManager</H3><PRE>protected <A HREF="../../../../java/awt/LayoutManager.html">LayoutManager</A> <B>createLayoutManager</B>()</PRE><DL><DD>Creates the standard combo box layout manager that has the arrow button to the right and the editor to the left. Returns an instance of BasicComboBoxUI$ComboBoxLayoutManager.</DL><HR><A NAME="createRenderer()"><!-- --></A><H3>createRenderer</H3><PRE>protected <A HREF="../../../../javax/swing/ListCellRenderer.html">ListCellRenderer</A> <B>createRenderer</B>()</PRE><DL><DD>Creates the renderer that is to be used in the combo box.  This method only gets called if a custom renderer has nto already been installed in the JComboBox.</DL><HR><A NAME="createEditor()"><!-- --></A><H3>createEditor</H3><PRE>protected <A HREF="../../../../javax/swing/ComboBoxEditor.html">ComboBoxEditor</A> <B>createEditor</B>()</PRE><DL><DD>Creates the editor that is to be used in editable combo boxes.  This method only gets called if a custom editor has not already been installed in the JComboBox.</DL><HR><A NAME="installComponents()"><!-- --></A><H3>installComponents</H3><PRE>protected void <B>installComponents</B>()</PRE><DL><DD>The editor and arrow button are added to the JComboBox here.</DL><HR><A NAME="uninstallComponents()"><!-- --></A><H3>uninstallComponents</H3><PRE>protected void <B>uninstallComponents</B>()</PRE><DL><DD>The editor and/or arrow button are removed from the JComboBox here. This method calls removeAll() on the JComboBox just to make sure that everything gets removed.</DL><HR><A NAME="addEditor()"><!-- --></A><H3>addEditor</H3><PRE>public void <B>addEditor</B>()</PRE><DL><DD>Adds the editor to the JComboBox.</DL><HR><A NAME="removeEditor()"><!-- --></A><H3>removeEditor</H3><PRE>public void <B>removeEditor</B>()</PRE><DL><DD>Removes the editor from the JComboBox.  It also calls unconfigureEditor()</DL><HR><A NAME="configureEditor()"><!-- --></A><H3>configureEditor</H3><PRE>protected void <B>configureEditor</B>()</PRE><DL><DD>Configures the editor by setting its font and adding listeners.</DL><HR><A NAME="unconfigureEditor()"><!-- --></A><H3>unconfigureEditor</H3><PRE>protected void <B>unconfigureEditor</B>()</PRE><DL><DD>Unconfigures the editor by removing listeners.</DL><HR><A NAME="configureArrowButton()"><!-- --></A><H3>configureArrowButton</H3><PRE>public void <B>configureArrowButton</B>()</PRE><DL><DD>Configures the arrow button by adding listeners.</DL><HR><A NAME="unconfigureArrowButton()"><!-- --></A><H3>unconfigureArrowButton</H3><PRE>public void <B>unconfigureArrowButton</B>()</PRE><DL><DD>Unconfigures the arrow button by removing listeners.</DL><HR><A NAME="createArrowButton()"><!-- --></A><H3>createArrowButton</H3><PRE>protected <A HREF="../../../../javax/swing/JButton.html">JButton</A> <B>createArrowButton</B>()</PRE><DL><DD>Creates the arrow button.  Subclasses can create any button they like. The default behavior of this class is to attach various listeners to the button returned by this method. Returns an instance of BasicArrowButton.</DL><HR><A NAME="isPopupVisible(javax.swing.JComboBox)"><!-- --></A><H3>isPopupVisible</H3>

⌨️ 快捷键说明

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