BlockTouchHandler

public abstract class BlockTouchHandler extends Object

Callback handle for touches to BlockViews.

Public Constructor Summary

Public Method Summary

abstract boolean
onInterceptTouchEvent(BlockView blockView, MotionEvent motionEvent)
Called by the BlockView when the visible area of the block or its child/descendent Views have been touched.
abstract boolean
onTouchBlock(BlockView blockView, MotionEvent motionEvent)
Called by the BlockView when the visible area of the block has been touched.

Inherited Method Summary

Public Constructors

public BlockTouchHandler ()

Public Methods

public abstract boolean onInterceptTouchEvent (BlockView blockView, MotionEvent motionEvent)

Called by the BlockView when the visible area of the block or its child/descendent Views have been touched. Facilitates with drags that begin on FieldViews.

Parameters
blockView The touched BlockView.
motionEvent The event the blockView is responding to.
Returns

public abstract boolean onTouchBlock (BlockView blockView, MotionEvent motionEvent)

Called by the BlockView when the visible area of the block has been touched.

Parameters
blockView The touched BlockView.
motionEvent The event the blockView is responding to.
Returns