public class ScrollBar.ScrollControl extends TreeHotSpot
Modifier and Type | Field and Description |
---|---|
protected String |
adjustment |
protected ScrollBar |
scrollBar |
parent
active
Constructor and Description |
---|
ScrollControl(HotSpot parent,
ScrollBar owner,
String adjustment) |
Modifier and Type | Method and Description |
---|---|
void |
mouseClicked(MouseEvent event)
Forwards the event to the parent HotSpot if the parent is non-null.
|
void |
mousePressed(MouseEvent event)
Forwards the event to the parent HotSpot if the parent is non-null.
|
void |
mouseReleased(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
public void mouseClicked(MouseEvent event)
TreeHotSpot
mouseClicked
in interface HotSpot
mouseClicked
in interface MouseListener
mouseClicked
in class TreeHotSpot
event
- The event to handle.public void mousePressed(MouseEvent event)
TreeHotSpot
mousePressed
in interface HotSpot
mousePressed
in interface MouseListener
mousePressed
in class TreeHotSpot
event
- The event to handle.public void mouseReleased(MouseEvent event)
TreeHotSpot
mouseReleased
in interface HotSpot
mouseReleased
in interface 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)
setActive
in interface HotSpot
setActive
in class AbstractHotSpot
active
- true
if the scrollbar is being activated, false
if the scrollbar is being
deactivated.