首页 / 词典 / good

uicomponent

uicomponentuicomponent
  1. Create a class that extends UIComponent

    创建一个类,扩展UIComponent

  2. 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类,它为您提供编写定制组件所需的基础框架。

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

    然后从基类UIComponent扩展,并覆盖updateDisplayList()方法来绘制这个定制矢量图。

  4. 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增加到显示列表进行测试。