与宿主类的关系 如果你创建了一个内部类,那么这个内部类的对象,就与创建它的“宿主类的对象(enclosing object)”产生了某种关系,这样它就能访问宿主类对象的成员了--不需要任何特别的授权。此外,内部类还能访问宿主类的所有元素。
基于12个网页-相关网页
Enclosing MovieClip Object 封闭的影片片断对象
What action should the program take when the selected object is dragged beyond the border of the enclosing application?
当选中的对象拖出封闭应用程序的边界时,程序应该如何解释?
When you use a closure, remember that the call object of the enclosing function, including all function arguments and local variables, will last as long as the closure does.
当你使用闭包时,记得包含函数的调用对象,包括所有的函数参数和本地变量,会有跟闭包一样的存活时期。
Retrieves a text range enclosing a child element such as an image, hyperlink, or other embedded object.
检索包含子元素(例如图像、超链接或其他嵌入对象)的一个文本范围。
应用推荐