Class HudComboBoxUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.ComboBoxUI
javax.swing.plaf.basic.BasicComboBoxUI
com.explodingpixels.macwidgets.plaf.HudComboBoxUI
Creates a Heads Up Display (HUD) style combo box, similar to that seen in various iApps (e.g.
iPhoto).


-
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
ConstructorsConstructorDescriptionCreates a HUD styleComboBoxUI.HudComboBoxUI(boolean isDarkColorScheme) Creates a HUD styleComboBoxUI. -
Method Summary
Modifier and TypeMethodDescriptionprotected JButtonprotected LayoutManagerprotected ComboPopupprotected ListCellRendererprotected Dimensionprotected Dimensionprotected voidprotected voidprotected voidvoidpaint(Graphics g, JComponent c) voidpaintCurrentValue(Graphics g, Rectangle bounds, boolean hasFocus) protected voidprotected voidMethods inherited from class javax.swing.plaf.basic.BasicComboBoxUI
addEditor, configureArrowButton, configureEditor, createEditor, createFocusListener, createItemListener, createKeyListener, createListDataListener, createPropertyChangeListener, createUI, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getInsets, getMaximumSize, getPreferredSize, getSizeForComponent, installKeyboardActions, installUI, isFocusTraversable, isNavigationKey, isPopupVisible, paintCurrentValueBackground, rectangleForCurrentValue, removeEditor, selectNextPossibleValue, selectPreviousPossibleValue, setPopupVisible, toggleOpenClose, unconfigureArrowButton, unconfigureEditor, uninstallComponents, uninstallKeyboardActions, uninstallUIMethods inherited from class javax.swing.plaf.ComponentUI
contains, update
-
Constructor Details
-
HudComboBoxUI
public HudComboBoxUI()Creates a HUD styleComboBoxUI. -
HudComboBoxUI
public HudComboBoxUI(boolean isDarkColorScheme) Creates a HUD styleComboBoxUI.
-
-
Method Details
-
installDefaults
protected void installDefaults()- Overrides:
installDefaultsin classBasicComboBoxUI
-
installListeners
protected void installListeners()- Overrides:
installListenersin classBasicComboBoxUI
-
uninstallListeners
protected void uninstallListeners()- Overrides:
uninstallListenersin classBasicComboBoxUI
-
uninstallDefaults
protected void uninstallDefaults()- Overrides:
uninstallDefaultsin classBasicComboBoxUI
-
installComponents
protected void installComponents()- Overrides:
installComponentsin classBasicComboBoxUI
-
createArrowButton
- Overrides:
createArrowButtonin classBasicComboBoxUI
-
createRenderer
- Overrides:
createRendererin classBasicComboBoxUI
-
createPopup
- Overrides:
createPopupin classBasicComboBoxUI
-
getMinimumSize
- Overrides:
getMinimumSizein classBasicComboBoxUI
-
getDefaultSize
- Overrides:
getDefaultSizein classBasicComboBoxUI
-
paint
- Overrides:
paintin classBasicComboBoxUI
-
paintCurrentValue
- Overrides:
paintCurrentValuein classBasicComboBoxUI
-
getDisplaySize
- Overrides:
getDisplaySizein classBasicComboBoxUI
-
createLayoutManager
- Overrides:
createLayoutManagerin classBasicComboBoxUI
-