LineEditText class refactoring