Programmatically changing the TextField style in ReadOnly=TRUE mode

I have previously asked a similar question but have not received an answer. https://vaadin.com/forum/thread/18533325/customize-vaadin-components
I want to try to ask the same question again.
Could you tell me about how can I change component style in program for TextField in ReadOnly=true mode. I want to change background color, border color and font color of the TextField.
Thanks for the help.