Examples of EmptyValidator


Examples of br.com.visualmidia.ui.validator.EmptyValidator

    area.setVisible(true);
  }

  protected Collection<Validator> validators() {
    Collection<Validator> validators = new ArrayList<Validator>();
    validators.add(new EmptyValidator(descriptionText, screenMessageLabel, Validator.ERROR_REQUIRED_ACCOUNT_TO_PAY_DESCRIPTION));
    validators.add(new EmptyValidator(nextPaymentDateText, screenMessageLabel, Validator.ERROR_REQUIRED_ACCOUNT_NEXT_PAYMENT_DATE));
    // Checagem de data inferior inutilizada 17/10/07
    // validators.add(new
    // DateValidator(nextPaymentDateText,screenMessageLabel,
    // Validator.ERROR_REQUIRED_VALID_DATE));
View Full Code Here

Examples of br.com.visualmidia.ui.validator.EmptyValidator

        screenMessageLabel.setText(message);
    }

    protected Collection<Validator> validators() {
        Collection<Validator> validators = new ArrayList<Validator>();
        validators.add(new EmptyValidator(searchText, screenMessageLabel, Validator.ERROR_REQUIRED_SEARCH));
        return validators;
    }
View Full Code Here

Examples of br.com.visualmidia.ui.validator.EmptyValidator

    @Override
    protected Collection<Validator> validators() {
        Collection<Validator> validators = new ArrayList<Validator>();

        validators.add(new EmptyValidator(nameText, screenMessageLabel, Validator.ERROR_REQUIRED_NAME));
        validators.add(new EmptyValidator(personalInfo.getBirthdateText(), screenMessageLabel, Validator.ERROR_REQUIRED_BIRTHDATE));
        validators.add(new CPFValidator(personalInfo.getCPFText(), screenMessageLabel, Validator.ERROR_REQUIRED_CPF));
        validators.add(new EmptyValidator(addressInfo.getStreetText(), screenMessageLabel, Validator.ERROR_REQUIRED_STREET));
        validators.add(new EmptyValidator(addressInfo.getStreetNumberText(), screenMessageLabel, Validator.ERROR_REQUIRED_STREETNUMBER));
        validators.add(new EmptyValidator(addressInfo.getStreetCEPText(), screenMessageLabel, Validator.ERROR_REQUIRED_CEP));
        validators.add(new EmptyValidator(addressInfo.getCityText(), screenMessageLabel, Validator.ERROR_REQUIRED_CITY));
//        validators.add(new EmptyValidator(employmentData.getPaymentDayCombo(), screenMessageLabel, Validator.ERROR_REQUIRED_PAYMENTDAY));
        validators.add(new ResponsableValidator(responsableInfo.getResponsableText(), personalInfo.getBirthdateText(), screenMessageLabel, Validator.ERROR_REQUIRED_RESPONSABLENAME));
        validators.add(new CPFValidator(responsableInfo.getCPFText(), screenMessageLabel, Validator.ERROR_REQUIRED_CPF));

        validators.add(new EmptyValidator(employmentData.getBeginDateText(), screenMessageLabel, Validator.ERROR_REQUIRED_BEGINDATE));
        validators.add(new EmptyValidator(employmentData.getPositionCombo(), screenMessageLabel, Validator.ERROR_REQUIRED_POSITION));
    validators.add(new TransactionDateValidator(screenMessageLabel,Validator.ERROR_REQUIRED_DATA_TRANSACTION_INVALID));
      
    if (systemUser.getSelection()) {
            validators.add(new EmptyValidator(userInfo.getUsernameText(), screenMessageLabel, Validator.ERROR_REQUIRED_USERNAME));
            validators.add(new UserNameValidator(userInfo.getUsernameText(), idText, screenMessageLabel, Validator.ERROR_USERNAME_ALREADY_EXISTS));
            validators.add(new EmptyValidator(userInfo.getPasswordText(), screenMessageLabel, Validator.ERROR_REQUIRED_PASSWORD));
            validators.add(new EmptyValidator(userInfo.getConfirmPasswordText(), screenMessageLabel, Validator.ERROR_REQUIRED_PASSWORD_CONFIRMATION));
            validators.add(new PasswordValidator(userInfo.getPasswordText(), userInfo.getConfirmPasswordText(), screenMessageLabel, Validator.ERROR_REQUIRED_PASSWORD));
        }
        return validators;
    }
View Full Code Here

Examples of br.com.visualmidia.ui.validator.EmptyValidator

        screenMessageLabel.setText(message);
    }
   
    protected Collection <Validator> validators() {
        Collection <Validator> validators = new ArrayList <Validator> ();
        validators.add(new EmptyValidator(searchText, screenMessageLabel, Validator.ERROR_REQUIRED_SEARCH));
        return validators;
    }
View Full Code Here

Examples of br.com.visualmidia.ui.validator.EmptyValidator

  }

  protected Collection<Validator> validators() {
    Collection<Validator> validators = new ArrayList<Validator>();

    validators.add(new EmptyValidator(nameText, screenMessageLabel, Validator.ERROR_REQUIRED_NAME));
    validators.add(new EmptyValidator(personalInfo.getBirthdateText(), screenMessageLabel, Validator.ERROR_REQUIRED_BIRTHDATE));
    validators.add(new CPFValidator(personalInfo.getCPFText(), screenMessageLabel, Validator.ERROR_REQUIRED_CPF));
    validators.add(new EmptyValidator(addressInfo.getStreetText(),screenMessageLabel, Validator.ERROR_REQUIRED_STREET));
    validators.add(new EmptyValidator(addressInfo.getStreetNumberText(),screenMessageLabel, Validator.ERROR_REQUIRED_STREETNUMBER));
    validators.add(new EmptyValidator(addressInfo.getStreetCEPText(), screenMessageLabel, Validator.ERROR_REQUIRED_CEP));
    validators.add(new EmptyValidator(addressInfo.getCityText(), screenMessageLabel, Validator.ERROR_REQUIRED_CITY));
    validators.add(new ResponsableValidator(responsableInfo.getResponsableText(), personalInfo.getBirthdateText(),screenMessageLabel, Validator.ERROR_REQUIRED_RESPONSABLENAME));
    validators.add(new CPFValidator(responsableInfo.getCPFText(),screenMessageLabel, Validator.ERROR_REQUIRED_CPF));
    validators.add(new AttendanceValidator(resourceInfo.getHowDoYouKnowVisualMidiaCombo(), screenMessageLabel,Validator.ERROR_REQUIRED_HOW_DO_YOU_KNOW_VISUAL_MIDIA));
    validators.add(new AttendanceValidator(attendanceInfo.getAttendanceResponsableCombo(), screenMessageLabel,Validator.ERROR_REQUIRED_ATTENDANCENAME));
    validators.add(new TransactionDateValidator(screenMessageLabel,Validator.ERROR_REQUIRED_DATA_TRANSACTION_INVALID));
View Full Code Here

Examples of br.com.visualmidia.ui.validator.EmptyValidator

        screenMessageLabel.setText(message);
    }
   
    protected Collection <Validator> validators() {
        Collection <Validator> validators = new ArrayList <Validator> ();
        validators.add(new EmptyValidator(classRoomNameText, screenMessageLabel, Validator.ERROR_REQUIRED_CLASSROOM_NAME));
        validators.add(new EmptyMapValidator(computerItem.getTableContents(), screenMessageLabel, Validator.ERROR_REQUIRED_CLASSROOM_COMPUTER));
        return validators;
    }
View Full Code Here

Examples of br.com.visualmidia.ui.validator.EmptyValidator

    @Override
    protected Collection<Validator> validators() {
        Collection<Validator> validators = new ArrayList<Validator>();
       
        validators.add(new EmptyValidator(groupText, screenMessageLabel, Validator.ERROR_REQUIRED_GROUP));
       
        return validators;
    }
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.