java.awt.event.MouseWheelListener
, java.util.EventListener
class PDControlScrollPane.PDMouseWheelListener
extends java.lang.Object
implements java.awt.event.MouseWheelListener
Modifier and Type | Field | Description |
---|---|---|
private javax.swing.JScrollBar |
bar |
|
private javax.swing.JScrollPane |
parentScrollPane |
|
private int |
previousValue |
Constructor | Description |
---|---|
PDMouseWheelListener() |
Modifier and Type | Method | Description |
---|---|---|
private java.awt.event.MouseWheelEvent |
cloneEvent(java.awt.event.MouseWheelEvent e) |
|
private int |
getMax() |
|
private javax.swing.JScrollPane |
getParentScrollPane() |
|
void |
mouseWheelMoved(java.awt.event.MouseWheelEvent e) |
private javax.swing.JScrollBar bar
private int previousValue
private javax.swing.JScrollPane parentScrollPane
private javax.swing.JScrollPane getParentScrollPane()
public void mouseWheelMoved(java.awt.event.MouseWheelEvent e)
mouseWheelMoved
in interface java.awt.event.MouseWheelListener
private int getMax()
private java.awt.event.MouseWheelEvent cloneEvent(java.awt.event.MouseWheelEvent e)