public interface

ScrollControl

com.htc.view.ScrollControl
Known Indirect Subclasses

Summary

Nested Classes
class ScrollControl.CenterView  
Public Methods
abstract ScrollControl.CenterView getCenterView(View[] visibleViews, int startPosition)
Gets the view that you want to put this view of horizontal center or vertical center of parent.

Public Methods

public abstract ScrollControl.CenterView getCenterView (View[] visibleViews, int startPosition)

Since: API Level 2.0

Gets the view that you want to put this view of horizontal center or vertical center of parent. In TableLayoutParams.VERTICAL, TableView will scroll the view you return to the vertical center of parent, it will not scroll horizontal direction. In TableLayoutParams.HORIZONTAL, TableView will scroll the view you return to the horizontal center of parent, it will not scroll vertical direction.

Parameters
visibleViews All the visible views in TableView
Returns
  • The view you want to move to center.