protected class UIScrollBarUI.TrackListener
extends java.awt.event.MouseAdapter
implements java.awt.event.MouseMotionListener
限定符和类型 | 字段和说明 |
---|---|
protected int |
currentMouseX |
protected int |
currentMouseY |
protected int |
offset |
限定符 | 构造器和说明 |
---|---|
protected |
UIScrollBarUI.TrackListener() |
限定符和类型 | 方法和说明 |
---|---|
void |
mouseDragged(java.awt.event.MouseEvent e) |
void |
mousePressed(java.awt.event.MouseEvent e)
If the mouse is pressed above the "thumb" component then reduce the
scrollbars value by one page ("page up"), otherwise increase it by
one page.
|
void |
mouseReleased(java.awt.event.MouseEvent e) |
mouseClicked, mouseEntered, mouseExited, mouseMoved, mouseWheelMoved
protected transient int offset
protected transient int currentMouseX
protected transient int currentMouseY
public void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased
在接口中 java.awt.event.MouseListener
mouseReleased
在类中 java.awt.event.MouseAdapter
public void mousePressed(java.awt.event.MouseEvent e)
mousePressed
在接口中 java.awt.event.MouseListener
mousePressed
在类中 java.awt.event.MouseAdapter
public void mouseDragged(java.awt.event.MouseEvent e)
mouseDragged
在接口中 java.awt.event.MouseMotionListener
mouseDragged
在类中 java.awt.event.MouseAdapter