public class ScrollBar.ScrollControl extends TreeHotSpot
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
adjustment |
protected ScrollBar |
scrollBar |
parent
active
Constructor and Description |
---|
ScrollControl(HotSpot parent,
ScrollBar owner,
java.lang.String adjustment) |
Modifier and Type | Method and Description |
---|---|
void |
mouseClicked(java.awt.event.MouseEvent event)
Forwards the event to the parent HotSpot if the parent is non-null.
|
void |
mousePressed(java.awt.event.MouseEvent event)
Forwards the event to the parent HotSpot if the parent is non-null.
|
void |
mouseReleased(java.awt.event.MouseEvent event)
Forwards the event to the parent HotSpot if the parent is non-null.
|
void |
selected(SelectEvent event)
Forwards the event to the parent HotSpot if the parent is non-null.
|
void |
setActive(boolean active)
Called when this HotSpot is activated or deactivated.
|
mouseWheelMoved
getCursor, isActive, isConsumed, keyPressed, keyReleased, keyTyped, mouseDragged, mouseEntered, mouseExited, mouseMoved
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getBooleanValue, getBooleanValue, getChangeSupport, getDoubleValue, getDoubleValue, getEntries, getIntegerValue, getIntegerValue, getLongValue, getLongValue, getRestorableStateForAVPair, getStringValue, getStringValue, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
protected java.lang.String adjustment
protected ScrollBar scrollBar
public void mouseClicked(java.awt.event.MouseEvent event)
TreeHotSpot
mouseClicked
in interface HotSpot
mouseClicked
in interface java.awt.event.MouseListener
mouseClicked
in class TreeHotSpot
event
- The event to handle.public void mousePressed(java.awt.event.MouseEvent event)
TreeHotSpot
mousePressed
in interface HotSpot
mousePressed
in interface java.awt.event.MouseListener
mousePressed
in class TreeHotSpot
event
- The event to handle.public void mouseReleased(java.awt.event.MouseEvent event)
TreeHotSpot
mouseReleased
in interface HotSpot
mouseReleased
in interface java.awt.event.MouseListener
mouseReleased
in class TreeHotSpot
event
- The event to handle.public void selected(SelectEvent event)
TreeHotSpot
selected
in interface SelectListener
selected
in interface HotSpot
selected
in class TreeHotSpot
event
- The event to handle.public void setActive(boolean active)
Overridden to stop autoscroll operations when the scrollbar becomes inactive.
setActive
in interface HotSpot
setActive
in class AbstractHotSpot
active
- true
if the scrollbar is being activated, false
if the scrollbar is being
deactivated.