使用模版样的布局和视图来分离逻辑与表现
uses template-like Layouts and Views to separate logic from presentation
通常,这将通过含有布局和视图(与浏览器友好的网站的其余内容保持一致)的页面显示。
Normally, it would display the page with a layout and view consistent with the rest of your browser-friendly Web site.
最后,小部件的定义文件还指定了小部件视图和编辑模式的布局。
Lastly, the widget definition file also specifies the widget layout for view and edit modes.
视图与页面模板紧密结合,页面模板包含必要的布局代码和标记,以将视图正确地呈现给用户。
Views are closely coupled with page templates, which contain the layout code or markup necessary to correctly present the view to the user.
类中有一些方法可以被回调,以便向表视图提供数据和布局信息。
There are methods in the class that get called back to feed both data and layout information to the table view.
举例来说,一个包含文本视图和一个按钮的简单垂直布局如下。
For example, a simple vertical layout with a text view and a button looks like this.
这些操作说明只适用于具有导航器(提纲)、列表视图和预览布局的简单应用程序。
These instructions work only on simple applications with a navigator (outline), list view, and preview layout. Here is a list of caveats.
和任何PortfolioManager视图一样,这种布局可以由个人用户来裁剪。
As with any Portfolio Manager view, the layout can be tailored by the individual user.
从图3可以看出,AdminIndexAction生成的摘要视图与这个WASP应用程序的其他公共页面拥有相同的布局和外观。
You'll notice from Figure 3 that the summary view generated by the AdminIndexAction has the same layout and appearance as the other public pages of the WASP application.
在流程图中有两种类型的视图可用:Swimlane视图和Free - Form布局(参阅流程图观察获取更多细节)。
There are two types of views enabled in the process diagram: Swimlane view and Free-Form layout (see the sidebar process diagram viewing for more details).
VisualDesign编辑器用于布局视图组件和创建应用程序对话框或流。
The Visual Design editor is used to lay out the view components and create the application dialog or flow.
主页视图和联系人列表视图是两处需要增强页面布局的位置,以便利用桌面浏览器提供的更大的屏幕大小。
The home page view and the contact list view are two places where page layouts were enhanced to exploit the larger screen size available with desktop browser.
提供灵活的布局,使用户能够调整主视图和细节视图的大小。
Provides a flexible layout that enables users to adjust the size of both the master view and the detail view.
PHP和PHPDebug透视图图标看起来与PHPEclipse透视图(这里没有显示)不太一样,它们为PHP开发提供了一种新的布局。
The PHP and PHP Debug perspective ICONS look slightly different than the PHPEclipse perspective (not shown here) and provide a new layout for your PHP development.
透视图是Eclipse根据您要执行的特定任务分组各个视图、工具栏和菜单布局的方法。
Perspectives are an Eclipse way of grouping the layout of the various views, toolbars, and menus according to the specific task you're doing.
图2 - 1展示了一个垂直滚动刘布局安排单元格和增补视图。
Figure 1-2 shows how a vertically scrolling flow layout arranges its cells and supplementary views.
布局对象通过计算区域来一次性布局所有的视图和单元格,并为所有的视图选好合适的位置。
To compute the area, the layout object places views and cells one at a time, choosing the most appropriate location for each.
这些控件改变整个视觉显示的外观,即正常视图、页面布局和大纲视图。
These controls change the appearance of the entire visual display-normal view, Page Layout view, and Outline view.
或许不是很明显,但是第二第三个布局产生一样的行为:即使父视图的尺寸发生改变,它们都让视图和父视图的边距保持不变。
It may not be obvious, but the second and third layouts produce identical behaviors: They both maintain a fixed margin between the view and its superview as the superview's width changes.
尽管你的数据源支持视图和实际内容,布局对象决定了视图的大小,位置,和其他视图的布局相关的属性。
Although your data source object provides the views and the actual content, the layout object determines the size, location, and other appearance-related attributes of those views.
请注意每个布局都有一个视图和两个水平约束。
Notice that each layout has one view and two horizontal constraints.
在这个流布局中,单元格和增补视图的大小被指定为属性,不管是在布局对象,或者是代理。
In the case of the flow layout, the size of the cells and supplementary views are specified as properties, either on the layout object or by using a delegate.
页边距可以用来帮助您的布局视图和子视图。
自动布局然后根据这些约束来计算每个视图的尺寸和位置。
Auto Layout then calculates the size and location of each view based on these constraints.
比如,流动布局支持页眉和页脚作为增补视图。
For example, the flow layout supports headers and footers as optional supplementary views.
你可以使用手势识别来调整集合视图中的布局属性和操作视图中的元素。
You can use gesture recognizers to tweak layout attributes or to manipulate items in a collection view.
和单元格视图不同的是,增补视图不是强制要求的,他们的使用和位置受控于布局对象。
Unlike cells, supplementary views are not mandatory, and their usage and placement is controlled by the layout object being used.
最常用的定义布局和默示视图层的办法是应用XML布局文件。
The most common way to define your layout and express the view hierarchy is with an XML layout file.
最常用的定义布局和默示视图层的办法是应用XML布局文件。
The most common way to define your layout and express the view hierarchy is with an XML layout file.
应用推荐