Examples of DateText


Examples of br.com.visualmidia.ui.widgets.DateText

        data = new FormData();
        data.top = new FormAttachment(combo, 10);
        data.left = new FormAttachment(0, 2);
        periodLabel.setLayoutData(data);
       
        startPeriodText = new DateText(studentComposite, SWT.SINGLE | SWT.BORDER | SWT.READ_ONLY);
        startPeriodText.setValue(new GDDate().getDate());
        startPeriodText.setEnabled(true);
       
        data = new FormData();
        data.top = new FormAttachment(combo, 10);
        data.left = new FormAttachment(idText, 5);
        startPeriodText.setLayoutData(data);

        final Label atLabel = new Label(studentComposite, SWT.NULL);
        atLabel.setText("�");
        atLabel.setEnabled(true);
       
        data = new FormData();
        data.top = new FormAttachment(combo, 10);
        data.left = new FormAttachment(startPeriodText, 10);
        atLabel.setLayoutData(data);

        endPeriodText = new DateText(studentComposite, SWT.SINGLE | SWT.BORDER | SWT.READ_ONLY);
        endPeriodText.setValue(new GDDate().getDate());
        endPeriodText.setEnabled(true);
       
        data = new FormData();
        data.top = new FormAttachment(combo, 10);
View Full Code Here

Examples of br.com.visualmidia.ui.widgets.DateText

        data.right = new FormAttachment(100, -330);
        weekDayCombo.setLayoutData(data);
    }

    private void createDateText() {
        dateText = new DateText(dialog, SWT.BORDER | SWT.READ_ONLY);
        dateText.setValue(new GDDate(date).getDate());
        if(!isReplacement) {
          dateText.setVisible(false);
        }
       
View Full Code Here

Examples of br.com.visualmidia.ui.widgets.DateText

        data.left = new FormAttachment(0, 2);
        initialDateLabel.setLayoutData(data);
    }
   
    private void createInitialDateText() {
      initialDateText = new DateText(allStudentsBilletComposite, SWT.SINGLE | SWT.BORDER | SWT.READ_ONLY);
      initialDateText.setValue(new GDDate().getDate());
       
        FormData data = new FormData();
        data.top = new FormAttachment(0, 0);
        data.left = new FormAttachment(initialDateLabel, 5);
View Full Code Here

Examples of br.com.visualmidia.ui.widgets.DateText

        data.width = 85;
        initialDateText.setLayoutData(data);
    }
   
    private void createFinalDateText() {
        finalDateText = new DateText(allStudentsBilletComposite, SWT.SINGLE | SWT.BORDER | SWT.READ_ONLY);
        finalDateText.setValue(new GDDate().getDate());
       
        FormData data = new FormData();
        data.top = new FormAttachment(0, 0);
        data.left = new FormAttachment(middleDateLabel, 5);
View Full Code Here

Examples of br.com.visualmidia.ui.widgets.DateText

  private void createExpirationFields() {
    Label expirationLabel = new Label(composite, SWT.LEFT);
    expirationLabel.setText("Vencimento:");

    expirationText = new DateText(composite, SWT.SINGLE | SWT.BORDER | SWT.READ_ONLY);
    expirationText.setValue(new GDDate().getDate());

    GridData data = new GridData();
    data.widthHint = 80;
    data.horizontalSpan = 2;
View Full Code Here

Examples of br.com.visualmidia.ui.widgets.DateText

   
    private void createPaymentExpenditureDateFields() {
        Label paymentExpenditureDateLabel = new Label(dialog, SWT.LEFT);
        paymentExpenditureDateLabel.setText("Data do pagamento:");

        paymentExpenditureDateText = new DateText(dialog, SWT.SINGLE | SWT.BORDER | SWT.LEFT_TO_RIGHT);
        paymentExpenditureDateText.setValue(new GDDate().getDate());
        paymentExpenditureDateText.setEditable(true);
       
        if(account != null) {
          paymentExpenditureDateText.setValue(paymentDate.getDate());
View Full Code Here

Examples of br.com.visualmidia.ui.widgets.DateText

            createAllStudentsBilletComposite();
        }
    }

    private void createEndDateText() {
      endDateText = new DateText(allStudentsBilletComposite, SWT.SINGLE | SWT.BORDER | SWT.READ_ONLY);
      endDateText.setValue(new GDDate().getDate());
     
        FormData data = new FormData();
        data.top = new FormAttachment(endDateLabel, 1);
        data.left = new FormAttachment(initialDateText, 5);
View Full Code Here

Examples of br.com.visualmidia.ui.widgets.DateText

        createEndDateLabel();
        createEndDateText();
    }

    private void createInitialDateText() {
      initialDateText = new DateText(allStudentsBilletComposite, SWT.SINGLE | SWT.BORDER | SWT.READ_ONLY);
      initialDateText.setValue(new GDDate().getDate());
       
        FormData data = new FormData();
        data.top = new FormAttachment(inicialDateLabel, 1);
        data.left = new FormAttachment(0, 0);
View Full Code Here

Examples of br.com.visualmidia.ui.widgets.DateText

        dateLabel.setLayoutData(formData);
    }

    private void createDateText() {
        FormData formData;
        dateText = new DateText(addTransactionComposite, SWT.BORDER);
        dateText.setValue(new GDDate().getDate());

        dateText.addListener(SWT.KeyUp, new Listener(){
            public void handleEvent(Event arg0) {
                checkFieldsNotNull();
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.