NSControl的继承图
来源:互联网 发布:ubuntu切换中文输入法 编辑:程序博客网 时间:2024/06/05 17:42
To better understand NSControl, you should become acquainted with its ancestors: NSControl inherits from NSView, which inherits from NSResponder, which inherits from NSObject. Each member of the family tree adds some capabilities (Figure 5.3).
Figure 5.3. Inheritance Diagram for NSControl
At the top of the class hierachy is NSObject. All the classes inherit from NSObject, and this is where they get the basic methods:retain, release, dealloc, and init. NSResponder is a subclass of NSObject. Responders have the ability to handle events with such methods as mouseDown: and keyDown:. NSView is a subclass of NSResponder. NSView has a place on a window, where it draws itself. You can create subclasses of NSView to display graphs and allow the user to drag and drop data. NSControl inherits from NSView and adds the target and the action.
- NSControl的继承图
- NSControl继承
- 继承的关系图!
- 继承,继承的好处
- 框架的类继承图:
- UI类的继承图
- iOS 类的继承图
- QCustomPlot类的继承图
- 保护继承 和 各类继承关系的属性(图)
- 关于继承,函数的继承
- 关于继承,函数的继承
- JavaScript的继承--组合继承
- java 继承 继承的限制
- c++类的继承:私有继承,公有继承,保护继承
- AWT事件的继承关系图
- cocos2d显示对象的继承图
- Android控件的继承关系图
- android控件的继承关系图
- GridView动态生成列方法
- 简单归纳一下行业现状
- iptables的详细用法
- bbossgroups 3.3 发布
- 2011阿里巴巴程序设计公开赛 / 1004 Level up
- NSControl的继承图
- ORA-00600: internal error code, arguments: [keltnfy-ldmInit], [46], [1], [], [], [], [], []
- 数字,字符串的从尾到头的输出
- 华为_C++ 笔试题目
- POJ 2760: 数字三角形最近的提交: Accepted
- 用C#写了一个新增用户就发送邮件和手机短信的SqlServer触发器(附源码)
- POJ3041 Asteroids 二分匹配-匈牙利算法
- pku acm 1002
- c# WinForm开发 DataGridView控件的各种操作总结(单元格操作,属性设置)