use of com.sencha.gxt.widget.core.client.form.TextField in project mvp4g2-examples by mvp4g.
the class DetailView method createView.
@Override
public void createView() {
this.container = new ContentPanel();
this.container.setHeaderVisible(false);
this.container.setBodyStyle("padding: 12px;");
VerticalLayoutContainer vlc = new VerticalLayoutContainer();
this.container.setWidget(vlc);
FieldLabel fl01 = new FieldLabel();
fl01.setText("Sender");
sender = new TextField();
sender.setReadOnly(true);
fl01.setWidget(sender);
vlc.add(fl01, new VerticalLayoutContainer.VerticalLayoutData(1, -1));
FieldLabel fl02 = new FieldLabel();
fl02.setText("Email sender");
emailSender = new TextField();
emailSender.setReadOnly(true);
fl02.setWidget(emailSender);
vlc.add(fl02, new VerticalLayoutContainer.VerticalLayoutData(1, -1));
FieldLabel fl03 = new FieldLabel();
fl03.setText("Text");
VerticalLayoutContainer vlc01 = new VerticalLayoutContainer();
vlc01.setScrollMode(ScrollSupport.ScrollMode.AUTOY);
vlc01.setBorders(true);
body = new HTML();
vlc01.add(body, new VerticalLayoutContainer.VerticalLayoutData(1, 1));
fl03.setWidget(vlc01);
vlc.add(fl03, new VerticalLayoutContainer.VerticalLayoutData(1, 1));
}
Aggregations