org.tentackle.plaf.tmetal
Class TMetalComboBoxUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.ComboBoxUI
javax.swing.plaf.basic.BasicComboBoxUI
javax.swing.plaf.metal.MetalComboBoxUI
org.tentackle.plaf.tmetal.TMetalComboBoxUI
public class TMetalComboBoxUI
- extends MetalComboBoxUI
UI for JComboBox/FormComboBox/FormFieldComboBox.
- Author:
- harald
| 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, createArrowButton, createEditor, createLayoutManager, createPropertyChangeListener, editablePropertyChanged, getBaseline, getMinimumSize, layoutComboBox, paint, paintCurrentValue, paintCurrentValueBackground, removeListeners, unconfigureEditor |
| Methods inherited from class javax.swing.plaf.basic.BasicComboBoxUI |
addEditor, configureArrowButton, createFocusListener, createItemListener, createKeyListener, createListDataListener, createRenderer, getAccessibleChild, getAccessibleChildrenCount, getBaselineResizeBehavior, getDefaultSize, getDisplaySize, getInsets, getMaximumSize, getPreferredSize, installComponents, installDefaults, installKeyboardActions, installUI, isFocusTraversable, isNavigationKey, isPopupVisible, rectangleForCurrentValue, removeEditor, selectNextPossibleValue, selectPreviousPossibleValue, setPopupVisible, toggleOpenClose, unconfigureArrowButton, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallUI |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TMetalComboBoxUI
public TMetalComboBoxUI()
createUI
public static ComponentUI createUI(JComponent c)
installListeners
protected void installListeners()
- Description copied from class:
javax.swing.plaf.basic.BasicComboBoxUI
- Create and install the listeners for the combo box and its model.
This method is called when the UI is installed.
- Overrides:
installListeners in class BasicComboBoxUI
uninstallListeners
protected void uninstallListeners()
- Description copied from class:
javax.swing.plaf.basic.BasicComboBoxUI
- Remove the installed listeners from the combo box and its model.
The number and types of listeners removed and in this method should be
the same that was added in
installListeners
- Overrides:
uninstallListeners in class BasicComboBoxUI
createPopup
protected ComboPopup createPopup()
- Overridden to install special popup that recognizes
FormComboBoxRenderer.
- Overrides:
createPopup in class MetalComboBoxUI
- Returns:
- an instance of
ComboPopup - See Also:
ComboPopup
Copyright © 2001-2008 Harald Krake, Bergstr. 48, 78098 Triberg, Germany, harald@krake.de