TAILIEUCHUNG - professional java user interfaces phần 3

Bất cứ khi nào các giao diện Observer hình thay đổi, lớp SandboxPanel cũng có thể phải thay đổi. Mối quan hệ phụ thuộc cũng được sử dụng để thể hiện phụ thuộc giữa các gói lớp khác hình của một trường hợp CustomListener được đăng ký cho ActionEvents | 96 Java GUI Design Figure Interacting with the chooser Finally the class diagram related to the version shown in Figure is shown in Figure . The implementation code for this Geopoint chooser is available on the book s Web site - see the GeoPoint and related classes. Figure The Geopoint chooser class organization Next we look at alternative designs that employ combinations of design approaches. Exploring the design space for a point chooser 97 Mixed designs As seen in the previous section it is possible to combine direct manipulation and the use of standard components in a GUI design. These are the most expensive designs due to the cost of building the different representations plus the extra cost of establishing the coordination between the two. The use of such an approach should be thought through carefully because it can actually produce more cluttered - and so less usable - designs. This is a classic phenomenon known as feature creep designers feel somehow more reassured by adding extra functionalities to the GUI in a vague attempt to make it more usable. An obvious solution for increasing the ease of use of our Geopoint chooser design is to employ two different representations of the same data simultaneously. Choosing the two representations carefully can lead to larger usable selection areas for example one quicker to use but less precise together with a slower but more accurate one. A set of different designs are possible. For example we could employ sliders for selecting the point indirectly on the map as shown in the design in Figure . Figure Indirect manipulation This solution has a flaw. Depending on the projection used for the map the sliders could indicate meaningless measurements the geographic projection used in Figure is only a mock-up . One possible solution is to decouple the sliders from the visual representation of the map as shown in Figure . This new solution has the advantage of combining the two required .

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.