|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ScrollbarView
The ScrollbarView is used to update the visual representation of the scrollbar.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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 position
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |