Class ComboBoxRenderer<E>

    • Constructor Detail

      • ComboBoxRenderer

        public ComboBoxRenderer​(E[] items)
    • Method Detail

      • createComboBoxRenderer

        public static <E extends org.bidib.wizard.model.status.BidibStatus> ComboBoxRenderer<E> createComboBoxRenderer​(E[] items,
                                                                                                                       String resourceClazz)
      • setForeground

        public void setForeground​(Color c)
        Overrides JComponent.setForeground to assign the unselected-foreground color to the specified color.
        Overrides:
        setForeground in class JComponent
        Parameters:
        c - set the foreground color to this value
      • setBackground

        public void setBackground​(Color c)
        Overrides JComponent.setBackground to assign the unselected-background color to the specified color.
        Overrides:
        setBackground in class JComponent
        Parameters:
        c - set the background color to this value
      • updateUI

        public void updateUI()
        Notification from the UIManager that the look and feel [L&F] has changed. Replaces the current UI object with the latest version from the UIManager.
        Overrides:
        updateUI in class JComboBox<E>
        See Also:
        JComponent.updateUI()