Build 1.0_r1(from source)

android.view
Interface WindowManager

All Superinterfaces:
ViewManager
All Known Implementing Classes:
WindowManagerImpl

public interface WindowManager
extends ViewManager

The interface that apps use to talk to the window manager.

Use Context.getSystemService(Context.WINDOW_SERVICE) to get one of these.

See Also:
Context.getSystemService(java.lang.String), Context.WINDOW_SERVICE

Nested Class Summary
static class WindowManager.BadTokenException
          Exception that is thrown when trying to add view whose WindowManager.LayoutParams WindowManager.LayoutParams.token is invalid.
static class WindowManager.LayoutParams
           
 
Method Summary
 Display getDefaultDisplay()
          Use this method to get the default Display object.
 void removeViewImmediate(View view)
          Special variation of ViewManager.removeView(android.view.View) that immediately invokes the given view hierarchy's View.onDetachedFromWindow() methods before returning.
 
Methods inherited from interface android.view.ViewManager
addView, removeView, updateViewLayout
 

Method Detail

getDefaultDisplay

Display getDefaultDisplay()
Use this method to get the default Display object.

Returns:
default Display object

removeViewImmediate

void removeViewImmediate(View view)
Special variation of ViewManager.removeView(android.view.View) that immediately invokes the given view hierarchy's View.onDetachedFromWindow() methods before returning. This is not for normal applications; using it correctly requires great care.

Parameters:
view - The view to be removed.

Build 1.0_r1(from source)

Please submit a feedback, bug or feature