During which it adds user defined properties, and finds the main class name.
在这个过程中,它可以添加用户定义的属性,找到主类名。
The object binding component is what actually adds new methods to a class included in the binding.
对象绑定组件是向绑定中包含的类实际添加新方法的组件。
This function then determines if the element already has the class name highlight, and removes or adds based on its findings.
该函数会判断元素是否已经高亮显示了类名,并根据查找结果执行添加或删除。
The CSS class adds a nice big hard-to-miss link at the bottom of the desktop pane.
该CSS类将在桌面窗格的底部添加一个漂亮的、很难忽略的较大的链接。
Listing 2 adds a class to the source shown in Listing 1 and registers that error handler with the parser.
清单2在清单1中所示的源代码中添加一个类,并在语法分析器中注册该错误处理程序。
Including tag or class qualifiers just adds redundant information that needs to be evaluated needlessly.
加上标签或类的限制只增加了多余的、引起不必要评估的信息。
This base class adds functionality for testing GWT code as well as handling some of the plumbing to get a GWT component up and running.
该基类添加了一些功能,可测试GWT代码并处理某些基础实现从而启动并运行GWT组件。
At some point, class B is created, and class a adds a reference to this newly created class.
在某个时候,类b被创建,类A添加对这个新创建的类的一个引用。
You might add a check in the metaclass code to see if the attributes were already set in a parent class, but this adds plumbing and it does not give real control on a per-class basis.
也许会在元类代码中添加一个检查,以查看是否在父类中设置了这些属性,但是这样会增加负担,并且不会控制所有的类。
The binding compiler adds JiBX binding code to your class files, preparing them for use with the JiBX runtime.
绑定编译器将JiBX 绑定代码添加到您的类文件,编译它们以在 JiBX运行时使用。
Then, it adds a convenience method to the target class, returning true if the instance is in the current state.
然后,它将一个方便的方法添加到目标类中,如果实例位于当前状态则返回true。
Begin by creating a definition file that extends the default_formatter class and adds the needed pieces to display the connector data in the detail view.
首先创建一个扩展default _ formatter类的定义文件,并添加必要的代码片段以在一个细节视图中显示连接器数据。
You will then learn how to create a more complex extension which changes the functionality of an existing Ext JS class and adds some new features.
然后,您将学习如何创建一个更复杂的扩展,可以修改一个已有ExtJS类的功能以及添加一些新特性。
In contrast, the ButterflyXmlFile class adds both a concept and a bit of functionality to the concept and functionality of a plain file (see Listing 6).
相比之下,butterflyxmlfile类将概念和一些功能添加到纯文本文件的概念和功能中(参见清单6)。
The JVM effectively automatically adds JARs referenced in a Class-Path header to the class path when loading a JAR that USES the extension mechanism.
在装载使用扩展机制的JAR时,jvm会高效而自动地将在Class - Path头中引用的JAR添加到类路径中。
My second extension adds a simple naming convention to the ModelMBean class to transparently configure customized notification messages.
我的第二个扩展为modelmbean类增加一个简单的命名规范,以透明地配置定制的通知消息。
Furthermore, I'd be tempted to simply consider the entire hierarchy as one entity for now, since the remaining class, Country, only adds one contract, and frankly it's not all that exciting.
而且,现在我会倾向于把整个层次结构简单地看作一个实体,因为剩余的类Country仅仅添加了一个契约,坦白地说它并不是那样令人兴奋。
Listing 5 adds a method to the Dictionary class and invokes it.
清单5向Dictionary类中添加一个方法,并调用该方法。
ActMacro opens the class and adds them.
ActMacro打开类并添加它们。
The ConcurrentDictionary class supports atomic adds and updates.
ConcurrentDictionary类支持原子性的添加和更新操作。
The panel class sets the element's border to the size of the device box, adds 10 pixels of padding, and puts the background color and pinstripes on the page.
panel类将把元素的边界设为设备框的大小,添加10个像素的填充,并且设置页面的背景颜色和条纹。
Listing 7 enhances the search engine script from Listing 6 with these additional parameters, and adds paging support with the Pager class in pear.
清单7使用这些额外的参数对清单6中的搜索引擎脚本进行了增强,并使用PEAR中的Pager类添加了分页支持。
Active Record associates a class with a table and dynamically adds an attribute to each class for every column in the database.
ActiveRecord将类和表关联起来,并按照数据库中的每一列给每个类动态地添加一个属性。
Listing 6 shows the final portion of the implementation code, which actually adds the toString method to a class.
清单6展示了实现代码的最后部分,它实际上向类添加了toString方法。
Ruby opens a class and adds a method with the name and body you provide to the Dog class.
Ruby打开一个类并添加一个带有您提供给dog类的名称及主体的方法。
Most of the methods available in this class are trivial, so let's focus on the method that adds a new logger filter as shown in Listing 3.
本类中包含的大多数方法都很普通,因此让我们重点关注添加新logger过滤器的方法,如清单3所示。
This function iterates as many times as the value of the $indentation class variable, and for each iteration it adds the $indentationValue class variable to $xml, and returns it.
此函数需要迭代的次数与 $indentation类变量值相同,对于每次迭代,它将 $indentationValue 类变量添加到 $xml,并将后者返回。
Then the SalaryRate class inherits those fields and adds a yearlyRate field, as shown in Listing 5
SalaryRate类继承这些字段并添加一个yearlyRate 字段,见清单5
The -cp. Option adds the current directory to the search "class path". You should get the following output.
cp选项会把当前目录加入到“类路径”的搜索中去。
The top-level class is DisplayObject, which Flex adds to the Stage object, or the universal display list, of Flash Player.
最顶层的类是DisplayObject,Flex 将它添加到Flash Player的Stage对象或通用显示列表。
应用推荐