• Create a class that extends uicomponent.

    创建一个扩展uicomponent

    youdao

  • This code creates a simple MyLabel class that extends UIComponent, so you can concentrate solely on the measurement phase.

    段代码创建了一个简单的扩展uicomponentmylabel因此仅需关注度量阶段

    youdao

  • Then extend from the base class UIComponent, and override the updateDisplayList() method to draw the custom vector drawing.

    然后UIComponent 扩展覆盖updateDisplayList()方法绘制这个定制矢量

    youdao

  • However, the real hero in this set of classes is the UIComponent class, which provides the basic framework you need to write custom components.

    不过这个集合中的主角uicomponent提供编写定制组件所需基础框架

    youdao

  • Listing 16 shows you how to extend from a UIComponent, override updateDisplayList , and create lines using the graphics object of the link component.

    清单16显示了如何扩展UIComponent覆盖updatedisplaylist使用链接组件graphics对象创建线条

    youdao

  • This is also the point at which half of the testing frameworks fail, because they don't actually allow you to add UIComponent to the display list for testing.

    这里也是一半测试框架不到地方,因为它们实际上允许UIComponent增加显示列表进行测试。

    youdao

  • You can leverage this functionality by extending SkinnableComponent (shown in Listing 1) for controls instead of UIComponent, as you would when using the Halo library.

    可以通过扩展SkinnableComponent(如清单1)而不是UIComponent(使用halo使用)来进行控制,从而利用这个功能

    youdao

  • Flex components that extend the Flex UIComponent base class allow you to set common styles as properties inline-in other words, within the MXML component declaration tag (see Listing 1).

    扩展FlexUIComponent的Flex组件允许作为内联属性设置常见样式换言之,即MXML组件声明标签内(参见清单1)。

    youdao

  • When you develop your own components you will subclass UIComponentBase, which extends UIComponent, and provides default implementations of the all of the abstract methods in UIComponent.

    开发自己组件,需要继承uicomponentbase扩展了UIComponent提供了UIComponent所有抽象方法默认实现

    youdao

  • When you develop your own components you will subclass UIComponentBase, which extends UIComponent, and provides default implementations of the all of the abstract methods in UIComponent.

    开发自己组件,需要继承uicomponentbase扩展了UIComponent提供了UIComponent所有抽象方法默认实现

    youdao

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

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

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