SeslScrollable

interface SeslScrollable

Common contract for SESL scrollable widgets that support go-to-top, hover scrolling and fading edge coordination.

Inheritors

Functions

Link copied to clipboard
Forces the bottom fading edge height to a clamped value.
Link copied to clipboard
abstract fun seslForceTopFadingEdgeClamped(clamped: Int)
Forces the top fading edge height to a clamped value.
Link copied to clipboard
Returns available drawing bounds for the widget.
Link copied to clipboard
Returns current bottom padding applied to the GoToTop button position.
Link copied to clipboard
Returns default bottom padding applied to the GoToTop button position.
Link copied to clipboard
abstract fun seslHideGoToTop()
Hides the GoToTop button.
Link copied to clipboard
abstract fun seslSetAvailableBounds(rect: Rect)
Sets available drawing bounds for the widget.
abstract fun seslSetAvailableBounds(bounds: Rect, dispatchFakeScroll: Boolean)
Sets available drawing bounds for the widget with an optional dispatchFakeScroll flag.
Link copied to clipboard
abstract fun seslSetBottomScrollOffset(offset: Int)
Sets vertical offset for the bottom scroll boundary.
Link copied to clipboard
abstract fun seslSetGoToTopBottomPadding(padding: Int)
Sets bottom padding for positioning the GoToTop button.
Link copied to clipboard
abstract fun seslSetGoToTopSuppressed(suppressed: Boolean)
Sets whether GoToTop button display is suppressed.
Link copied to clipboard
abstract fun seslSetHoverBottomPadding(padding: Int)
Sets bottom padding for hover scroll trigger area.
Link copied to clipboard
abstract fun seslSetHoverTopPadding(padding: Int)
Sets top padding for hover scroll trigger area.
Link copied to clipboard
abstract fun seslSetScrollBarBottomOffset(offset: Int)
Sets bottom offset for vertical scrollbar positioning.
Link copied to clipboard
abstract fun seslSetScrollBarTopOffset(offset: Int)
Sets top offset for vertical scrollbar positioning.
Link copied to clipboard
abstract fun seslShowGoToTop()
Shows the GoToTop button.