org.jvnet.substance
Class SubstanceComboBoxUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.ComboBoxUI
          extended by javax.swing.plaf.basic.BasicComboBoxUI
              extended by org.jvnet.substance.SubstanceComboBoxUI

public class SubstanceComboBoxUI
extends BasicComboBoxUI

UI for combo boxes in Substance look and feel.

Author:
Kirill Grouchnikov

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
static Icon COMBO_ARROW
          Combobox button arrow.
 
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
SubstanceComboBoxUI()
           
 
Method Summary
protected  JButton createArrowButton()
           
protected  LayoutManager createLayoutManager()
           
protected  ListCellRenderer createRenderer()
           
static ComponentUI createUI(JComponent b)
           
 Dimension getPreferredSize(JComponent c)
           
 
Methods inherited from class javax.swing.plaf.basic.BasicComboBoxUI
addEditor, configureArrowButton, configureEditor, createEditor, createFocusListener, createItemListener, createKeyListener, createListDataListener, createPopup, createPropertyChangeListener, getAccessibleChild, getAccessibleChildrenCount, getDefaultSize, getDisplaySize, getInsets, getMaximumSize, getMinimumSize, installComponents, installDefaults, installKeyboardActions, installListeners, installUI, isFocusTraversable, isNavigationKey, isPopupVisible, paint, paintCurrentValue, paintCurrentValueBackground, rectangleForCurrentValue, removeEditor, selectNextPossibleValue, selectPreviousPossibleValue, setPopupVisible, toggleOpenClose, unconfigureArrowButton, unconfigureEditor, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, 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
 

Field Detail

COMBO_ARROW

public static final Icon COMBO_ARROW
Combobox button arrow.

Constructor Detail

SubstanceComboBoxUI

public SubstanceComboBoxUI()
Method Detail

createUI

public static ComponentUI createUI(JComponent b)

createArrowButton

protected JButton createArrowButton()
Overrides:
createArrowButton in class BasicComboBoxUI

createRenderer

protected ListCellRenderer createRenderer()
Overrides:
createRenderer in class BasicComboBoxUI

createLayoutManager

protected LayoutManager createLayoutManager()
Overrides:
createLayoutManager in class BasicComboBoxUI

getPreferredSize

public Dimension getPreferredSize(JComponent c)
Overrides:
getPreferredSize in class BasicComboBoxUI