Package org.dwcj.interfaces
Interface HasMouseWheelCondition
- All Known Implementing Classes:
ListBox,NumericBoxSpinner,Slider,TextArea,TextComboBox
public interface HasMouseWheelCondition
On applicable controls, creates enum which
helps facilitate underlying BBj constant integers for scroll wheel
behavior to legible enum values, and facilitates implementation of methods
to interact with this behavior.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiongetScrollWheelBehavior returns a constant indicating under what situations the control will respond to the mouse scroll wheel.setScrollWheelBehavior configures under what situations the control will respond to the mouse scroll wheel.
-
Method Details
-
getScrollWheelBehavior
HasMouseWheelCondition.MouseWheelCondition getScrollWheelBehavior()getScrollWheelBehavior returns a constant indicating under what situations the control will respond to the mouse scroll wheel.- Returns:
- Enum value of scroll behavior
-
setScrollWheelBehavior
setScrollWheelBehavior configures under what situations the control will respond to the mouse scroll wheel.- Parameters:
condition- Enum value for desired behavior- Returns:
- The control itself
-