I have used this code for combine textFiled.PASSWORD
with TextField.NUMERIC
txtpwd.setConstraint(TextField.PASSWORD | TextField.NUMERIC);
When I run in Emulator i can type string .but i just typed NUMERIC .
I go to this link and find to combine constraints !!!