The UI visible in Figures 1, 2, and 3 is a canvas container that holds three user interface components: the table and two menu buttons.
在图 1、2 和 3 中可见的 UI 是一个画布容器,它们包含 3 个用户界面元素:表和两个菜单按钮。
We add the table and two menu buttons to the canvas container in the createChildren function (Listing 11), which overrides the same function in the base class.
我们在createchildren函数中将表和两个菜单按钮添加到画布容器中(清单11),该函数将覆盖基类中的相同函数。
Then put a general-purpose container figure like Panel on the canvas.
然后,将一个类似 Panel 的通用容器图放在画布上。
应用推荐