Package org.spiffyui.client.widgets

Examples of org.spiffyui.client.widgets.FormFeedback


        m_projectName.addKeyPressHandler(this);
        m_projectName.getElement().setId(id + "projectNameTxt");
        m_projectName.getElement().addClassName(WIDE_TEXT_FIELD);
        add(m_projectName, id + "projectName");
          
        m_projectNameFeedback = new FormFeedback();
        m_feedbacks.add(m_projectNameFeedback);
        add(m_projectNameFeedback, id + "projectNameRow");
          
        m_packageName = new TextBox();
        m_packageName.setTitle(Index.getStrings().packageName_tt());
        m_packageName.addKeyUpHandler(this);
        m_packageName.addKeyPressHandler(this);
        m_packageName.getElement().setId(id + "packageNameTxt");
        m_packageName.getElement().addClassName(WIDE_TEXT_FIELD);
        add(m_packageName, id + "packageName");
          
        m_packageNameFeedback = new FormFeedback();
        m_feedbacks.add(m_packageNameFeedback);
        add(m_packageNameFeedback, id + "packageNameRow");
         
        addBuildTypes(id);
       
View Full Code Here


        //Create our own SuggestOracle that queries REST endpoint
        SuggestOracle oracle = new RestSuggestOracle();
        //initialize the SuggestBox
        m_field = new SuggestBox(oracle, textfield);
        m_feedback = new FormFeedback();
       
        if (isMultivalued) {
            m_panel.addStyleName("wideTextField");       
            m_panel.addStyleName("multivalue");
            //have to do this here b/c gwt suggest box wipes
View Full Code Here

        m_url.addKeyUpHandler(this);
        m_url.getElement().setId("authURLTxt");
        m_url.getElement().addClassName("wideTextField");
        add(m_url, "authURL");
       
        m_urlFeedback = new FormFeedback();
        m_feedbacks.add(m_urlFeedback);
        add(m_urlFeedback, "authURLRow");

        /*
         token type
         */
        m_tokenType = new TextBox();
        m_tokenType.addKeyUpHandler(this);
        m_tokenType.getElement().setId("authTokenTxt");
        m_tokenType.setText("X-OPAQUE");
        m_tokenType.getElement().addClassName("slimTextField");
        add(m_tokenType, "authToken");
       
        m_tokenTypeFeedback = new FormFeedback();
        m_feedbacks.add(m_tokenTypeFeedback);
        m_tokenTypeFeedback.setStatus(FormFeedback.VALID);
        add(m_tokenTypeFeedback, "authTokenRow");
       
        /*
         username
         */
        m_username = new TextBox();
        m_username.addKeyUpHandler(this);
        m_username.getElement().setId("authUsernameTxt");
        m_username.getElement().addClassName("wideTextField");
        add(m_username, "authUsername");
       
        m_usernameFeedback = new FormFeedback();
        m_feedbacks.add(m_usernameFeedback);
        add(m_usernameFeedback, "authUsernameRow");

        /*
         password
         */
        m_password = new PasswordTextBox();
        m_password.addKeyUpHandler(this);
        m_password.getElement().setId("authPasswordTxt");
        m_password.getElement().addClassName("wideTextField");
        add(m_password, "authPassword");
       
        m_passwordFeedback = new FormFeedback();
        m_feedbacks.add(m_passwordFeedback);
        add(m_passwordFeedback, "authPasswordRow");
       
        /*
         The big test button
View Full Code Here

        m_firstName.addKeyUpHandler(this);
        m_firstName.getElement().setId("firstNameTxt");
        m_firstName.getElement().addClassName(WIDE_TEXT_FIELD);
        add(m_firstName, "firstName");
       
        m_firstNameFeedback = new FormFeedback();
        m_feedbacks.add(m_firstNameFeedback);
        add(m_firstNameFeedback, "firstNameRow");
       
        /*
         Last name
         */
        m_lastName = new TextBox();
        m_lastName.addKeyUpHandler(this);
        m_lastName.getElement().setId("lastNameTxt");
        m_lastName.getElement().addClassName(WIDE_TEXT_FIELD);
        add(m_lastName, "lastName");
       
        m_lastNameFeedback = new FormFeedback();
        m_feedbacks.add(m_lastNameFeedback);
        add(m_lastNameFeedback, "lastNameRow");
       
        /*
         email
         */
        m_email = new TextBox();
        m_email.addKeyUpHandler(this);
        m_email.getElement().setId("emailTxt");
        m_email.getElement().addClassName(WIDE_TEXT_FIELD);
        add(m_email, "email");
       
        m_emailFeedback = new FormFeedback();
        m_feedbacks.add(m_emailFeedback);
        add(m_emailFeedback, "emailRow");
       
        /*
         User's birthdate
         */
        m_bDay = new DatePickerTextBox("userBdayTxt");
        m_bDay.setMaximumDate(new Date()); //user cannot be born tomorrow
        m_bDay.addKeyUpHandler(this);
        m_bDay.getElement().addClassName("slimTextField");
        add(m_bDay, "userBday");
       
        m_bDayFeedback = new FormFeedback();
        add(m_bDayFeedback, "userBdayRow");
       
        /*
         User's gender
         */
        RadioButton female = new RadioButton("userGender", "Female");
        add(female, "userGender");
       
        RadioButton male = new RadioButton("userGender", "Male");
        male.addStyleName("radioOption");
        male.setValue(true);
        male.getElement().setId("userMale");
        add(male, "userGender");
       
        /*
         User description
         */
        m_userDesc = new TextArea();
        m_userDesc.addKeyUpHandler(this);
        m_userDesc.getElement().setId("userDescTxt");
        m_userDesc.getElement().addClassName(WIDE_TEXT_FIELD);
        add(m_userDesc, "userDesc");
       
        m_userDescFeedback = new FormFeedback();
        m_feedbacks.add(m_userDescFeedback);
        add(m_userDescFeedback, "userDescRow");
       
        /*
         Password
         */
        m_password = new PasswordTextBox();
        m_password.addKeyUpHandler(this);
        m_password.getElement().setId("passwordTxt");
        m_password.getElement().addClassName("slimTextField");
        add(m_password, "password");
       
        m_passwordFeedback = new FormFeedback();
        m_feedbacks.add(m_passwordFeedback);
        add(m_passwordFeedback, "passwordRow");
       
        /*
         Password repeat
         */
        m_passwordRepeat = new PasswordTextBox();
        m_passwordRepeat.addKeyUpHandler(this);
        m_passwordRepeat.getElement().setId("passwordRepeatTxt");
        m_passwordRepeat.getElement().addClassName("slimTextField");
        add(m_passwordRepeat, "passwordRepeat");
       
        m_passwordRepeatFeedback = new FormFeedback();
        m_feedbacks.add(m_passwordRepeatFeedback);
        add(m_passwordRepeatFeedback, "passwordRepeatRow");
       
        /*
         Security Question
         */
        m_securityQuestion = new TextArea();
        m_securityQuestion.addKeyUpHandler(this);
        m_securityQuestion.getElement().setId("securityQuestionTxt");
        m_securityQuestion.getElement().addClassName(WIDE_TEXT_FIELD);
        add(m_securityQuestion, "securityQuestion");
       
        m_securityQuestionFeedback = new FormFeedback();
        m_feedbacks.add(m_securityQuestionFeedback);
        add(m_securityQuestionFeedback, "securityQuestionRow");
       
        /*
         Security answer
         */
        m_securityAnswer = new TextBox();
        m_securityAnswer.addKeyUpHandler(this);
        m_securityAnswer.getElement().setId("securityAnswerTxt");
        m_securityAnswer.getElement().addClassName(WIDE_TEXT_FIELD);
        add(m_securityAnswer, "securityAnswer");
       
        m_securityAnswerFeedback = new FormFeedback();
        m_feedbacks.add(m_securityAnswerFeedback);
        add(m_securityAnswerFeedback, "securityAnswerRow");
       
       
       
View Full Code Here

TOP

Related Classes of org.spiffyui.client.widgets.FormFeedback

Copyright © 2018 www.massapicom. 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.