Class ComboBoxMouseWheelListener

    • Method Detail

      • create

        public static <T> MouseWheelListener create​(ComboBoxModel<T> comboBoxModel)
        Instantiates a new mouse wheel listener for the given combo box model
        Type Parameters:
        T - the combo box value type
        Parameters:
        comboBoxModel - the combo box model
        Returns:
        a new MouseWheelListener based on the given model
      • createWithWrapAround

        public static <T> MouseWheelListener createWithWrapAround​(ComboBoxModel<T> comboBoxModel)
        Instantiates a new mouse wheel listener with wrap-around for the given combo box model
        Type Parameters:
        T - the combo box value type
        Parameters:
        comboBoxModel - the combo box model
        Returns:
        a new MouseWheelListener based on the given model