uic.themes
Class UICComboBoxUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.ComboBoxUI
javax.swing.plaf.basic.BasicComboBoxUI
javax.swing.plaf.metal.MetalComboBoxUI
uic.themes.UICComboBoxUI
- public class UICComboBoxUI
- extends MetalComboBoxUI
Needed to give the ComboBox it's original behaviour back after adding the UICListUI for lists.
Fields inherited from class javax.swing.plaf.basic.BasicComboBoxUI |
arrowButton, cachedMinimumSize, comboBox, currentValuePane, editor, focusListener, hasFocus, isMinimumSizeDirty, itemListener, keyListener, listBox, listDataListener, popup, popupKeyListener, popupMouseListener, popupMouseMotionListener, propertyChangeListener |
Methods inherited from class javax.swing.plaf.basic.BasicComboBoxUI |
addEditor, configureArrowButton, createFocusListener, createItemListener, createKeyListener, createListDataListener, createRenderer, getAccessibleChild, getAccessibleChildrenCount, getDefaultSize, getDisplaySize, getInsets, installComponents, installDefaults, installKeyboardActions, installListeners, isFocusTraversable, isNavigationKey, isPopupVisible, paintCurrentValue, paintCurrentValueBackground, rectangleForCurrentValue, removeEditor, selectNextPossibleValue, selectPreviousPossibleValue, toggleOpenClose, unconfigureArrowButton, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UICComboBoxUI
protected UICComboBoxUI()
createUI
public static ComponentUI createUI(JComponent list)
createArrowButton
protected JButton createArrowButton()
installUI
public void installUI(JComponent c)
- Override to :
overwrite the currentValuePane to change opaque of a component in the paintComponent of the CellRendererPane
change the keymanager, for sorting
set the ui of the listbox to the default ui, otherwise making a selection will fail
setPopupVisible
public void setPopupVisible(JComboBox c,
boolean v)
getPreferredSize
public Dimension getPreferredSize(JComponent c)
getMaximumSize
public Dimension getMaximumSize(JComponent c)
getMinimumSize
public Dimension getMinimumSize(JComponent c)
Copyright © 2002,2003 Thomas Zander Available under the Free Apache licence