CMS-3082 Introduce TextComponent in Java
Introduced class TextComponent with friends.