Package net.sf.fmj.ui.objeditor

Examples of net.sf.fmj.ui.objeditor.ComponentValidator


          if (!trackControls[i].isEnabled())
            continue;
         
          boolean audio = true// TODO
         
            ComponentValidator v = new ComponentValidator();
            try {
            v.validateNotEmpty(getRTPDestPanel().getTextSessionAddress(i), getRTPDestPanel().getLabelSessionAddress());
            v.validateNotEmpty(getRTPDestPanel().getTextPort(i), getRTPDestPanel().getLabelPort());
            v.validateInteger(getRTPDestPanel().getTextPort(i), getRTPDestPanel().getLabelPort());
            v.validateNotEmpty(getRTPDestPanel().getComboTTL(i), getRTPDestPanel().getLabelTTL());
            v.validateInteger(getRTPDestPanel().getComboTTL(i), getRTPDestPanel().getLabelTTL());

            }
            catch (ComponentValidationException e) {
            ErrorDialog.showError(getRTPDestPanel(), e.getMessage());
            return false;
View Full Code Here


   
    public boolean validateAndUpdateObj()
    {
      url = null;
     
      ComponentValidator v = new ComponentValidator();
      try {
      v.validateNotEmpty(textAddress, labelAddress);
      v.validateNotEmpty(textPort, labelPort);
      v.validateInteger(textPort, labelPort);
      v.validateNotEmpty(comboTTL, labelTTL);
      v.validateInteger(comboTTL, labelTTL);

      }
      catch (ComponentValidationException e) {
      ErrorDialog.showError(this, e.getMessage());
      return false;
View Full Code Here

  private String url;

  public boolean validateAndUpdateObj() {
    url = null;
     
      ComponentValidator v = new ComponentValidator();
      try {
      v.validateNotEmpty(textURL, labelURL);

      }
      catch (ComponentValidationException e) {
        ErrorDialog.showError(this, e.getMessage());
      return false;
View Full Code Here

TOP

Related Classes of net.sf.fmj.ui.objeditor.ComponentValidator

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.