File
Doc
Category
Size
Date
Package
WindowCallback.java
API Doc
Android 5.1 API
2897
Thu Mar 12 22:22:44 GMT 2015
android.view
WindowCallback
java.lang.Object
public class WindowCallback extends Object implements Window.Callback
An empty implementation of {@link Window.Callback} that always returns null/false.
Fields Summary
Constructors Summary
Methods Summary
public
boolean
dispatchGenericMotionEvent
(
MotionEvent
event)
return false;
public
boolean
dispatchKeyEvent
(
KeyEvent
event)
return false;
public
boolean
dispatchKeyShortcutEvent
(
KeyEvent
event)
return false;
public
boolean
dispatchPopulateAccessibilityEvent
(
android.view.accessibility.AccessibilityEvent
event)
return false;
public
boolean
dispatchTouchEvent
(
MotionEvent
event)
return false;
public
boolean
dispatchTrackballEvent
(
MotionEvent
event)
return false;
public void
onActionModeFinished
(
ActionMode
mode)
public void
onActionModeStarted
(
ActionMode
mode)
public void
onAttachedToWindow
()
public void
onContentChanged
()
public
boolean
onCreatePanelMenu
(
int
featureId,
Menu
menu)
return false;
public
View
onCreatePanelView
(
int
featureId)
return null;
public void
onDetachedFromWindow
()
public
boolean
onMenuItemSelected
(
int
featureId,
MenuItem
item)
return false;
public
boolean
onMenuOpened
(
int
featureId,
Menu
menu)
return false;
public void
onPanelClosed
(
int
featureId,
Menu
menu)
public
boolean
onPreparePanel
(
int
featureId,
View
view,
Menu
menu)
return false;
public
boolean
onSearchRequested
()
return false;
public void
onWindowAttributesChanged
(
android.view.WindowManager.LayoutParams
attrs)
public void
onWindowFocusChanged
(
boolean
hasFocus)
public
ActionMode
onWindowStartingActionMode
(
android.view.ActionMode.Callback
callback)
return null;
Java Code Source