android.view
Interface Window.Callback

All Known Implementing Classes:
AccountAuthenticatorActivity, Activity, ActivityGroup, AlertDialog, AliasActivity, CharacterPickerDialog, DatePickerDialog, Dialog, ExpandableListActivity, LauncherActivity, ListActivity, PreferenceActivity, ProgressDialog, TabActivity, TimePickerDialog
Enclosing class:
Window

public static interface Window.Callback


Method Summary
 boolean dispatchKeyEvent(KeyEvent event)
           
 boolean dispatchPopulateAccessibilityEvent(AccessibilityEvent event)
           
 boolean dispatchTouchEvent(MotionEvent event)
           
 boolean dispatchTrackballEvent(MotionEvent event)
           
 void onAttachedToWindow()
           
 void onContentChanged()
           
 boolean onCreatePanelMenu(int featureId, Menu menu)
           
 View onCreatePanelView(int featureId)
           
 void onDetachedFromWindow()
           
 boolean onMenuItemSelected(int featureId, MenuItem item)
           
 boolean onMenuOpened(int featureId, Menu menu)
           
 void onPanelClosed(int featureId, Menu menu)
           
 boolean onPreparePanel(int featureId, View view, Menu menu)
           
 boolean onSearchRequested()
           
 void onWindowAttributesChanged(WindowManager.LayoutParams attrs)
           
 void onWindowFocusChanged(boolean hasFocus)
           
 

Method Detail

dispatchKeyEvent

boolean dispatchKeyEvent(KeyEvent event)

dispatchTouchEvent

boolean dispatchTouchEvent(MotionEvent event)

dispatchTrackballEvent

boolean dispatchTrackballEvent(MotionEvent event)

dispatchPopulateAccessibilityEvent

boolean dispatchPopulateAccessibilityEvent(AccessibilityEvent event)

onCreatePanelView

View onCreatePanelView(int featureId)

onCreatePanelMenu

boolean onCreatePanelMenu(int featureId,
                          Menu menu)

onPreparePanel

boolean onPreparePanel(int featureId,
                       View view,
                       Menu menu)

onMenuOpened

boolean onMenuOpened(int featureId,
                     Menu menu)

onMenuItemSelected

boolean onMenuItemSelected(int featureId,
                           MenuItem item)

onWindowAttributesChanged

void onWindowAttributesChanged(WindowManager.LayoutParams attrs)

onContentChanged

void onContentChanged()

onWindowFocusChanged

void onWindowFocusChanged(boolean hasFocus)

onAttachedToWindow

void onAttachedToWindow()

onDetachedFromWindow

void onDetachedFromWindow()

onPanelClosed

void onPanelClosed(int featureId,
                   Menu menu)

onSearchRequested

boolean onSearchRequested()


Copyright © 2008-2010. All Rights Reserved.