public class

InertSwitch

extends SwitchCompat
java.lang.Object
   ↳ SwitchCompat
     ↳ com.pdftron.pdf.widget.InertSwitch

Class Overview

Switch widget that does not react to any user event in order to let the container handle them instead.

Summary

Public Constructors
InertSwitch(Context context)
InertSwitch(Context context, AttributeSet attrs)
InertSwitch(Context context, AttributeSet attrs, int defStyle)
Public Methods
boolean onKeyDown(int keyCode, KeyEvent event)
boolean onKeyLongPress(int keyCode, KeyEvent event)
boolean onKeyMultiple(int keyCode, int repeatCount, KeyEvent event)
boolean onKeyPreIme(int keyCode, KeyEvent event)
boolean onKeyShortcut(int keyCode, KeyEvent event)
boolean onKeyUp(int keyCode, KeyEvent event)
boolean onTouchEvent(MotionEvent event)
boolean onTrackballEvent(MotionEvent event)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public InertSwitch (Context context)

public InertSwitch (Context context, AttributeSet attrs)

public InertSwitch (Context context, AttributeSet attrs, int defStyle)

Public Methods

public boolean onKeyDown (int keyCode, KeyEvent event)

public boolean onKeyLongPress (int keyCode, KeyEvent event)

public boolean onKeyMultiple (int keyCode, int repeatCount, KeyEvent event)

public boolean onKeyPreIme (int keyCode, KeyEvent event)

public boolean onKeyShortcut (int keyCode, KeyEvent event)

public boolean onKeyUp (int keyCode, KeyEvent event)

public boolean onTouchEvent (MotionEvent event)

public boolean onTrackballEvent (MotionEvent event)