Package org.gwtoolbox.widget.client.active

Examples of org.gwtoolbox.widget.client.active.ActiveTextBox


        panel.add(table, DockPanel.CENTER);

        Label label = new Label("First name: ");
        label.setHorizontalAlignment(HasHorizontalAlignment.ALIGN_LEFT);
        table.setWidget(0, 0, label);
        table.setWidget(0, 1, new ActiveTextBox(contact, "name.firstName", new DefaultErrorMessageCallback()));

        table.setWidget(1, 0, new Label("Middle name: "));
        table.setWidget(1, 1, new ActiveTextBox(contact, "name.middleName", new DefaultErrorMessageCallback()));

        table.setWidget(2, 0, new Label("Last name: "));
        table.setWidget(2, 1, new ActiveTextBox(contact, "name.lastName", new DefaultErrorMessageCallback()));

        table.setWidget(3, 0, new Label("Email: "));
        table.setWidget(3, 1, new ActiveTextBox(contact, "email", new DefaultErrorMessageCallback()));

        table.setWidget(4, 0, new Label("Private?: "));
        table.setWidget(4, 1, new ActiveCheckBox(contact, "privateContact"));

        table.setWidget(5, 0, new Label("Birth Date: "));
View Full Code Here

TOP

Related Classes of org.gwtoolbox.widget.client.active.ActiveTextBox

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.