public interface Scrollable
Modifier and Type | Method and Description |
---|---|
void |
bigHorizontalDecrement()
Perform a big step change left.
|
void |
bigHorizontalIncrement()
Perform a big step change right.
|
void |
bigVerticalDecrement()
Perform a big step change up.
|
void |
bigVerticalIncrement()
Perform a big step change down.
|
int |
getBottomValue()
Get the value that corresponds to being on the bottom edge of the
vertical scroll bar.
|
int |
getHorizontalBigChange()
Get the increment for clicking in the bar between the box and an
arrow on the horizontal scrollbar.
|
THScroller |
getHorizontalScroller()
Get the horizontal scrollbar, or null if this Viewport does not
support horizontal scrolling.
|
int |
getHorizontalSmallChange()
Get the increment for clicking on an arrow on the horizontal
scrollbar.
|
int |
getHorizontalValue()
Get current value of the horizontal scroll.
|
int |
getLeftValue()
Get the value that corresponds to being on the left edge of the
horizontal scroll bar.
|
int |
getRightValue()
Get the value that corresponds to being on the right edge of the
horizontal scroll bar.
|
int |
getTopValue()
Get the value that corresponds to being on the top edge of the
vertical scroll bar.
|
int |
getVerticalBigChange()
Get the increment for clicking in the bar between the box and an
arrow on the vertical scrollbar.
|
TVScroller |
getVerticalScroller()
Get the vertical scrollbar, or null if this Viewport does not support
vertical scrolling.
|
int |
getVerticalSmallChange()
Get the increment for clicking on an arrow on the vertical scrollbar.
|
int |
getVerticalValue()
Get current value of the vertical scroll.
|
void |
horizontalDecrement()
Perform a small step change left.
|
void |
horizontalIncrement()
Perform a small step change right.
|
void |
setBottomValue(int bottomValue)
Set the value that corresponds to being on the bottom edge of the
vertical scroll bar.
|
void |
setHorizontalBigChange(int bigChange)
Set the increment for clicking in the bar between the box and an
arrow on the horizontal scrollbar.
|
void |
setHorizontalSmallChange(int smallChange)
Set the increment for clicking on an arrow on the horizontal
scrollbar.
|
void |
setHorizontalValue(int value)
Set current value of the horizontal scroll.
|
void |
setLeftValue(int leftValue)
Set the value that corresponds to being on the left edge of the
horizontal scroll bar.
|
void |
setRightValue(int rightValue)
Set the value that corresponds to being on the right edge of the
horizontal scroll bar.
|
void |
setTopValue(int topValue)
Set the value that corresponds to being on the top edge of the
vertical scroll bar.
|
void |
setVerticalBigChange(int bigChange)
Set the increment for clicking in the bar between the box and an
arrow on the vertical scrollbar.
|
void |
setVerticalSmallChange(int smallChange)
Set the increment for clicking on an arrow on the vertical scrollbar.
|
void |
setVerticalValue(int value)
Set current value of the vertical scroll.
|
void |
toBottom()
Go to the bottom edge of the vertical scroller.
|
void |
toEnd()
Go to the bottom-right edge of the horizontal and vertical scrollers.
|
void |
toHome()
Go to the top-left edge of the horizontal and vertical scrollers.
|
void |
toLeft()
Go to the left edge of the horizontal scroller.
|
void |
toRight()
Go to the right edge of the horizontal scroller.
|
void |
toTop()
Go to the top edge of the vertical scroller.
|
void |
verticalDecrement()
Perform a small step change up.
|
void |
verticalIncrement()
Perform a small step change down.
|
THScroller getHorizontalScroller()
TVScroller getVerticalScroller()
int getTopValue()
void setTopValue(int topValue)
topValue
- the new scroll valueint getBottomValue()
void setBottomValue(int bottomValue)
bottomValue
- the new scroll valueint getVerticalValue()
void setVerticalValue(int value)
value
- the new scroll valueint getVerticalSmallChange()
void setVerticalSmallChange(int smallChange)
smallChange
- the new increment valueint getVerticalBigChange()
void setVerticalBigChange(int bigChange)
bigChange
- the new increment valuevoid verticalDecrement()
void verticalIncrement()
void bigVerticalDecrement()
void bigVerticalIncrement()
void toTop()
void toBottom()
int getLeftValue()
void setLeftValue(int leftValue)
leftValue
- the new scroll valueint getRightValue()
void setRightValue(int rightValue)
rightValue
- the new scroll valueint getHorizontalValue()
void setHorizontalValue(int value)
value
- the new scroll valueint getHorizontalSmallChange()
void setHorizontalSmallChange(int smallChange)
smallChange
- the new increment valueint getHorizontalBigChange()
void setHorizontalBigChange(int bigChange)
bigChange
- the new increment valuevoid horizontalDecrement()
void horizontalIncrement()
void bigHorizontalDecrement()
void bigHorizontalIncrement()
void toLeft()
void toRight()
void toHome()
void toEnd()
Copyright © 2019 Kevin Lamonte. Licensed MIT.