Package org.dwcj.interfaces
Interface Scrollable
public interface Scrollable
Interface which facilitates implementation of methods to
handle controls with scrolling behavior.
-
Method Summary
Modifier and TypeMethodDescriptionThis method returns the height of the horizontal scrollbar for a Scrollable Control.This method returns the position of the horizontal scrollbar for a Scrollable Control.This method returns the width of the horizontal scrollbar for a Scrollable Control.This method returns the height of the vertical scrollbar for a Scrollable Control.This method returns the position of the vertical scrollbar for a Scrollable Control.This method returns the width of the vertical scrollbar for a Scrollable Control.This method returns whether the horizontal scrollbar for a Scrollable Control is currently visible.This method returns whether the vertical scrollbar for a Scrollable Control is currently visible.setHorizontalScrollBarPosition(Integer position) This method sets the position of the horizontal scrollbar for a Scrollable BBjControl.setVerticalScrollBarPosition(Integer position) This method sets the position of the vertical scrollbar for a Scrollable BBjControl.
-
Method Details
-
getHorizontalScrollBarHeight
Integer getHorizontalScrollBarHeight()This method returns the height of the horizontal scrollbar for a Scrollable Control.- Returns:
- Integer height of scrollbar
-
getHorizontalScrollBarPosition
Integer getHorizontalScrollBarPosition()This method returns the position of the horizontal scrollbar for a Scrollable Control.- Returns:
- Integer horizontal position of scrollbar
-
getHorizontalScrollBarWidth
Integer getHorizontalScrollBarWidth()This method returns the width of the horizontal scrollbar for a Scrollable Control.- Returns:
- Integer horizontal scrollbar width
-
getVerticalScrollBarHeight
Integer getVerticalScrollBarHeight()This method returns the height of the vertical scrollbar for a Scrollable Control.- Returns:
- Integer vertical scrollbar height
-
getVerticalScrollBarPosition
Integer getVerticalScrollBarPosition()This method returns the position of the vertical scrollbar for a Scrollable Control.- Returns:
- Integer representing vertical scroll bar's position
-
getVerticalScrollBarWidth
Integer getVerticalScrollBarWidth()This method returns the width of the vertical scrollbar for a Scrollable Control.- Returns:
- Integer representing width of the vertical scrollbar
-
isHorizontalScrollBarVisible
Boolean isHorizontalScrollBarVisible()This method returns whether the horizontal scrollbar for a Scrollable Control is currently visible.- Returns:
- True if horizontal bar is visible, False if not.
-
isVerticalScrollBarVisible
Boolean isVerticalScrollBarVisible()This method returns whether the vertical scrollbar for a Scrollable Control is currently visible.- Returns:
- True if vertical bar is visible, False if not.
-
setHorizontalScrollBarPosition
This method sets the position of the horizontal scrollbar for a Scrollable BBjControl.- Parameters:
position- Integer pixel location of beginning of horizontal scrollbar- Returns:
- The control itself
-
setVerticalScrollBarPosition
This method sets the position of the vertical scrollbar for a Scrollable BBjControl.- Parameters:
position- Integer pixel location of beginning of vertical scrollbar- Returns:
- The control itself
-