Vim很好地支持编辑时自动代码布局(见:helpindent . txt和:helpfilter)。
Vim has good support for automatic edit-time code layout (see: help indent.txt and: help filter).
在上述代码中,父类的构造函数接受一个参数,一个表示布局的整型参数。
In the code above, the constructor of the parent class takes one argument, an integer representing the layout.
视图与页面模板紧密结合,页面模板包含必要的布局代码和标记,以将视图正确地呈现给用户。
Views are closely coupled with page templates, which contain the layout code or markup necessary to correctly present the view to the user.
这种方法还会使整个用户界面是可配置的,而且在XML文件中描述的GUI布局与应用程序代码分开。
This approach also makes the whole user interface configurable, with the GUI layout being described in an XML file separate from the code of the application.
清单2显示了设置基本布局所需的代码;它应当是自解释的。
Listing 2 shows the code needed to set up the basic layout; it should be self-explanatory.
清单6给出了一小段用来设置数据布局面板成为不可见的代码。
Listing 6 gives a piece of code, which sets the data layout panel invisible.
尽管对FXG和CSS进行比较似乎有点奇怪,但FXG完成的任务在概念上与CSS完全相同:它将布局代码和样式信息分离开来。
Although it may seem strange to compare FXG to CSS, FXG conceptually accomplishes the same exact thing as CSS: it separates the layout code from the style information.
代码是和表及小的间隔图片一起装入的,目的是得到所需布局。
The code was loaded with tables and small spacer images to achieve the desired layout.
布局代码中的窗口一侧的便捷工具不是必需的。
Marginal convenience in your layout code is not a necessity.
您会注意到,代码示例被设置为适合用作不同用户界面小控件和布局想法的测试温床。
You'll notice that the code sample is set up to be useful as a test bed for different UI widgets and layouts ideas.
布局代码剩下的部分非常简单。
这在实践上是很容易的;只要不编写对堆栈桢执行低级操作或对堆栈的布局作假设的代码就行了。
In practice this is easy; just don't write code that does low-level manipulations of the stack frame or makes assumptions about the stack layout.
但是,由于页面布局和程序数据合并到程序代码中,所以如果布局发生更改,则可能需要重构程序。
However, since the page layout and program data are merged in the program code, if the layout changes the program may need to be rebuilt.
尽管通常情况下最好使用布局视图,但也可以在此标签页中编辑XML代码。
It is possible to edit the XML within this TAB, although it is generally best to use the Layout View.
如果您有更好的想法帮助达到“液态布局”的话,设计团队欢迎提交代码补丁。
The team is also accepting patches if you have better ideas about how to approach the "liquid layout" they're going for.
这使得我们可以用一个简洁的字符串来描述布局规格,而不比长篇累牍编写很多行代码来指明约束或者创建面板层次结构。
This makes the layout specification a compact string, instead of many lines of code specifying constraints or setting up hierarchies of panels.
这些内容可以帮助开发布局良好的代码,但在JSP文件应用到生产环境前,将使用工具对其进行处理,除去其格式设置。
It can be helpful to have code in development that is nicely laid out, but it is processed and stripped off its formatting with a tool before the JSP files are applied to your production environment.
能被任何设备调用的JSP代码实际上生成同样的标记,当这些标记应用于设备的布局中时数据才被删减。
The JSP code that is invoked for any of the devices can actually emit the exact same markup, the data pruning will take place when the markup is applied to the layout of each device.
在表下面的报告布局中创建一个label,并添加以下代码。
Create a label in the report layout below the table and add the following code.
一个布局是包含HTML标记和CakePHP代码的文件。
清单1中的示例使用下列代码片段中的那些变量来告诉Fop文档所需的页面布局。
The example in Listing 1 uses those variables in the following code snippet to tell Fop the page layout wanted for the document.
尽管JRuby使得用Swing开发GUI变得更方便,但是你还是需要手写很多代码,当需要复杂布局时更是如此。
Even though JRuby makes GUI development with Swing more comfortable, you still have to write a lot of code manually, especially when you need to use complex layouts.
SQLPrompt: SQL服务器智能代码填写和布局“为我所有的编程提速。”
SQL Prompt: Intelligent code completion and layout for SQL Server. “Accelerates all my programming.”
FlexBuilder是一个基于Eclipse的IDE,它提供了很多很棒的特性,例如代码完成、分步调试和可视化布局的拖放设计。
Flex Builder is an Eclipse-based ide that provides many great features such as code completion, step-through debugging, and drag-and-drop design of visual layouts.
有了它,你能够在屏幕上设计全页面的布局,而不用去写ERb(嵌入的Ruby)模板代码了。
So you will be able to design full-page layouts on screen as an alternative to writing ERb (embedded Ruby) templates in code.
设计师可以处理布局和格式,甚至不用接触实际的XHTML和XForms代码。
The designer can work on the layout and formatting without even touching the actual XHTML and XForms code.
从代码中删去call - template元素,以去掉布局中的properties段落,如列表7所示。
Delete the call-template element from the code to remove the Properties section from the layout, as Listing 7 shows.
布局区域本身不能在浏览器上显示,但是您可以使用标记或表来模拟布局(标记是一种HTML代码,用于在页面上任何位置放置一段内容)。
The layout region itself cannot be presented to browsers, but you can mimic the layout with tags (HTML code that allows you to position a block of content anywhere on the page) or tables.
调用解析器,在TextView小部件中显示结果,在布局文件中作为R.id.txtData识别,在代码中作为 tvData 引用
Invokes the parser and displays the results in a TextView widget identified in the layout file as R.id.txtData and referenced in the code as tvData
我们不需要编写一行代码就可以启用这个布局行为,Grid容器和布局系统会为我们自动调整大小或流动其中的任何东西。
We did not need to write a single line of code to enable this layout behavior - the Grid container and the layout system took care of dynamically resizing and flowing everything for us.
应用推荐