public class UIBasicComboBoxUI
extends javax.swing.plaf.basic.BasicComboBoxUI
限定符和类型 | 类和说明 |
---|---|
class |
UIBasicComboBoxUI.MetalComboPopup
已过时。
As of Java 2 platform v1.4.
|
class |
UIBasicComboBoxUI.TinyComboBoxLayoutManager
This inner class is marked "public" due to a compiler bug.
|
class |
UIBasicComboBoxUI.TinyPropertyChangeListener
This inner class is marked "public" due to a compiler bug.
|
javax.swing.plaf.basic.BasicComboBoxUI.ComboBoxLayoutManager, javax.swing.plaf.basic.BasicComboBoxUI.FocusHandler, javax.swing.plaf.basic.BasicComboBoxUI.ItemHandler, javax.swing.plaf.basic.BasicComboBoxUI.KeyHandler, javax.swing.plaf.basic.BasicComboBoxUI.ListDataHandler, javax.swing.plaf.basic.BasicComboBoxUI.PropertyChangeHandler
限定符和类型 | 字段和说明 |
---|---|
protected java.awt.Dimension |
cachedDisplaySize |
protected boolean |
isDisplaySizeDirty |
arrowButton, cachedMinimumSize, comboBox, currentValuePane, editor, focusListener, hasFocus, isMinimumSizeDirty, itemListener, keyListener, listBox, listDataListener, padding, popup, popupKeyListener, popupMouseListener, popupMouseMotionListener, propertyChangeListener, squareButton
构造器和说明 |
---|
UIBasicComboBoxUI() |
限定符和类型 | 方法和说明 |
---|---|
protected javax.swing.JButton |
createArrowButton() |
protected javax.swing.ComboBoxEditor |
createEditor() |
protected java.awt.LayoutManager |
createLayoutManager() |
protected javax.swing.plaf.basic.ComboPopup |
createPopup() |
java.beans.PropertyChangeListener |
createPropertyChangeListener()
创建监听
|
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent c)
创建UI
|
protected void |
editablePropertyChanged(java.beans.PropertyChangeEvent e)
已过时。
As of Java 2 platform v1.4.
|
protected java.awt.Dimension |
getDisplaySize()
Copied from BasicComboBoxUI, because isDisplaySizeDirty was declared private!?
|
java.awt.Dimension |
getMinimumSize(javax.swing.JComponent c) |
java.awt.Dimension |
getSizeForComponent(java.awt.Component comp) |
protected void |
installComponents() |
void |
paint(java.awt.Graphics g,
javax.swing.JComponent c) |
protected java.awt.Rectangle |
rectangleForCurrentValue2() |
protected void |
removeListeners()
已过时。
As of Java 2 platform v1.4.
|
addEditor, configureArrowButton, configureEditor, createFocusListener, createItemListener, createKeyListener, createListDataListener, createRenderer, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getDefaultSize, getInsets, getMaximumSize, getPreferredSize, installDefaults, installKeyboardActions, installListeners, installUI, isFocusTraversable, isNavigationKey, isPopupVisible, paintCurrentValue, paintCurrentValueBackground, rectangleForCurrentValue, removeEditor, selectNextPossibleValue, selectPreviousPossibleValue, setPopupVisible, toggleOpenClose, unconfigureArrowButton, unconfigureEditor, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI
protected boolean isDisplaySizeDirty
protected java.awt.Dimension cachedDisplaySize
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
c
- 组件public void paint(java.awt.Graphics g, javax.swing.JComponent c)
paint
在类中 javax.swing.plaf.basic.BasicComboBoxUI
protected javax.swing.ComboBoxEditor createEditor()
createEditor
在类中 javax.swing.plaf.basic.BasicComboBoxUI
protected javax.swing.plaf.basic.ComboPopup createPopup()
createPopup
在类中 javax.swing.plaf.basic.BasicComboBoxUI
protected javax.swing.JButton createArrowButton()
createArrowButton
在类中 javax.swing.plaf.basic.BasicComboBoxUI
protected void installComponents()
installComponents
在类中 javax.swing.plaf.basic.BasicComboBoxUI
public java.beans.PropertyChangeListener createPropertyChangeListener()
createPropertyChangeListener
在类中 javax.swing.plaf.basic.BasicComboBoxUI
protected void editablePropertyChanged(java.beans.PropertyChangeEvent e)
protected java.awt.LayoutManager createLayoutManager()
createLayoutManager
在类中 javax.swing.plaf.basic.BasicComboBoxUI
protected java.awt.Rectangle rectangleForCurrentValue2()
protected void removeListeners()
public java.awt.Dimension getMinimumSize(javax.swing.JComponent c)
getMinimumSize
在类中 javax.swing.plaf.basic.BasicComboBoxUI
c
- the combo boxprotected java.awt.Dimension getDisplaySize()
getDisplaySize
在类中 javax.swing.plaf.basic.BasicComboBoxUI
JComboBox.setPrototypeDisplayValue(E)
public java.awt.Dimension getSizeForComponent(java.awt.Component comp)
getSizeForComponent
在类中 javax.swing.plaf.basic.BasicComboBoxUI