TAILIEUCHUNG - Apress bắt đầu ứng dụng với java google - p 13

Timecard đề xuất thiết kế giao diện người dùng hiển thị các thành phần bố trí các ứng dụng chính của bạn sẽ sử dụng một VerticalPanel để giữ tất cả các yếu tố thị giác của bạn. Phần trên cùng của bảng điều khiển sẽ bao gồm một HorizontalPanel giữ logo của bạn, địa chỉ email, và liên kết đăng ký ra, trong khi phần dưới sẽ tổ chức một TabPanel với một số giao diện. | CHAPTER 5 DEVELOPING YOUR APPLICATION Figure 5-4. Proposed timecard UI design displaying the major layout components Your application will use a VerticalPanel to hold all of your visual elements. The top section of the panel will consist of a HorizontalPanel holding your logo email address and sign-out link while the bottom portion will hold a TabPanel with a number of interfaces. The first tab is where your users will perform most of their work. It will consist of a HorizontalPanel holding a date picker Add Row and Save buttons and a FlexTable allowing users to enter their time per day. The bottom of the tab will also have a HorizontalPanel holding the total number of hours for the timecard. The second tab will display the hours that the user has entered into the timecard in a FlexTable. It will be a simple listing and users will not be allowed to edit or delete entries. The last panel will contain some text describing your application. Note Some of the new features for the recently announced GWT include an improved layout system and the UiBuilder service. This proposed service will generate widget and DOM structures from XML markup. This approach is very similar to what you see in Adobe Flex or other XML layout frameworks. 98 CHAPTER 5 DEVELOPING YOUR APPLICATION Table 5-2. Summary ofGWT layout panels Panel Description DisclosurePanel Click ïü dis This .-vidgsT Is is by rhe cîscidslhë DockPanel A widget that consists of a header and a content panel that displays the content when a user clicks the header. A panel that arranges its child widgets docked at its outer edges and allows its last widget to take up the remaining space in its center. FlowPanel A panel that formats its child widgets using the default HTML layout behavior. HorizontalPanel A panel that arranges its widgets in a single horizontal column. 99 CHAPTER 5 DEVELOPING YOUR APPLICATION Panel Description PopupPanel StackPanel TabPanel HorizontalSplitPanel A panel that arranges two widgets in a .

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.