MouseWhellEvent:Method Summary:int getScrollAmount() Return the number of units that should be scrolled in response to this event ------------------------ int getScrollType() Returns the type of scrolling that should take place in response to this event ------------------------ int getUnitsToScroll() This is a convenience method to aid in the implementation of the common-case MouseWheelListener - to scroll a ScrollPane or JScrollPane by an amount which conforms to the platform settings ------------------------ int getWheelRotation() Returns the number of "clicks" the mouse wheel was rotated. ------------------------ String paramString() Returns a parameter string identifying this event.
MouseWheelListener:Method Summary:mouseWheelMoved(MouseWheelEvent e) Invoked when the mouse wheel is rotated.
哪里有函数手册查询?
Return the number of units that should be scrolled in response to this event
------------------------
int getScrollType()
Returns the type of scrolling that should take place in response to this event
------------------------
int getUnitsToScroll()
This is a convenience method to aid in the implementation of the common-case MouseWheelListener - to scroll a ScrollPane or JScrollPane by an amount which conforms to the platform settings
------------------------
int getWheelRotation()
Returns the number of "clicks" the mouse wheel was rotated.
------------------------
String paramString()
Returns a parameter string identifying this event.
Invoked when the mouse wheel is rotated.