Pular para o conteúdo principal

Class: ASwitch

This page documents the methods and fields available in the ASwitch class.

Members

SignatureDescription
ASwitch()Creates a new instance of ASwitch.
findByID(String)Performs the findByID operation using the provided parameters (id).
getViewID()Returns the current view id.
onClickEvent(View)Performs the onClickEvent operation using the provided parameters (v).
onCreateContextMenuEvent(ContextMenu, View, ContextMenu.ContextMenuInfo)Performs the onCreateContextMenuEvent operation using the provided parameters (menu, v, menuInfo).
onDragEvent(View, DragEvent)Performs the onDragEvent operation using the provided parameters (v, event).
onFocusChangeEvent(View, boolean)Performs the onFocusChangeEvent operation using the provided parameters (v, hasFocus).
onGenericMotionEvent(View, MotionEvent)Performs the onGenericMotionEvent operation using the provided parameters (v, event).
onHoverEvent(View, MotionEvent)Performs the onHoverEvent operation using the provided parameters (v, event).
onKeyEvent(View, int, KeyEvent)Performs the onKeyEvent operation using the provided parameters (v, keyCode, event).
onLongClickEvent(View)Performs the onLongClickEvent operation using the provided parameters (v).
onScrollChangeEvent(View, int, int, int, int)Performs the onScrollChangeEvent operation using the provided parameters (v, scrollX, scrollY, oldScrollX, oldScrollY).
onTouchEvent(View, MotionEvent)Performs the onTouchEvent operation using the provided parameters (v, event).
setOnClickListener(OnClickListener)Sets or updates the on click listener.
setOnCreateContextMenuListener(OnCreateContextMenuListener)Sets or updates the on create context menu listener.
setOnDragListener(OnDragListener)Sets or updates the on drag listener.
setOnFocusChangeListener(OnFocusChangeListener)Sets or updates the on focus change listener.
setOnGenericMotionListener(OnGenericMotionListener)Sets or updates the on generic motion listener.
setOnHoverListener(OnHoverListener)Sets or updates the on hover listener.
setOnKeyListener(OnKeyListener)Sets or updates the on key listener.
setOnLongClickListener(OnLongClickListener)Sets or updates the on long click listener.
setOnScrollChangeListener(OnScrollChangeListener)Sets or updates the on scroll change listener.
setOnTouchListener(OnTouchListener)Sets or updates the on touch listener.