• Listing 12: Moving methods into a widget class.

    列表12:将方法移至小窗口(widget)类。

    youdao

  • Listing 14: Code for script to use with widget class.

    列表14:脚本所使用的小窗口代码。

    youdao

  • Implementing the widget-specific template and the widget class.

    实现特定于小部件的模板和小部件类。

    youdao

  • A script can now use this widget class by including code similar to the following.

    脚本可按照如下代码使用小窗口类。

    youdao

  • Much easier would be to use a widget class that wraps this functionality into easy-to-remember methods, like this.

    使用窗口小部件类要容易得多,可以将这项功能封装到易于记住的方法中,如下所示。

    youdao

  • To accomplish this, create a ListBox widget class similar to the one created earlier for TextField, and then add select() and find() methods to it.

    要完成这项操作,需要创建ListBox 窗口小部件类,创建过程与前面创建TextField的相似,然后将select()和find()方法添加到该类中。

    youdao

  • The base widget class has been designed to take advantage of the inheritance feature provided by Dojo. Following are some of the functions the the base widget implements.

    基本小部件类的设计利用了Dojo提供的继承特性,以下是基本小部件实现的一些功能。

    youdao

  • When you face such a situation, wrap the custom control in its own widget class, inheriting other standard widgets when appropriate, and then wrap the invoke call in a method of this class.

    遇到这种情况时,可以将定制控件封装到其自己的窗口小部件类中,根据需要继承其他标准窗口小部件,然后将invoke调用封装到该类的方法中。

    youdao

  • We researched the characteristics of the OOP language. In view of the characteristics of GUI application programming, definitions of widget structure and widget class have been abstracted.

    对面向对象编程语言的特性进行了一定的研究,针对GUI应用编程的特点,抽象出了组件结构和组件类的定义。

    youdao

  • In fact, our Widget class above could have been declared to be a trait.

    实际上,我们的Widget类也可以被声明为一个trait。

    youdao

  • The superclass of pretty much everything you can render in a GWT UI is the Widget class.

    Widget类是可以呈现在GWTUI中的几乎所有类的超类。

    youdao

  • I want to discover this as soon as possible, before wasting time writing even more code that calls the Widget class.

    在花费更多时间编写其他调用Widget类的代码前,我希望尽早发现类似问题。

    youdao

  • Let's say that as a user of the Widget class, you don't know whether the accessors have value or reference semantics.

    假设您是Widget类的一个使用者,您并不知道存取器具有值语义还是引用语义。

    youdao

  • What if I'm happily writing code that calls the Widget class. What I don't know is that my team member Jim removed the Widget class one hour ago, in conjunction with a refactoring.

    假设我正在兴高采烈地编写调用Widget类的代码,我却不知道团队成员Jim在一个小时之前进行重构时移除了Widget类。

    youdao

  • This may well be confusing both to the caller (because the first Widget got moved unexpectedly) and to the Widget class (because its location changed without the Widget code being involved).

    这可能对于调用者(因为第一个Widget意外地移动了)和Widget类(因为它的位置改变了,而与Widget代码无关)来说都会产生混淆。

    youdao

  • This may well be confusing both to the caller (because the first Widget got moved unexpectedly) and to the Widget class (because its location changed without the Widget code being involved).

    这可能对于调用者(因为第一个Widget意外地移动了)和Widget类(因为它的位置改变了,而与Widget代码无关)来说都会产生混淆。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定