public class ScrollBar.ScrollControl extends TreeHotSpot
| Modifier and Type | Field and Description |
|---|---|
protected String |
adjustment |
protected ScrollBar |
scrollBar |
parentactive| 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.
|
mouseWheelMovedgetCursor, isActive, isConsumed, keyPressed, keyReleased, keyTyped, mouseDragged, mouseEntered, mouseExited, mouseMovedaddPropertyChangeListener, 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, setValuespublic void mouseClicked(MouseEvent event)
TreeHotSpotmouseClicked in interface HotSpotmouseClicked in interface MouseListenermouseClicked in class TreeHotSpotevent - The event to handle.public void mousePressed(MouseEvent event)
TreeHotSpotmousePressed in interface HotSpotmousePressed in interface MouseListenermousePressed in class TreeHotSpotevent - The event to handle.public void mouseReleased(MouseEvent event)
TreeHotSpotmouseReleased in interface HotSpotmouseReleased in interface MouseListenermouseReleased in class TreeHotSpotevent - The event to handle.public void selected(SelectEvent event)
TreeHotSpotselected in interface SelectListenerselected in interface HotSpotselected in class TreeHotSpotevent - The event to handle.public void setActive(boolean active)
setActive in interface HotSpotsetActive in class AbstractHotSpotactive - true if the scrollbar is being activated, false if the scrollbar is being
deactivated.