码迷,mamicode.com
首页 > 其他好文 > 详细

视图体系

时间:2016-07-28 14:00:26      阅读:182      评论:0      收藏:0      [点我收藏+]

标签:

/**
 * The top of a view hierarchy, implementing the needed protocol between View
 * and the WindowManager.  This is for the most part an internal implementation
 * detail of {
@link WindowManagerGlobal}.
 *
 * {
@hide}
 */

 

public final class ViewRootImpl implements ViewParent,
        View.AttachInfo.Callbacks, HardwareRenderer.HardwareDrawCallbacks

 

 

/**
 * Defines the responsibilities for a class that will be a parent of a View.
 * This is the API that a view sees when it wants to interact with its parent.
 *
 */

 

ViewParent

/** Interface to let you add and remove child views to an Activity. To get an instance
  * of this class, call {
@link android.content.Context#getSystemService(java.lang.String) Context.getSystemService()}.
  */

 

public interface ViewManager

 

/**
 *
<p>
 * A
</code> is a special view that can contain other views
 * (called children.) The view group is the base class for layouts and views
 * containers. This class also defines the
 * {
@link android.view.ViewGroup.LayoutParams} class which serves as the base
 * class for layouts parameters.
 *
</p>

 

public abstract class ViewGroup extends View implements ViewParent, ViewManager

 

public class View implements Drawable.Callback, KeyEvent.Callback,
        AccessibilityEventSource

视图体系

标签:

原文地址:http://www.cnblogs.com/feng9exe/p/5714403.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!