Let's define area as a property to the prototype object of rectangle.
我们把are a定义为Rectangle的一个属性。
The prototype object is copied exactly, but given a different name (or reference).
原型对象以重新给定名字(或引用)的方式被确实的复制了。
Because QBE USES a prototype object as its template to search for data, there are a few simple rules regarding its usage.
由于QBE使用原型对象作为其模板来搜索数据,关于其用法有一些简单的规则。
Hence prototype object is the best place to define methods like area which remain the same for all Rectangle objects.
因此prototype对象是一个最理想地方来存储像area这个所有对象都相同的属性。
Based on a prototype object oriented knowledge base (OOKB), the differences between OOKB and traditional KB are pointed out.
以此为基础,建立了面向对象知识库的原型,并将其与传统知识库进行了比较。
In case a property is added to the prototype object after an object was created, then too the object would inherit the newly added property.
当一个属性在对象实例被创建之后被加在prototype对象中。那么这个对象实例同样也会继承这些新加的属性。
Though all objects can read the properties of their prototype object without any issues, modifying them can cause certain issues.. Why is this so?
尽管所有的对象都能顺利的从prototype对象中读取属性,但是却无法修改它们,为什么会这样呢?
Still any code is allowed to modify properties defined on the prototype object as long as the modification is directly on the prototype object itself, and not on the instance.
尽管如此,我们仍然可以在对象的prototype的生命周期内来修改它本身的属性,但不是在对象的实例上。
The prototype object for Rectangle is associated with its constructor and any properties defined by the prototype object are inherited by each and every object created using the constructor.
Prototype对象与构造器有关,prototype对象里定义的任何属性都被每个由于构造器实例化的对象所继承。
They are properties of the object prototype, but unlike the state variables, they have default values as shown in Listing 17.
它们是对象原型的属性,但是与状态变量不同,它们具有清单17所示的默认值。
Each object of a certain class has the same prototype.
某个类的每个对象都有相同的原型。
The object prototype is a good place to define nearly everything related to the finite state machine: the state table, its actions, and their parameters.
对象原型是定义与有限状态机有关的几乎任何东西的合适位置:状态表、它的操作及其参数。
Now that you have hooked cursor events in all popular browsers, your object constructor is complete and you can return to the object prototype.
既然已经连接了所有流行的浏览器中的鼠标事件,对象构造方法已经完整了,可以返回到对象原型了。
Prototype mode ensures that each retrieval will result in the creation of an independent object.
原型模型确保每次检索都会创建单独的对象。
Prototype mode would be best used in a case where each user needed to have his or her own object.
在每个用户都需要自己的对象时,原型模型最适合。
Ioke is a strongly typed, extremely dynamic, prototype based object oriented language.
Ioke是一个强类型、动态、基于原型的面向对象语言。
Funct is an invocation, but new Animal constructs an object based on the prototype in Animal.
funct是一种调用,但newAnimal却基于animal内的原型构造一个对象。
In a prototype life cycle, the Apache Wink run time instantiates a new object for every incoming request.
在原型生命周期中,ApacheWink运行时为每个传入请求实例化一个新的对象。
Additionally, the Prototype framework provides a global Ajax object that makes your Ajax functions easy to write and, even better, easy to process.
另外,Prototype框架还提供一个全局Ajax对象,这个对象使Ajax功能更容易编写、效果更好、更容易处理。
Prototype actually adds some extra methods to the return object, depending on its type, as you will see later.
实际上,根据对象类型,Prototype会向返回对象添加一些额外的方法(稍后介绍)。
Because the object doesn't have an execute method, the next place to look for it is the object's prototype, followed by the prototype's prototype and so on.
由于对象没有execute方法,下一个将查找对象的原型,然后是原型的原型,依此类推。
Remember that the prototype is an object, so it is also an associative array.
请记住,原型是一个对象,所以它也是一个关联数组。
Actually, given that each class is itself a perfectly good object, the above system is closer to prototype-based OOP systems than class-based ones.
实际上,如果每个类本身都是一个对象,那么以上系统更接近基于原型的OOP系统而不是基于类的系统。
The transport object itself is now wrapped by prototype.
传输对象本身现在被Prototype包装起来了。
You can use the instance variable called prototype to specify the basis for your object.
您还可以使用名为prototype实例变量来指定对象的基础。
Each generated function USES an XHR object whose prototype can be found in the xhr.js file that MonitorPage.jsp imports in its header.
每个生成的函数使用一个xhr对象,对象的原型可以在MonitorPage . jsp在其头部导入的xhr . js文件中找到。
When invoked with the new operator, the constructor function creates what is known as a prototype for an object; that is, it creates a template from which to build objects of the given kind.
当调用new操作符时,构造函数就为对象创建一个所谓的原型(prototype);也就是说,它创建了一个模板(template),从中构建给定类型的对象。
The returned properties are both those that exist on the object instance and those inherited through its prototype chain.
返回的属性包括对象的实例属性和它从原型链继承而来的属性。
A prototype system of facial modeling and animation based on object oriented component is designed and implemented.
设计和开发了基于组件技术的人脸建模与动画原型系统。
Use: : to assign your new function to the prototype of the object or class.
使用:给对象或者类的原型赋值上你的新函数。
应用推荐