public interface ScrollbarView
| Modifier and Type | Method | Description |
|---|---|---|
int |
filter(int pixelX,
int pixelY) |
Filter the correct value for the given view (horizontal or vertical) from the given mouse coordinates.
|
int |
getAreaSize() |
Get the size of the Scrollbar area.
|
int |
getMinHandleSize() |
Returns the minimum size this View can show the handle without distortion.
|
void |
setHandle(int pos,
int size) |
Set the position and the size of the handle.
|
void |
valueChanged(float value) |
That's a callback that is called when the value has been changed.
|
int getAreaSize()
int getMinHandleSize()
void setHandle(int pos,
int size)
pos - positionsize - sizevoid valueChanged(float value)
value - the new valueint filter(int pixelX,
int pixelY)
pixelX - x positionpixelY - y positionCopyright © 2018. All rights reserved.