Android7.0中文文档(API)-- StackView

完整内容,请查看: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方法

voidadvance()

Called by an AppWidgetHost in order to advance the current view when it is being used within an app widget.
AppWidgetHost来调用,当在一个app widget中使用时,以提升当前视图,

CharSequencegetAccessibilityClassName()

Return the class name of this object to be used for accessibility purposes.
返回此对象的类名,用于辅助功能目的。

booleanonGenericMotionEvent(MotionEvent event)

Implement this method to handle generic motion events.
实现此方法以处理普通的MotionEvent。

booleanonInterceptTouchEvent(MotionEvent ev)

Implement this method to intercept all touch screen motion events.
实现此方法可拦截所有触摸屏MotionEvent。

booleanonTouchEvent(MotionEvent ev)

Implement this method to handle touch screen motion events.
实现此方法,以处理触摸屏的MotionEvent。

voidshowNext()

Manually shows the next child.
手动显示下一个子视图。

voidshowPrevious()

Manually shows the previous child.
手动显示上一个子视图。

保护方法

voiddispatchDraw(Canvas canvas)

Called by draw to draw the child views.
通过draw()调用,来绘制子视图。

voidonLayout(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.
当此视图分配大小和位置给它的每个子项时,从布局中调用。

voidonMeasure(int widthMeasureSpec, int heightMeasureSpec)

Measure the view and its content to determine the measured width and the measured height.
测量视图,它的内容决定测量得到宽度和高度。

继承方法

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值