Using the ProgressBar component in manual mode.
在手动模式使用ProgressBar组件。
Using the ProgressBar component in automatic mode.
在自动模式中使用ProgressBar组件。
Here we demonstrate the use of the progressbar gem.
我们在这里演示progressbargem的使用。
It shows use of the ProgressBar in both modes and in different scenarios.
它显示了ProgressBar在两种模式下的使用以及在不同情景下的使用。
This example contains two ProgressBar widgets, coupled to a standard Scale.
这个例子包括两个ProgressBar窗口小部件,它们连结到一个标准的Scale。
First, you need to add a ProgressBar component, using the code that you see in Listing 13.
首先,您要添加一个ProgressBar组件,使用您在列表13中见到的代码。
A ProgressBar is like an output-only Slider in that it can be used to show incremental activity (progress).
ProgressBar 类似于一个只输出的Slider,因为可以用它来展示增量活动(进度)。
Among them is a ProgressBar component that you can use to provide a visual indication that a task is running.
您能使用的是它们之中的ProgressBar组件,它可以提供一个表示任务正在运行的可视化的指示。
The Basic.jsp page in the attached sample project demonstrates the ProgressBar component in both automatic and manual modes.
附件中样本项目的Basic . jsp页面论证了自动操作和手动操作模式中的ProgressBar组件。
To build this page, you use a ProgressBar component in manual mode, similar to the one used on the basic.jsp page (Listing 10).
要构建这个页面,您要使用手动模式中的一个ProgressBar组件,与您在basic . jsp页面中使用的十分相似(列表10)。
SliderBar and ProgressBar - Both of these widgets currently require the use of a global timer, which has performance implications.
SliderBar与ProgressBar——目前这两个widget都需要使用全局定时器,这会导致一定的性能问题。
Therefore, it was appropriate to use an automatic ProgressBar, and it just kept running until the server finished processing the task.
因此,使用一个自动的ProgressBar 是十分恰当的,它将一直保持运行直到服务器完成这项任务。
After you have the current progress updated in the hidden input field, all that's left to do is to update the ProgressBar component accordingly.
当您当前的进度在隐藏的输入域中更新之后,剩余的任务就是更新相应的ProgressBar组件。
For example, if the ProgressBar with an id of bar1 is inside of a form with an id of form1, its client id will be form1: bar, as shown in the previous code snippet (Listing 1).
例如,如果这个ID为bar1的ProgressBar在一个ID为form1的内部,那么它的客户ID将会是form 1:bar,如先前代码片段中显示的那样(列表1)。
This basic.jsp page does a good job of demonstrating the ProgressBar component, but it's hardly applicable to a real-world Web application, because there is no task to show a progress bar.
这个basic . js p页面很好地演示了ProgressBar组件,但是它几乎不能适用于现实状况的Web应用软件,因为没有任务来显示进度工具条。
This basic.jsp page does a good job of demonstrating the ProgressBar component, but it's hardly applicable to a real-world Web application, because there is no task to show a progress bar.
这个basic . js p页面很好地演示了ProgressBar组件,但是它几乎不能适用于现实状况的Web应用软件,因为没有任务来显示进度工具条。
应用推荐