Examples of DivPanel


Examples of org.projectforge.web.wicket.flowlayout.DivPanel

        {
          parentPage.clear();
        }
      }, getString("fibu.kost.reporting.clearStorage"), SingleButtonPanel.RESET));
    }
    final DivPanel panel = gridBuilder.getPanel();
    panel.add(reportObjectivesPanel = new ReportObjectivesPanel(panel.newChildId(), parentPage));
  }
View Full Code Here

Examples of org.projectforge.web.wicket.flowlayout.DivPanel

    final DropDownChoice<Integer> nextDaysChoice = new DropDownChoice<Integer>(optionsFieldsetPanel.getDropDownChoiceId(),
        new PropertyModel<Integer>(getSearchFilter(), "nextDays"), nextDaysRenderer.getValues(), nextDaysRenderer);
    nextDaysChoice.setNullValid(false);
    optionsFieldsetPanel.add(nextDaysChoice, true);
    {
      final DivPanel radioGroupPanel = optionsFieldsetPanel.addNewRadioBoxButtonDiv();
      final RadioGroupPanel<PaymentStatus> radioGroup = new RadioGroupPanel<PaymentStatus>(radioGroupPanel.newChildId(), "paymentStatus",
          new PropertyModel<PaymentStatus>(getSearchFilter(), "paymentStatus")) {
        /**
         * @see org.projectforge.web.wicket.flowlayout.RadioGroupPanel#wantOnSelectionChangedNotifications()
         */
        @Override
        protected boolean wantOnSelectionChangedNotifications()
        {
          return true;
        }

        /**
         * @see org.projectforge.web.wicket.flowlayout.RadioGroupPanel#onSelectionChanged(java.lang.Object)
         */
        @Override
        protected void onSelectionChanged(final Object newSelection)
        {
          parentPage.refresh();
        }
      };
      radioGroupPanel.add(radioGroup);
      radioGroup.add(new Model<PaymentStatus>(PaymentStatus.ALL), getString(PaymentStatus.ALL.getI18nKey()));
      radioGroup.add(new Model<PaymentStatus>(PaymentStatus.UNPAID), getString(PaymentStatus.UNPAID.getI18nKey()));
      radioGroup.add(new Model<PaymentStatus>(PaymentStatus.PAID), getString(PaymentStatus.PAID.getI18nKey()));
    }
    {
      final DivPanel radioGroupPanel = optionsFieldsetPanel.addNewRadioBoxButtonDiv();
      final RadioGroupPanel<AmountType> radioGroup = new RadioGroupPanel<AmountType>(radioGroupPanel.newChildId(), "amountType",
          new PropertyModel<AmountType>(getSearchFilter(), "amountType")) {
        /**
         * @see org.projectforge.web.wicket.flowlayout.RadioGroupPanel#wantOnSelectionChangedNotifications()
         */
        @Override
        protected boolean wantOnSelectionChangedNotifications()
        {
          return true;
        }

        /**
         * @see org.projectforge.web.wicket.flowlayout.RadioGroupPanel#onSelectionChanged(java.lang.Object)
         */
        @Override
        protected void onSelectionChanged(final Object newSelection)
        {
          parentPage.refresh();
        }
      };
      radioGroupPanel.add(radioGroup);
      radioGroup.add(new Model<AmountType>(AmountType.ALL), getString(AmountType.ALL.getI18nKey()));
      radioGroup.add(new Model<AmountType>(AmountType.CREDIT), getString(AmountType.CREDIT.getI18nKey()));
      radioGroup.add(new Model<AmountType>(AmountType.DEBIT), getString(AmountType.DEBIT.getI18nKey()));
    }
  }
View Full Code Here

Examples of rocket.widget.client.DivPanel

  protected DivPanel getDivPanel() {
    return (DivPanel) this.getPanel();
  }

  protected DivPanel createDivPanel() {
    return new DivPanel();
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.