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.metal.MetalComboBoxUI | 
configureEditor, createEditor, createLayoutManager, createPropertyChangeListener, editablePropertyChanged, layoutComboBox, paint, paintCurrentValue, paintCurrentValueBackground, removeListeners, unconfigureEditor | 
 
| 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, 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()
- Overrides:
 createArrowButton in class MetalComboBoxUI
 
 
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
- Overrides:
 installUI in class BasicComboBoxUI
 
 
 
setPopupVisible
public void setPopupVisible(JComboBox c,
                            boolean v)
- Overrides:
 setPopupVisible in class BasicComboBoxUI
 
 
createPopup
protected ComboPopup createPopup()
- Overrides:
 createPopup in class MetalComboBoxUI
 
 
getPreferredSize
public Dimension getPreferredSize(JComponent c)
- Overrides:
 getPreferredSize in class BasicComboBoxUI
 
 
getMaximumSize
public Dimension getMaximumSize(JComponent c)
- Overrides:
 getMaximumSize in class BasicComboBoxUI
 
 
getMinimumSize
public Dimension getMinimumSize(JComponent c)
- Overrides:
 getMinimumSize in class MetalComboBoxUI
 
 
Copyright © 2002-2004 Thomas Zander Available under the Free Apache licence