org.tentackle.plaf.tlooks
Class TLooksComboBoxUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.ComboBoxUI
          extended by javax.swing.plaf.basic.BasicComboBoxUI
              extended by javax.swing.plaf.metal.MetalComboBoxUI
                  extended by com.jgoodies.looks.plastic.PlasticComboBoxUI
                      extended by org.tentackle.plaf.tlooks.TLooksComboBoxUI

public class TLooksComboBoxUI
extends com.jgoodies.looks.plastic.PlasticComboBoxUI

UI for JComboBox/FormComboBox/FormFieldComboBox.

Author:
harald

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.plaf.metal.MetalComboBoxUI
MetalComboBoxUI.MetalComboBoxLayoutManager, MetalComboBoxUI.MetalComboPopup, MetalComboBoxUI.MetalPropertyChangeListener
 
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, popup, popupKeyListener, popupMouseListener, popupMouseMotionListener
 
Constructor Summary
TLooksComboBoxUI()
           
 
Method Summary
protected  ComboPopup createPopup()
          Overridden to install special popup that recognizes FormComboBoxRenderer.
static ComponentUI createUI(JComponent c)
           
protected  void installListeners()
          Create and install the listeners for the combo box and its model.
protected  void uninstallListeners()
          Remove the installed listeners from the combo box and its model.
 
Methods inherited from class com.jgoodies.looks.plastic.PlasticComboBoxUI
createArrowButton, createEditor, createLayoutManager, createPropertyChangeListener, createRenderer, getMinimumSize, getPreferredSize, installUI, isToolBarComboBox, rectangleForCurrentValue, update
 
Methods inherited from class javax.swing.plaf.metal.MetalComboBoxUI
configureEditor, editablePropertyChanged, getBaseline, layoutComboBox, paint, paintCurrentValue, paintCurrentValueBackground, removeListeners, unconfigureEditor
 
Methods inherited from class javax.swing.plaf.basic.BasicComboBoxUI
addEditor, configureArrowButton, createFocusListener, createItemListener, createKeyListener, createListDataListener, getAccessibleChild, getAccessibleChildrenCount, getBaselineResizeBehavior, getDefaultSize, getDisplaySize, getInsets, getMaximumSize, installComponents, installDefaults, installKeyboardActions, isFocusTraversable, isNavigationKey, isPopupVisible, removeEditor, selectNextPossibleValue, selectPreviousPossibleValue, setPopupVisible, toggleOpenClose, unconfigureArrowButton, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallUI
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TLooksComboBoxUI

public TLooksComboBoxUI()
Method Detail

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 com.jgoodies.looks.plastic.PlasticComboBoxUI

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 com.jgoodies.looks.plastic.PlasticComboBoxUI

createPopup

protected ComboPopup createPopup()
Overridden to install special popup that recognizes FormComboBoxRenderer.

Overrides:
createPopup in class com.jgoodies.looks.plastic.PlasticComboBoxUI
Returns:
an instance of ComboPopup
See Also:
ComboPopup


Copyright © 2001-2008 Harald Krake, Bergstr. 48, 78098 Triberg, Germany, harald@krake.de