Package com.jbstrap.ui
Interface Scrollable<T extends Component<?>>
- Type Parameters:
T
- The component type
- All Known Implementing Classes:
ActivityStream
,ActivityStreamItem
,Badge
,BaseLoginPage
,BasePage
,Blockquote
,Breadcrumb
,CodeViewer
,Container
,ContextMenu
,Form
,Header
,HorizontalSplitter
,IBox
,Image
,ListBox
,ListItem
,ModalWindow
,NavBarItem
,Paragraph
,PasswordItem
,Row
,Small
,Span
,Table
,TableCell
,TabPage
,TextItem
,Timeline
,TimelineItem
,Toolbar
,Treeview
,TreeviewNode
,UI.RootLayout
,VerticalSplitter
,WizardStep
public interface Scrollable<T extends Component<?>>
Component containing scrollable content
Components that implement this interface, can handle scroll events on the component
- Since:
- 4.0
- Author:
- JBStrap
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault T
addScrollHandler
(ScrollEventHandler handler) Adds a Scroll event handler to the component.
-
Method Details
-
addScrollHandler
Adds a Scroll event handler to the component. It will run when the user is scrolling the component content.- Parameters:
handler
- TheScrollEventHandler
implementation- Returns:
- The component
- See Also:
-