java.lang.Object
   ↳ android.view.View
     ↳ android.view.ViewGroup
       ↳ com.htc.view.table.AbstractAdapterView<T extends android.widget.Adapter>
         ↳ com.htc.view.table.AbstractTableView
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

Common code shared between ListView and GridView

Summary

Nested Classes
class AbstractTableView.FlingRunnable Responsible for fling behavior. 
class AbstractTableView.LayoutParams AbsListView extends LayoutParams to provide a place to hold the view type. 
interface AbstractTableView.OnScrollListener Interface definition for a callback to be invoked when the list or grid has been scrolled. 
interface AbstractTableView.RecyclerListener A RecyclerListener is used to receive a notification whenever a View is placed inside the RecycleBin's scrap heap. 
[Expand]
Inherited Constants
From class android.view.ViewGroup
From class android.view.View
Fields
protected TableColleague tableColleague
[Expand]
Inherited Fields
From class android.view.ViewGroup
From class android.view.View
Public Constructors
AbstractTableView(Context context)
AbstractTableView(Context context, AttributeSet attrs)
AbstractTableView(Context context, AttributeSet attrs, int defStyle)
Public Methods
int getCenterChildPosition()
boolean onTouchEvent(MotionEvent event)
void scrollIntoSlots()
void setOnScrollListener(AbstractTableView.OnScrollListener l)
Sets the listener that will receive notifications every time the list scrolls.
void setScrollControl(ScrollControl scrollControl)
Assigns a new ScrollControl shall take effect immediately
void setTableLayoutParams(int startPosition, TableLayoutParams layout)
Protected Methods
void onLayout(boolean changed, int l, int t, int r, int b)
[Expand]
Inherited Methods
From class com.htc.view.table.AbstractAdapterView
From class android.view.ViewGroup
From class android.view.View
From class java.lang.Object
From interface android.graphics.drawable.Drawable.Callback
From interface android.graphics.drawable.Drawable.Callback2
From interface android.text.TextWatcher
From interface android.view.GestureDetector.OnGestureListener
From interface android.view.HtcIfViewGroup
From interface android.view.KeyEvent.Callback
From interface android.view.ViewManager
From interface android.view.ViewParent
From interface android.view.ViewTreeObserver.OnGlobalLayoutListener
From interface android.view.ViewTreeObserver.OnTouchModeChangeListener
From interface android.view.accessibility.AccessibilityEventSource
From interface android.widget.Filter.FilterListener

Fields

protected TableColleague tableColleague

Since: API Level 2.0

Public Constructors

public AbstractTableView (Context context)

Since: API Level 2.0

public AbstractTableView (Context context, AttributeSet attrs)

Since: API Level 2.0

public AbstractTableView (Context context, AttributeSet attrs, int defStyle)

Since: API Level 2.0

Public Methods

public int getCenterChildPosition ()

Since: API Level 2.0

public boolean onTouchEvent (MotionEvent event)

Since: API Level

public void scrollIntoSlots ()

Since: API Level 2.0

public void setOnScrollListener (AbstractTableView.OnScrollListener l)

Since: API Level 2.0

Sets the listener that will receive notifications every time the list scrolls.

Parameters
l The scroll listener

public void setScrollControl (ScrollControl scrollControl)

Since: API Level 2.0

Assigns a new ScrollControl shall take effect immediately

public void setTableLayoutParams (int startPosition, TableLayoutParams layout)

Since: API Level 2.0

Parameters
startPosition A position which shall be displayed in the first cell of a new layout

Protected Methods

protected void onLayout (boolean changed, int l, int t, int r, int b)

Since: API Level 2.0