Package rma.swing.table
Class ComboBoxRenderer.TableComboBoxUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.ComboBoxUI
javax.swing.plaf.basic.BasicComboBoxUI
rma.swing.table.ComboBoxRenderer.TableComboBoxUI
- Enclosing class:
- ComboBoxRenderer
This is a new UI for the combobox because the paintCurrentValue in the Basic UI sets the backgrounds after
it gets the rendered component. This overrides the table settings. Can't have this.
Title: CWMS Development
Description:
Copyright: Copyright (c) 2002
Company: Resource Management Associates
-
Nested Class Summary
Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicComboBoxUI
BasicComboBoxUI.ComboBoxLayoutManager, BasicComboBoxUI.FocusHandler, BasicComboBoxUI.ItemHandler, BasicComboBoxUI.KeyHandler, BasicComboBoxUI.ListDataHandler, BasicComboBoxUI.PropertyChangeHandler
-
Field Summary
Fields inherited from class javax.swing.plaf.basic.BasicComboBoxUI
arrowButton, cachedMinimumSize, comboBox, currentValuePane, editor, focusListener, hasFocus, isMinimumSizeDirty, itemListener, keyListener, listBox, listDataListener, padding, popup, popupKeyListener, popupMouseListener, popupMouseMotionListener, propertyChangeListener, squareButton
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected JButton
void
paintCurrentValue
(Graphics g, Rectangle bounds, boolean hasFocus) Paints the currently selected item.Methods inherited from class javax.swing.plaf.basic.BasicComboBoxUI
addEditor, configureArrowButton, configureEditor, createEditor, createFocusListener, createItemListener, createKeyListener, createLayoutManager, createListDataListener, createPopup, createPropertyChangeListener, createRenderer, createUI, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getDefaultSize, getDisplaySize, getInsets, getMaximumSize, getMinimumSize, getPreferredSize, getSizeForComponent, installComponents, installDefaults, installKeyboardActions, installListeners, installUI, isFocusTraversable, isNavigationKey, isPopupVisible, paint, paintCurrentValueBackground, rectangleForCurrentValue, removeEditor, selectNextPossibleValue, selectPreviousPossibleValue, setPopupVisible, toggleOpenClose, unconfigureArrowButton, unconfigureEditor, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI
Methods inherited from class javax.swing.plaf.ComponentUI
contains, update
-
Constructor Details
-
TableComboBoxUI
public TableComboBoxUI()
-
-
Method Details
-
paintCurrentValue
Paints the currently selected item.- Overrides:
paintCurrentValue
in classBasicComboBoxUI
-
createArrowButton
- Overrides:
createArrowButton
in classBasicComboBoxUI
-