Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Sức khỏe - Y tế
Văn bản luật
Nông Lâm Ngư
Kỹ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Giới thiệu
Đăng ký
Đăng nhập
Tìm
Danh mục
Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Y tế sức khỏe
Văn bản luật
Nông lâm ngư
Kĩ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Thông tin
Điều khoản sử dụng
Quy định bảo mật
Quy chế hoạt động
Chính sách bản quyền
Giới thiệu
Đăng ký
Đăng nhập
0
Trang chủ
Công Nghệ Thông Tin
Quản trị mạng
GWT in Practice phần 4
Đang chuẩn bị liên kết để tải về tài liệu:
GWT in Practice phần 4
Bích Phượng
49
37
pdf
Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
kiểm tra mã của bạn và chỉ cung cấp tuần tự cho các lớp học nơi bạn một cách rõ ràng cần nó. Giống nhưhỗ trợ một tập hợp các tùy chọn dòng lệnh hữu ích. Họ đang mô tả trong bảng-phong cách phong cáchHạn chế và hãy cẩn thận Rõ ràng, | 94 Chapter 4 Core Application Structure private PasswordTextBox password new PasswordTextBox private PasswordTextBox passwordconfirm new PasswordTextBox private TextBox firstName new TextBox private TextBox lastName new TextBox private TextArea notes new TextArea private AddressEdit billingAddress private AddressEdit shippingAddress public UserEdit final UserCreateListener controller final User user super this.user user stack.setHeight 350px VerticalPanel basePanel new VerticalPanel Button save new Button Save basePanel.add save Create Flexible basePanel.add stack to lay out basic FlexTable ft new FlexTable elements ft.setWidget 0 0 new Label Username ft.setWidget 0 1 username ft.setWidget 1 0 new Label Password ft.setWidget 1 1 password ft.setWidget 2 0 new Label Confirm ft.setWidget 2 1 passwordConfirm ft.setWidget 3 0 new Label First Name ft.setWidget 3 1 firstName ft.setWidget 4 0 new Label Last Name ft.setWidget 4 1 lastName stack.add ft User Information billingAddress new AddressEdit user.getBillingAddress stack.add billingAddress Billing Address shippingAddress new AddressEdit user.getShippingAddress stack.add shippingAddress Shipping Address notes.setWidth 100 notes.setHeight 250px stack.add notes Notes Create AddressEdit classes for addresses this.initWidget basePanel In this example we are using our UserEdit class as a component in a larger edit view of the User model object. While the object graph contains other structured objects the Address classes the UserEdit class brings these together with the editors for the other portions of our model that we created individually. It also provides direct edit widgets for simple values directly on the User class. At first blush this looks very similar to the process we used in constructing the AddressEdit class but it is actually a bit different. Discussion Listing 4.3 creates our model layer object o and a bunch of widgets relating to the fields on the model. The outer container is simply a VerticalPanel and then
TÀI LIỆU LIÊN QUAN
GWT in Practice
Spring Roo in Action
GWT in Practice phần 1
GWT in Practice phần 2
GWT in Practice phần 3
GWT in Practice phần 4
GWT in Practice phần 5
GWT in Practice phần 6
GWT in Practice phần 7
GWT in Practice phần 8
crossorigin="anonymous">
Đã 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.