站内搜索: 请输入搜索关键词
当前页面: 图书首页 > 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

10.1 Title and Ticker

A canvas screen can have a title and ticker, just as the high-level screens do. The title and ticker take away space from the content region of a canvas screen, however. The canvas has more space for content without them. Notice the difference in the space available for the drawing of the game screen in Figure 10.2. Displaying a canvas without a title or ticker is called full-screen mode. (See "Full-Screen Mode" on page 38 for more information on how the screen can change.)

Figure 10.2. WormGame Canvas with and without a Title or Ticker

graphics/10fig02.gif

Application Developers

Strongly Recommend: graphics/bulb1_icon.gif Decide whether to use a title or ticker before displaying the canvas. If you go to full-screen mode after a canvas has been displayed, the canvas will have to be redrawn. Redrawing the canvas to resize the content area interrupts the user and can be disconcerting.

    [ directory ] Previous Section Next Section