Class ComboBoxBumper

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class ComboBoxBumper extends JPanel
Icon providing arrows to cycle the value of a JComboBox up or down. This allows you to cycle through the combo box elements using only one click at a time.
Since:
10 Nov 2005
Author:
Mark Taylor
See Also:
  • Field Details

    • DEC_ICON

      public static Icon DEC_ICON
      Icon for decrement button.
    • INC_ICON

      public static Icon INC_ICON
      Icon for increment button.
  • Constructor Details

    • ComboBoxBumper

      public ComboBoxBumper(JComboBox<?> comboBox)
      Constructs a new bumper based on a given combo box.
      Parameters:
      comboBox - the combo box this will operate on
  • Method Details