org.tentackle.plaf.tinylaf
Class TTinyComboBoxUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.ComboBoxUI
          extended by javax.swing.plaf.basic.BasicComboBoxUI
              extended by de.muntjak.tinylookandfeel.TinyComboBoxUI
                  extended by org.tentackle.plaf.tinylaf.TTinyComboBoxUI

public class TTinyComboBoxUI
extends de.muntjak.tinylookandfeel.TinyComboBoxUI

UI for JComboBox/FormComboBox/FormFieldComboBox.

Author:
harald

Nested Class Summary
 
Nested classes/interfaces inherited from class de.muntjak.tinylookandfeel.TinyComboBoxUI
de.muntjak.tinylookandfeel.TinyComboBoxUI.TinyComboBoxLayoutManager, de.muntjak.tinylookandfeel.TinyComboBoxUI.TinyPropertyChangeListener
 
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 de.muntjak.tinylookandfeel.TinyComboBoxUI
cachedDisplaySize, isDisplaySizeDirty
 
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
 
Constructor Summary
TTinyComboBoxUI()
           
 
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 de.muntjak.tinylookandfeel.TinyComboBoxUI
createArrowButton, createEditor, createLayoutManager, createPropertyChangeListener, editablePropertyChanged, getDisplaySize, getMinimumSize, installComponents, paint, rectangleForCurrentValue2, removeListeners
 
Methods inherited from class javax.swing.plaf.basic.BasicComboBoxUI
addEditor, configureArrowButton, configureEditor, createFocusListener, createItemListener, createKeyListener, createListDataListener, createRenderer, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getDefaultSize, getInsets, getMaximumSize, getPreferredSize, installDefaults, installKeyboardActions, installUI, isFocusTraversable, isNavigationKey, isPopupVisible, paintCurrentValue, paintCurrentValueBackground, rectangleForCurrentValue, removeEditor, selectNextPossibleValue, selectPreviousPossibleValue, setPopupVisible, toggleOpenClose, unconfigureArrowButton, unconfigureEditor, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallUI
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TTinyComboBoxUI

public TTinyComboBoxUI()
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 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 BasicComboBoxUI
Returns:
an instance of ComboPopup
See Also:
ComboPopup


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