finally, i create the buttonpanel and the buttons and add everything to the content pane of the jframe.
最后,我创建了buttonpanel和按钮,并添加了一些jframe的内容面板。
the next content pane will use a dojo grid to display the list of back order items that may be ordered from a supplier. to develop this, follow these steps
下一个内容窗格将利用一个dojo表格来显示可能是从供应商那订购的后台命令列表。
drop grid from the dojo a “ other palette drawer within the content of the second content pane (between its and tags).
在第二个内容窗格(在它的 和 标签之间)的内容中, 将grid从dojo – other 调色板抽屉中拖拽出来。
it is this content pane that you use to set the layout manager and add components to, as shown in figure 1.
而您要用这个内容窗格来设置布局管理器和添加组件,如图1所示。
the left content pane will contain the grid, and the right will contain the fields.
左边内容格子会包含了表格,右边的会包含区域。
it is important to communicate which content pane is currently being viewed.
如果重点要显示当前正在看的窗口内容。
a container silently creates a content pane that holds a control「s children.
容器默认创建一个内容面板,用于容纳控件的子控件。
there are multiple panes of content, but there is space to only show one content pane at a time.
当有多个窗格的内容,而每次只能显示一个窗格。
it is important to point out that the content pane hasn」t been removed from the framework, just that you typically don「t need to deal with it directly.
指出这样一点很重要,即内容窗格并没有从框架中删除掉,只是您通常不必直接处理它了。
the last content pane will contain dojo buttons that enable a user to act on a selected item in the grid.
最后一个内容窗格将包含能够使用户执行格栅中被选择条目的dojo按钮。
you might wonder why there is a content pane in the first place, as well as why it」s required.
您可能想知道为什么出现内容面板,以及为什么需要内容面板。
prior to the 5.0 release, you just always had to remember to get the content pane first, before doing much of anything.
在5.0版本之前,您必须记得在做其他任何事之前,要先获得内容窗格。
it「s a powerful way to add interesting and relevant features, and the code can be added to a simple content pane within drupal.
这是添加有趣及相关特性的强大方式,可以将代码添加到drupal内的简单内容面板。
for convenience, i begin by creating two local variables to hold the frame」s content pane and the jtabbedpane.
为了方便起见,我在开始时就创建了两个局部变量来保存该框架的内容面板以及jtabbedpane。
such elements are added to the container, and the content pane takes care of child additions only.
这些元素被添加到容器中,而内容面板仅负责处理添加的子元素。