| AndBase开发框架 1.5.7

- 首页
- 相关页面
- 命名空间
- 类
- 文件

- 类列表
- 类索引
- 类继承关系
- 类成员

全部 类 命名空间 文件 函数 变量 枚举值 页
类 | Public 成员函数 | Protected 成员函数 | Private 成员函数 | Private 属性 | 静态 Private 属性 | 所有成员列表
com.ab.view.pullview.AbMultiColumnBaseListView类 参考
类 com.ab.view.pullview.AbMultiColumnBaseListView 继承关系图:

## 类
class | Column
class | FixedColumn

## Public 成员函数
| AbMultiColumnBaseListView (Context context)
| AbMultiColumnBaseListView (Context context, AttributeSet attrs)
int | getColumnWidth ()
int | getColumnNumber ()
Public 成员函数 继承自 com.ab.view.pullview.AbMultiColumnAbsListView
| AbMultiColumnAbsListView (Context context, AttributeSet attrs)
| AbMultiColumnAbsListView (Context context)
int | getMaxScrollAmount ()
void | addHeaderView (View v, Object data, boolean isSelectable)
void | addHeaderView (View v)
int | getHeaderViewsCount ()
boolean | isFixedView (View v)
boolean | removeHeaderView (View v)
void | addFooterView (View v, Object data, boolean isSelectable)
void | addFooterView (View v)
int | getFooterViewsCount ()
boolean | removeFooterView (View v)
ListAdapter | getAdapter ()
void | setAdapter (ListAdapter adapter)
int | getFirstVisiblePosition ()
int | getLastVisiblePosition ()
boolean | requestChildRectangleOnScreen (View child, Rect rect, boolean immediate)
void | setSelection (int position)
boolean | dispatchPopulateAccessibilityEvent (AccessibilityEvent event)
boolean | fullScroll (int direction)
void | setItemsCanFocus (boolean itemsCanFocus)
boolean | getItemsCanFocus ()
boolean | isOpaque ()
void | setCacheColorHint (int color)
void | setOverscrollHeader (Drawable header)
Drawable | getOverscrollHeader ()
void | setOverscrollFooter (Drawable footer)
Drawable | getOverscrollFooter ()
boolean | onTouchEvent (MotionEvent ev)
boolean | performItemClick (View view, int position, long id)
void | setItemChecked (int position, boolean value)
boolean | isItemChecked (int position)
int | getCheckedItemPosition ()
SparseBooleanArray | getCheckedItemPositions ()
long[] | getCheckItemIds ()
long[] | getCheckedItemIds ()
void | clearChoices ()
Public 成员函数 继承自 com.ab.view.pullview.AbMultiColumnBaseAbsListView
| AbMultiColumnBaseAbsListView (Context context)
| AbMultiColumnBaseAbsListView (Context context, AttributeSet attrs)
void | setSmoothScrollbarEnabled (boolean enabled)
.ExportedProperty boolean | isSmoothScrollbarEnabled ()
void | setOnScrollListener (OnScrollListener l)
.ExportedProperty boolean | isScrollingCacheEnabled ()
void | setScrollingCacheEnabled (boolean enabled)
void | getFocusedRect (Rect r)
.ExportedProperty boolean | isStackFromBottom ()
void | setStackFromBottom (boolean stackFromBottom)
void | onRestoreInstanceState (Parcelable state)
void | requestLayout ()
.ExportedProperty View | getSelectedView ()
int | getListPaddingTop ()
int | getListPaddingBottom ()
int | getListPaddingLeft ()
int | getListPaddingRight ()
void | setDrawSelectorOnTop (boolean onTop)
void | setSelector (int resID)
void | setSelector (Drawable sel)
Drawable | getSelector ()
boolean | verifyDrawable (Drawable dr)
void | onWindowFocusChanged (boolean hasWindowFocus)
boolean | showContextMenuForChild (View originalView)
boolean | onKeyDown (int keyCode, KeyEvent event)
int | pointToPosition (int x, int y)
long | pointToRowId (int x, int y)
void | onTouchModeChanged (boolean isInTouchMode)
boolean | onTouchEvent (MotionEvent ev)
boolean | onInterceptTouchEvent (MotionEvent ev)
void | addTouchables (ArrayList< View > views)
void | smoothScrollToPosition (int position)
void | smoothScrollToPosition (int position, int boundPosition)
void | smoothScrollBy (int distance, int duration)
void | invalidateViews ()
void | onGlobalLayout ()
LayoutParams | generateLayoutParams (AttributeSet attrs)
void | setTranscriptMode (int mode)
int | getTranscriptMode ()
int | getSolidColor ()
void | setCacheColorHint (int color)
int | getCacheColorHint ()
void | reclaimViews (List< View > views)
void | setRecyclerListener (RecyclerListener listener)

## Protected 成员函数
void | onLayout (boolean changed, int l, int t, int r, int b)
void | onMeasure (int widthMeasureSpec, int heightMeasureSpec)
void | onMeasureChild (View child, int position, int widthMeasureSpec, int heightMeasureSpec)
int | modifyFlingInitialVelocity (int initialVelocity)
void | onItemAddedToList (int position, boolean flow)
void | onLayoutSync (int syncPos)
void | onLayoutSyncFinished (int syncPos)
void | onAdjustChildViews (boolean down)
int | getFillChildBottom ()
int | getFillChildTop ()
int | getScrollChildBottom ()
int | getScrollChildTop ()
int | getItemLeft (int pos)
int | getItemTop (int pos)
int | getItemBottom (int pos)
Protected 成员函数 继承自 com.ab.view.pullview.AbMultiColumnAbsListView
int | getItemLeft (int pos)
int | getItemTop (int pos)
int | getItemBottom (int pos)
void | fillGap (boolean down)
void | onMeasure (int widthMeasureSpec, int heightMeasureSpec)
boolean | recycleOnMeasure ()
void | layoutChildren ()
void | onItemAddedToList (int position, boolean flow)
void | onOffsetChild (View child, int position, int offsetLeft, int offsetTop)
void | onLayoutChild (View child, int position, int l, int t, int r, int b)
void | onMeasureChild (View child, int position, int widthMeasureSpec, int heightMeasureSpec)
void | onAdjustChildViews (boolean down)
boolean | canAnimate ()
View | getLastChild ()
void | dispatchDraw (Canvas canvas)
void | onFocusChanged (boolean gainFocus, int direction, Rect previouslyFocusedRect)
void | onFinishInflate ()
Protected 成员函数 继承自 com.ab.view.pullview.AbMultiColumnBaseAbsListView
int | computeVerticalScrollExtent ()
int | computeVerticalScrollOffset ()
int | computeVerticalScrollRange ()
float | getTopFadingEdgeStrength ()
float | getBottomFadingEdgeStrength ()
void | onMeasure (int widthMeasureSpec, int heightMeasureSpec)
void | onLayout (boolean changed, int l, int t, int r, int b)
void | layoutChildren ()
void | dispatchDraw (Canvas canvas)
void | onSizeChanged (int w, int h, int oldw, int oldh)
boolean | shouldShowSelector ()
void | drawableStateChanged ()
int[] | onCreateDrawableState (int extraSpace)
void | onAttachedToWindow ()
void | onDetachedFromWindow ()
ContextMenuInfo | getContextMenuInfo ()
void | dispatchSetPressed (boolean pressed)
void | tryOffsetChildrenTopAndBottom (int offset)
void | handleDataChanged ()
void | onLayoutSync (int syncPosition)
void | onLayoutSyncFinished (int syncPosition)
ViewGroup.LayoutParams | generateLayoutParams (ViewGroup.LayoutParams p)
boolean | checkLayoutParams (ViewGroup.LayoutParams p)
int | modifyFlingInitialVelocity (int initialVelocity)
int | getScrollChildTop ()
int | getFirstChildTop ()
int | getFillChildTop ()
int | getFillChildBottom ()
int | getScrollChildBottom ()

## Private 成员函数
void | init (AttributeSet attrs)
Column | getNextColumn (boolean flow, int position)
boolean | isHeaderOrFooterPosition (int pos)
Column | getTopColumn ()
Column | gettBottomColumn ()
int | getColumnLeft (int pos)
int | getColumnWidth (int pos)

## Private 属性
int | mColumnNumber = 2
Column[] | mColumns = null
Column | mFixedColumn = null
SparseIntArray | mItems = new SparseIntArray()
int | mColumnPaddingLeft = 0
int | mColumnPaddingRight = 0
Rect | mFrameRect = new Rect()
int | columnWidth

## 静态 Private 属性
static final String | TAG = "MultiColumnListView"
static final int | DEFAULT_COLUMN_NUMBER = 2

## 额外继承的成员函数
静态 Public 属性 继承自 com.ab.view.pullview.AbMultiColumnBaseAbsListView
static final int | TRANSCRIPT_MODE_DISABLED = 0
static final int | TRANSCRIPT_MODE_NORMAL = 1
static final int | TRANSCRIPT_MODE_ALWAYS_SCROLL = 2
Protected 属性 继承自 com.ab.view.pullview.AbMultiColumnBaseAbsListView
ListAdapter | mAdapter
Rect | mListPadding = new Rect()
int | mWidthMeasureSpec = 0
boolean | mCachingStarted
int | mMotionPosition
int | mTouchMode = TOUCH_MODE_REST
静态 Protected 属性 继承自 com.ab.view.pullview.AbMultiColumnBaseAbsListView
static final int | TOUCH_MODE_DOWN = 0
static final int | TOUCH_MODE_TAP = 1
static final int | TOUCH_MODE_DONE_WAITING = 2
static final int | TOUCH_MODE_SCROLL = 3
static final int | TOUCH_MODE_FLING = 4
static final boolean | DEBUG = false
包函数 继承自 com.ab.view.pullview.AbMultiColumnAbsListView
void | resetList ()
final int | measureHeightOfChildren (int widthMeasureSpec, int startPosition, int endPosition, final int maxHeight, int disallowPartialChildPosition)
int | findMotionRow (int y)
int | lookForSelectablePosition (int position, boolean lookDown)
void | drawOverscrollHeader (Canvas canvas, Drawable drawable, Rect bounds)
void | drawOverscrollFooter (Canvas canvas, Drawable drawable, Rect bounds)
静态包函数 继承自 com.ab.view.pullview.AbMultiColumnBaseAbsListView
static int | getDistance (Rect source, Rect dest, int direction)
包属性 继承自 com.ab.view.pullview.AbMultiColumnAbsListView
Drawable | mOverScrollHeader
Drawable | mOverScrollFooter
静态包属性 继承自 com.ab.view.pullview.AbMultiColumnAbsListView
static final int | NO_POSITION = -1

## 详细描述

Copyright (c) 2012 All rights reserved 名称：AbMultiColumnBaseListView.java 描述：The Class AbMultiColumnBaseListView.

作者
  zhaoqp

日期
  ：2013-10-28 上午9:30:50

版本
  v1.0

## 构造及析构函数说明

com.ab.view.pullview.AbMultiColumnBaseListView.AbMultiColumnBaseListView | ( | Context | context) |  |
| inline

Instantiates a new ab multi column base list view.

参数

  context | the context

com.ab.view.pullview.AbMultiColumnBaseListView.AbMultiColumnBaseListView | ( | Context | context,
|  | AttributeSet | attrs
| ) |  |
| inline

Instantiates a new ab multi column base list view.

参数

  context | the context
  attrs | the attrs

## 成员函数说明

int com.ab.view.pullview.AbMultiColumnBaseListView.getColumnLeft | ( | int | pos) |  |
| inline private

Gets the column left.

参数

  pos | the pos

返回
  the column left

int com.ab.view.pullview.AbMultiColumnBaseListView.getColumnNumber | ( | ) |  |
| inline

Gets the column number.

返回
  the column number

int com.ab.view.pullview.AbMultiColumnBaseListView.getColumnWidth | ( | ) |  |
| inline

Gets the column width.

返回
  the column width

int com.ab.view.pullview.AbMultiColumnBaseListView.getColumnWidth | ( | int | pos) |  |
| inline private

Gets the column width.

参数

  pos | the pos

返回
  the column width

int com.ab.view.pullview.AbMultiColumnBaseListView.getFillChildBottom | ( | ) |  |
| inline protected

描述：TODO

参见
  com.ab.view.pullview.AbMultiColumnBaseAbsListView::getFillChildBottom()

作者
  : zhaoqp

日期
  ：2013-9-4 下午4:06:33

版本
  v1.0

int com.ab.view.pullview.AbMultiColumnBaseListView.getFillChildTop | ( | ) |  |
| inline protected

描述：TODO

参见
  com.ab.view.pullview.AbMultiColumnBaseAbsListView::getFillChildTop()

作者
  : zhaoqp

日期
  ：2013-9-4 下午4:06:33

版本
  v1.0

int com.ab.view.pullview.AbMultiColumnBaseListView.getItemBottom | ( | int | pos) |  |
| inline protected

描述：TODO

参见
  com.ab.view.pullview.AbMultiColumnAbsListView::getItemBottom(int)

作者
  : zhaoqp

日期
  ：2013-9-4 下午4:06:33

版本
  v1.0

int com.ab.view.pullview.AbMultiColumnBaseListView.getItemLeft | ( | int | pos) |  |
| inline protected

描述：TODO

参见
  com.ab.view.pullview.AbMultiColumnAbsListView::getItemLeft(int)

作者
  : zhaoqp

日期
  ：2013-9-4 下午4:06:33

版本
  v1.0

int com.ab.view.pullview.AbMultiColumnBaseListView.getItemTop | ( | int | pos) |  |
| inline protected

描述：TODO

参见
  com.ab.view.pullview.AbMultiColumnAbsListView::getItemTop(int)

作者
  : zhaoqp

日期
  ：2013-9-4 下午4:06:33

版本
  v1.0

Column com.ab.view.pullview.AbMultiColumnBaseListView.getNextColumn | ( | boolean | flow,
|  | int | position
| ) |  |
| inline private

Gets the next column.

参数

  flow | the flow
  position | the position

返回
  the next column

int com.ab.view.pullview.AbMultiColumnBaseListView.getScrollChildBottom | ( | ) |  |
| inline protected

描述：TODO

参见
  com.ab.view.pullview.AbMultiColumnBaseAbsListView::getScrollChildBottom()

作者
  : zhaoqp

日期
  ：2013-9-4 下午4:06:33

版本
  v1.0

int com.ab.view.pullview.AbMultiColumnBaseListView.getScrollChildTop | ( | ) |  |
| inline protected

描述：TODO

参见
  com.ab.view.pullview.AbMultiColumnBaseAbsListView::getScrollChildTop()

作者
  : zhaoqp

日期
  ：2013-9-4 下午4:06:33

版本
  v1.0

Column com.ab.view.pullview.AbMultiColumnBaseListView.gettBottomColumn | ( | ) |  |
| inline private

Gets the t bottom column.

返回
  the t bottom column

Column com.ab.view.pullview.AbMultiColumnBaseListView.getTopColumn | ( | ) |  |
| inline private

Gets the top column.

返回
  the top column

void com.ab.view.pullview.AbMultiColumnBaseListView.init | ( | AttributeSet | attrs) |  |
| inline private

初始化.

参数

  attrs | the attrs

boolean com.ab.view.pullview.AbMultiColumnBaseListView.isHeaderOrFooterPosition | ( | int | pos) |  |
| inline private

Checks if is header or footer position.

参数

  pos | the pos

返回
  true, if is header or footer position

int com.ab.view.pullview.AbMultiColumnBaseListView.modifyFlingInitialVelocity | ( | int | initialVelocity) |  |
| inline protected

描述：TODO

参见
  com.ab.view.pullview.AbMultiColumnBaseAbsListView::modifyFlingInitialVelocity(int)

作者
  : zhaoqp

日期
  ：2013-9-4 下午4:06:33

版本
  v1.0

void com.ab.view.pullview.AbMultiColumnBaseListView.onAdjustChildViews | ( | boolean | down) |  |
| inline protected

描述：TODO

参见
  com.ab.view.pullview.AbMultiColumnAbsListView::onAdjustChildViews(boolean)

作者
  : zhaoqp

日期
  ：2013-9-4 下午4:06:33

版本
  v1.0

void com.ab.view.pullview.AbMultiColumnBaseListView.onItemAddedToList | ( | int | position,
|  | boolean | flow
| ) |  |
| inline protected

描述：TODO

参见
  com.ab.view.pullview.AbMultiColumnAbsListView::onItemAddedToList(int, boolean)

作者
  : zhaoqp

日期
  ：2013-9-4 下午4:06:33

版本
  v1.0

void com.ab.view.pullview.AbMultiColumnBaseListView.onLayout | ( | boolean | changed,
|  | int | l,
|  | int | t,
|  | int | r,
|  | int | b
| ) |  |
| inline protected

描述：TODO

参见
  com.ab.view.pullview.AbMultiColumnBaseAbsListView::onLayout(boolean, int, int, int, int)

作者
  : zhaoqp

日期
  ：2013-9-4 下午4:06:33

版本
  v1.0

void com.ab.view.pullview.AbMultiColumnBaseListView.onLayoutSync | ( | int | syncPos) |  |
| inline protected

描述：TODO

参见
  com.ab.view.pullview.AbMultiColumnBaseAbsListView::onLayoutSync(int)

作者
  : zhaoqp

日期
  ：2013-9-4 下午4:06:33

版本
  v1.0

void com.ab.view.pullview.AbMultiColumnBaseListView.onLayoutSyncFinished | ( | int | syncPos) |  |
| inline protected

描述：TODO

参见
  com.ab.view.pullview.AbMultiColumnBaseAbsListView::onLayoutSyncFinished(int)

作者
  : zhaoqp

日期
  ：2013-9-4 下午4:06:33

版本
  v1.0

void com.ab.view.pullview.AbMultiColumnBaseListView.onMeasure | ( | int | widthMeasureSpec,
|  | int | heightMeasureSpec
| ) |  |
| inline protected

描述：TODO

参见
  com.ab.view.pullview.AbMultiColumnAbsListView::onMeasure(int, int)

作者
  : zhaoqp

日期
  ：2013-9-4 下午4:06:33

版本
  v1.0

void com.ab.view.pullview.AbMultiColumnBaseListView.onMeasureChild | ( | View | child,
|  | int | position,
|  | int | widthMeasureSpec,
|  | int | heightMeasureSpec
| ) |  |
| inline protected

描述：TODO

参见
  com.ab.view.pullview.AbMultiColumnAbsListView::onMeasureChild(android.view.View, int, int, int)

作者
  : zhaoqp

日期
  ：2013-9-4 下午4:06:33

版本
  v1.0

## 类成员变量说明

int com.ab.view.pullview.AbMultiColumnBaseListView.columnWidth
| private

The column width.

final int com.ab.view.pullview.AbMultiColumnBaseListView.DEFAULT_COLUMN_NUMBER = 2
| static private

The Constant DEFAULT_COLUMN_NUMBER.

int com.ab.view.pullview.AbMultiColumnBaseListView.mColumnNumber = 2
| private

The m column number.

int com.ab.view.pullview.AbMultiColumnBaseListView.mColumnPaddingLeft = 0
| private

The m column padding left.

int com.ab.view.pullview.AbMultiColumnBaseListView.mColumnPaddingRight = 0
| private

The m column padding right.

Column [] com.ab.view.pullview.AbMultiColumnBaseListView.mColumns = null
| private

The m columns.

Column com.ab.view.pullview.AbMultiColumnBaseListView.mFixedColumn = null
| private

The m fixed column.

Rect com.ab.view.pullview.AbMultiColumnBaseListView.mFrameRect = new Rect()
| private

The m frame rect.

SparseIntArray com.ab.view.pullview.AbMultiColumnBaseListView.mItems = new SparseIntArray()
| private

The m items.

final String com.ab.view.pullview.AbMultiColumnBaseListView.TAG = "MultiColumnListView"
| static private

The Constant TAG.

该类的文档由以下文件生成:

- src/com/ab/view/pullview/AbMultiColumnBaseListView.java