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 JButton
protected LayoutManager
protected ComboPopup
protected ListCellRenderer
protected Dimension
protected Dimension
protected void
protected void
protected void
void
paint
(Graphics g, JComponent c) void
paintCurrentValue
(Graphics g, Rectangle bounds, boolean hasFocus) protected void
protected void
Methods 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, uninstallUI
Methods 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:
installDefaults
in classBasicComboBoxUI
-
installListeners
protected void installListeners()- Overrides:
installListeners
in classBasicComboBoxUI
-
uninstallListeners
protected void uninstallListeners()- Overrides:
uninstallListeners
in classBasicComboBoxUI
-
uninstallDefaults
protected void uninstallDefaults()- Overrides:
uninstallDefaults
in classBasicComboBoxUI
-
installComponents
protected void installComponents()- Overrides:
installComponents
in classBasicComboBoxUI
-
createArrowButton
- Overrides:
createArrowButton
in classBasicComboBoxUI
-
createRenderer
- Overrides:
createRenderer
in classBasicComboBoxUI
-
createPopup
- Overrides:
createPopup
in classBasicComboBoxUI
-
getMinimumSize
- Overrides:
getMinimumSize
in classBasicComboBoxUI
-
getDefaultSize
- Overrides:
getDefaultSize
in classBasicComboBoxUI
-
paint
- Overrides:
paint
in classBasicComboBoxUI
-
paintCurrentValue
- Overrides:
paintCurrentValue
in classBasicComboBoxUI
-
getDisplaySize
- Overrides:
getDisplaySize
in classBasicComboBoxUI
-
createLayoutManager
- Overrides:
createLayoutManager
in classBasicComboBoxUI
-