Code example for SingleLineTransformationMethod

0
	        { 
	        	/** 
	        	 ** If password visibility CheckBox is checked, password 
	        	 ** field need to be changed to normal TransofmationMethod 
	        	 **/ 
	        	mUserPass.setTransformationMethod(new SingleLineTransformationMethod()); 
	        } 
	        else 
	        { 
	        	/** 
	        	 ** If password visibility CheckBox is unchecked, password 
	        	 ** field need to be changed to password TransofmationMethod 
	        	 **/ 
	        	mUserPass.setTransformationMethod(new PasswordTransformationMethod()); 
	        } 
 
	    } 
	}; 
     
	/** 
Experience pair programming with AI  Get Codota for Java