站内搜索: 请输入搜索关键词
当前页面: 图书首页 > MIDP Style Guide for the Java 2 Platform, Micro Edition

MIDP Style Guide for the Java 2 Platform, Micro Edition

[ directory ] Previous Section Next Section

9.4 Gauges in Alerts

An application developer can associate a gauge with an alert to show activity or progress. For example, Figure 9.4 shows an alert that uses a gauge to let the user know that activity is taking place.

Figure 9.4. Alert with a Progress Gauge

graphics/09fig04.gif

Strongly Recommend: graphics/bulb1_icon.gif Gauges in an alert must be noninteractive. Appropriate gauges to show that activity is taking place are continuous, incremental, and progress.

Strongly Recommend: graphics/bulb1_icon.gif Gauges used in an alert cannot have a label, layout directives, or a set height or width. You cannot associate a command with the gauge (although you can associate commands with the alert). In other words, you cannot set item attributes for a gauge in an alert, as you can for one in a form.

See "Gauges" on page 107 for more information on gauges and how to use them.

    [ directory ] Previous Section Next Section