Override an existing callback method for the View.
为视图覆写一个现有的回调方法。
This section offers a step-by-step description of the Extract and Override factory method refactoring.
本节将循序渐进地描述“抽取”和“覆盖”工厂方法重构。
When implementing an interface, your method must override all methods of the interface.
当您在实施一个界面时,您的方法必须替换界面的所有方法。
In a subclass you can make assumptions about the internal state of the superclass when the method you override is getting called.
当子类所重写的方法被调用时,你可以在子类中对父类的内部状态进行操作。
You just override them, which combines the strong points of existing object finding method.
您只是超越了它们,将已存在的对象搜索方法的最强部分结合起来。
The subclass can then override any particular method to alter the behavior of the base reader.
然后让子类改写某些特殊的方法从而改变基本读取器的行为。
So we override that method with an implementation which returns the notification's type and the time at which we received the notification.
因此我们用一个返回通知类型和接收到通知的时间的实现来覆盖那个方法。
The constructor method uses the normalize method to ensure that the override value strings do not contain symbols used by XML parser.
构造函数方法使用标准化的方法来确保重载值中不包含XML 解析器所使用的符号。
A custom component must override this method to commit properties before validation happens.
定制组件必须在验证发生之前覆盖这个方法以提交属性。
In the specialization object, override the creation method to return a mock object that accommodates your test.
在特殊化对象中,覆盖创建方法以返回为测试提供的模仿对象。
Many plug-ins override this method to perform their initialization.
很多插件重载这个方法以完成它们的初始化。
The next thing you have to do is override any method from the base class or classes to populate the column.
接下来需要覆盖来自基类或者类的任何方法来填充列。
You can override a method and invoke the parent implementation.
可以覆盖方法并调用父实现。
Once again, we override the click method.
再一次,我们重写了click方法。
重写apply方法。
In Listing 6, you override the header method, which is called to generate the content for each page's header.
在清单6中,您重写了Header方法,其被调用以便生成每一个页面的标题内容。
Now that you've created a reasonable facsimile of the original header, you also need to override the footer method so you can generate the footer.
现在您已经创建了一个原始标题的合理副本,您也需要重写Footer方法,以便于您生成页脚。
Refactoring: Extract and override factory method.
重构:抽取和覆盖工厂方法。
The container can override an abstract (or concrete) method to return the result of performing a getBean() call at the time when the method is invoked.
容器能够重载一个抽象(或者具体)的方法来在方法被调用时返回执行getBean()调用的结果。
To work around this problem, you must extend the JETEmitter class to override the initialize method and add in your own classpath entries.
要解决这个问题,必须对JETEmitter类进行扩充,使其覆盖initialize方法,并将其加入您自己的classpath项中。
You need to override this method after calling super.updateDisplayList() if you're creating a custom layout, and then substitute the desired logic.
如果您正在创建定制布局,那么需要在调用 super.updateDisplayList() 之后覆盖该方法,然后替换为希望使用的逻辑。
Simply override each abstract method in BridgeFactory, and change it to return true or false, as appropriate.
只需覆盖BridgeFactory中的每个抽象方法,并适当地将它改为返回true或false。
In this sample, only one database is used, but in a multiple database solution, the derived business object classes can override this method, returning their appropriate home Notes database instance.
在这个示例中,只用到了一个数据库,但在多数据库解决方案中,派生的业务对象类可以覆盖该方法,返回其适当的主要Notes数据库实例。
For this purpose we can override the method px_freeze, which performs a "setup" on your data prior to it being stored, and the method px_thaw, which will be called when your data is extracted.
为此,我们可以覆盖方法px _ freeze(它在您的数据被存储之前对其进行“设置”)和方法px _ thaw(在提取数据时将调用它)。
Descendants of this class override the load method to add data to the items table.
此类的子类将覆盖load方法把数据添加到items表中。
You can also override a Dojo widget method, subclass an existing Dojo widget for special behavior, or create your own widget.
也可以覆盖一个Dojo小部件方法、针对特定行为子类化一个现有的Dojo小部件或创建您自己的小部件。
But if you do go with fixed sizes, you don't have to override the measure method, and you can even define the width and height when adding the component to its parent.
但是使用了固定大小时,您就不需要覆盖measure方法,甚至可以在将组件添加到其父组件时定义width和height。
Id: the reference to the class that will override the method.
id:对将覆盖此方法的类的引用。
The annotation indicates that hasCode() should override a method.
注释指明hasCode()应该覆盖方法。
The override for the execute method does the work of generating the page.
覆盖 execute方法是为了生成这个页面。
应用推荐