Package com.compomics.mslims.util.http.forms.inputs

Examples of com.compomics.mslims.util.http.forms.inputs.TextFieldInput


      }

      // TextField
      if (lInput.getType() == InputInterface.TEXTFIELDINPUT
          && lInput instanceof TextFieldInput) {
        TextFieldInput textFiled = (TextFieldInput) lInput;
        if (textFiled.isHidden()) {

        } else if (textFiled.getName().equals("FILE")) {
          textFiled.setValue("");
        } else if (textFiled.getName().equals("PRECURSOR")) {
          // the precursor mass (m/z)
          textFiled.setValue("");
        } else if (textFiled.getName().equals("USERNAME")) {
          textFiled.setValue("");
        } else if (textFiled.getName().equals("USEREMAIL")) {
          textFiled.setValue("");
        } else if (textFiled.getName().equals("COM")) {
          // Search Title
          textFiled.setValue("Mzmine "
              + MZmineCore.getMZmineVersion());
        } else if (textFiled.getName().equals("SEG")) {
          // Proteinmass
          textFiled.setValue("");
        } else {
          para.add(new StringParameter(lInput.getComment(), lInput
              .getName()));
        }
      }
View Full Code Here

TOP

Related Classes of com.compomics.mslims.util.http.forms.inputs.TextFieldInput

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.