added setTextDirection()

added setTextDir() & setPasswordMode()