You can use getInputEl() to set simple style properties on input text field e.g.

public class UpperTextField extends TextField {

public UpperTextField(){
super();...