Define the renderer or implement inline.
定义渲染器或者内联地实现它。
Listing 14 shows the cell renderer for a JList.
清单14显示了JList的单元呈现程序。
For mobile tests the page is loaded by a WebKit renderer.
测试移动网页时,Google使用WebKit的渲染引擎来加载。
Finally, a renderer for sending a 406 response code (Figure 16).
最后是用来发送406响应代码的呈现(图16)。
The next thing to do is define the renderer functionality inline.
下面要做的是内联地定义渲染器的功能。
A result Web page generated by the view -renderer JSP, result.jsp.
视图-生成器js p生成的一个结果We b页面result .jsp。
The renderer converts the values of the component to appropriate markup.
渲染器把组件的值转换成适当的标记。
Instead, they delegate that task to a component created by a renderer.
而是将此任务委托给由呈现程序创建的组件。
Thus, JSF components consist of two parts: the component and the renderer.
因此,JSF组件由两部分构成:组件和渲染器。
Formatter: : Template provides a simple templating system for renderer options.
Template提供了一个简单的包含各种显示选项的模板系统。
We modify the current row data object after it gets passed to the item renderer.
我们在当前的行数据对象传递到项呈现器之后修改它。
The renderer can then stretch the image in a certain way to fit the allotted space.
然后呈现程序可以通过一定的方式拉伸图像,以适合指定的空间。
We created our own item renderer to customize our data before showing it to the user.
在向用户显示数据之前,我们通过创建自己的项呈现器来定制数据。
The family property shown below is used to associate the Label component with a renderer.
下面显示的family属性用来把Label组件与渲染器关联。
Autocad models, X3D, and other three-dimensional objects still need a custom renderer.
Autocad模型、X3D和其他三维对象仍然需要专门的呈现工具。
The Renderer class will then use the attributes map to render class and style attributes.
Renderer类会使用属性映射去渲染类和样式属性。
Each instance of the renderer program fetches a partial scene and builds a finished frame.
渲染程序的每一个实例都取得一部分场景并构建出一个完成的帧。
As previously mentioned, the main thing this renderer does is decode input and encode output.
正如前面提到的,渲染器做的主要工作就是解码输入和编码输出。
PDF creation - This section show you how to use a XSL-FO renderer (FOP) to create a PDF document.
PDF的创建——本小节向您展示如何使用XSL - FO处理器(XSL - FOrenderer,FOP)来创建PD f文档。
These are used to look up the correct renderer and the component that is configured in faces-config.xml.
这些方法用于查找配置在faces - config . xml中的正确的渲染器和组件。
If you're wondering how the component is associated with the renderer, simply take a look at Figure 6.
如果想知道如何把组件和渲染器关联,那么只要看看图6即可。
Sun's JSF RI expects a renderer will send a null pointer exception if your component doesn't have a renderer.
Sun的JSFRI期望,在组件没有渲染器的时候,渲染器会发送一个空指针异常。
First, on Windows, we use a sandbox that prevents us from displaying Windows from our renderer processes.
首先,在windows系统上,我们使用了沙箱阻止了我们从渲染进程中显示窗口。
Run the page on the server, and you will see the component renderer in the browser, as shown previously in Figure 12.
在服务器上运行这个页面,您将在这个浏览器中看到这个组件描绘器,如先前图12所示。
Let's first consider the following code snippet in Listing 16 that shows how such a dynamic renderer can be built.
我们先考虑清单16中的代码片段,它说明如何构建这样的动态呈现器。
Otherwise, nothing would be shown on the screen because the SVG renderer does not zoom-in on the area in question.
否则,屏幕上不显示任何东西,因为SVG呈现器不能在当前区域放大。
With a delegated implementation approach, the component delegates to a renderer that does the encoding and decoding.
使用委托实现方式,组件委托渲染器进行编码和解码。
At runtime, the renderer converts the panel definition into the actual user interface, producing the necessary HTML code.
在运行时,此呈现器将面板定义转变为实际的用户界面,生成所需的HTML代码。
At runtime, the renderer converts the panel definition into the actual user interface, producing the necessary HTML code.
在运行时,此呈现器将面板定义转变为实际的用户界面,生成所需的HTML代码。
应用推荐