Android7.0中文文档(API)-- StackView
2017-06-13 16:09
489 查看
完整内容,请查看: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 AppWidgetHostin order to advance the current view when it is being used within an app widget. 由 AppWidgetHost来调用,当在一个app widget中使用时,以提升当前视图, |
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. 实现此方法以处理普通的MotionEvent。 |
boolean | onInterceptTouchEvent(MotionEvent ev) Implement this method to intercept all touch screen motion events. 实现此方法可拦截所有触摸屏MotionEvent。 |
boolean | onTouchEvent(MotionEvent ev) Implement this method to handle touch screen motion events. 实现此方法,以处理触摸屏的MotionEvent。 |
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. 通过draw()调用,来绘制子视图。 |
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. 测量视图,它的内容决定测量得到宽度和高度。 |
继承方法
相关文章推荐
- Android7.0中文文档(API)--- DatePicker
- Android7.0中文文档(API)--- AbsoluteLayout
- Android7.0中文文档(API)--- ImageSwticher
- Android7.0中文文档(API)--- AutoCompleteTextView
- Android7.0中文文档(API)--- ViewSwitcher
- Android7.0中文文档(API) --- MediaController
- Android7.0中文文档(API)-- TextClock
- Android7.0中文文档(API)-- TextSwitcher
- Android7.0中文文档(API)--- AdapterView
- Android7.0中文文档(API)--- ExpandableListView
- Android7.0中文文档(API) -- TimePicker
- Android7.0中文文档(API) --- Button
- Android7.0中文文档(API) --- ToggleButton
- Android7.0中文文档(API)--- VideoView
- Android7.0中文文档(API)--- FrameLayout
- Android7.0中文文档(API)-- ViewAnimator
- Android7.0中文文档(API) --- CheckedTextView
- Android7.0中文文档(API) -- ScrollView
- Android7.0中文文档 (API)--- QuickContactBadge
- Android7.0中文文档(API)--- ViewFlipper