完整内容,请查看:http://www.zhdoc.net/android/reference/android/widget/StackView.html
StackView
public class StackView
extends AdapterViewAnimator
java.lang.Object | |||||
↳ | android.view.View | ||||
↳ | android.view.ViewGroup | ||||
↳ | android.widget.AdapterView<android.widget.Adapter> | ||||
↳ | android.widget.AdapterViewAnimator | ||||
↳ | android.widget.StackView |
摘要
继承XML属性 | |
---|---|
From class android.widget.AdapterViewAnimator
| |
From class android.view.ViewGroup
| |
From class android.view.View
|
继承常量 |
---|
From class android.widget.AdapterView
|
From class android.view.ViewGroup
|
From class android.view.View
|
继承字段 |
---|
From class android.view.View
|
Public构造方法 | |
---|---|
StackView(Context context) | |
StackView(Context context, AttributeSet attrs) | |
StackView(Context context, AttributeSet attrs, int defStyleAttr) | |
StackView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) |
Public方法 | |
---|---|
void | advance() Called by an |
CharSequence | getAccessibilityClassName() Return the class name of this object to be used for accessibility purposes. |
boolean | onGenericMotionEvent(MotionEvent event) Implement this method to handle generic motion events. |
boolean | onInterceptTouchEvent(MotionEvent ev) Implement this method to intercept all touch screen motion events. |
boolean | onTouchEvent(MotionEvent ev) Implement this method to handle touch screen motion events. |
void | showNext() Manually shows the next child. |
void | showPrevious() Manually shows the previous child. |
保护方法 | |
---|---|
void | dispatchDraw(Canvas canvas) Called by draw to draw the child views. |
void | onLayout(boolean changed, int left, int top, int right, int bottom) Called from layout when this view should assign a size and position to each of its children. |
void | onMeasure(int widthMeasureSpec, int heightMeasureSpec) Measure the view and its content to determine the measured width and the measured height. |