All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, MenuElement, ComboPopup

public class RadianceComboPopup extends BasicComboPopup
Combo popup implementation in Radiance look-and-feel. This class is for internal use only.
See Also:
  • Constructor Details

    • RadianceComboPopup

      public RadianceComboPopup(JComboBox<Object> combo)
      Creates combo popup for the specified combobox.
      Parameters:
      combo - Combobox.
  • Method Details

    • configurePopup

      protected void configurePopup()
      Overrides:
      configurePopup in class BasicComboPopup
    • setListSelection

      private void setListSelection(int selectedIndex)
      Sets the list selection index to the selectedIndex. This method is used to synchronize the list selection with the combo box selection.
      Parameters:
      selectedIndex - the index to set the list
    • getPopupLocation

      private Point getPopupLocation()
      Calculates the upper left location of the popup.
      Returns:
      The upper left location of the popup.
    • computePopupBounds

      protected Rectangle computePopupBounds(int px, int py, int pw, int ph)
      Overrides:
      computePopupBounds in class BasicComboPopup
    • show

      public void show()
      Specified by:
      show in interface ComboPopup
      Overrides:
      show in class BasicComboPopup
    • hide

      public void hide()
      Specified by:
      hide in interface ComboPopup
      Overrides:
      hide in class BasicComboPopup
    • getCombobox

      public JComboBox<Object> getCombobox()