站内搜索: 请输入搜索关键词
当前页面: 图书首页 > JFC Swing Tutorial, The: A Guide to Constructing GUIs, Second Edition

A Visual Index to Swing Components - JFC Swing Tutorial, The: A Guide to Constructing GUIs, Second Edition

Previous Section  < Day Day Up >  Next Section

A Visual Index to Swing Components

Top-level containers are the components at the top of any Swing containment hierarchy. They're shown in Figure 1.

Figure 1. Top-level containers.

graphics/03fig01.gif

General-purpose containers, shown in Figure 2, are intermediate containers that can be used under many different circumstances.

Figure 2. General-purpose containers.

graphics/03fig02.jpg

Special containers, shown in Figure 3, are intermediate containers that play specific roles in the UI.

Figure 3. Special-purpose containers.

graphics/03fig03.gif

Basic controls, shown in Figure 4, are atomic components that exist primarily to get input from the user; they generally also show simple state.

Figure 4. Basic controls.

graphics/03fig04.jpg

Uneditable information displays, shown in Figure 5, are atomic components that exist solely to give the user information.

Figure 5. Uneditable information displays.

graphics/03fig05.gif

Editable displays of formatted information, shown in Figure 6, are atomic components that display highly formatted information that (if you choose) can be edited by the user.

Figure 6. Editable displays of formatted information.

graphics/03fig06.gif

graphics/03inf01.jpg

    Previous Section  < Day Day Up >  Next Section