示例#1
0
 public AppointmentFormPage() {
   popupPanel = new PopupPanel(true);
   popupPanel.add(uiBinder.createAndBindUi(this));
   close.addClickHandler(closeHandler());
   cancel.addClickHandler(closeHandler());
   submit.addClickHandler(createSaveHandler());
 }
示例#2
0
  public void initialize() {
    initWidget(uiBinder.createAndBindUi(this));

    storeCellWidgets();

    addClickHandlersForCells();

    resetView();
  }
 public GroupFormComposite(
     TextBox groupNameTextBox,
     TextArea descriptionTextArea,
     TextBox groupCodeTextBox,
     TextArea groupCodeDescriptionTextArea,
     SimpleCheckBox visibleToMembersCheckbox,
     SimpleCheckBox manageByMembersCheckbox,
     SimpleCheckBox openEnrollmentCheckbox,
     SimpleCheckBox authoritativeCSVCheckbox,
     SimpleCheckBox optinRequiredCheckbox,
     Button saveGroupButton) {
   this.groupNameTextBox = groupNameTextBox;
   this.descriptionTextArea = descriptionTextArea;
   this.groupCodeTextBox = groupCodeTextBox;
   this.groupCodeDescriptionTextArea = groupCodeDescriptionTextArea;
   this.visibleToMembersCheckbox = visibleToMembersCheckbox;
   this.manageByMembersCheckbox = manageByMembersCheckbox;
   this.openEnrollmentCheckbox = openEnrollmentCheckbox;
   this.authoritativeCSVCheckbox = authoritativeCSVCheckbox;
   // this.memberCountLabel = memberCountLabel;
   this.optinRequiredCheckbox = optinRequiredCheckbox;
   this.saveGroupButton = saveGroupButton;
   initWidget(uiBinder.createAndBindUi(this));
 }