Controller for FontText

The FontTextController is build around a specific control created for Adichatz. This is a FieldController that means that it can be linked to the databinding service.

Control

The control org.adichatz.engine.widgets.FontText was developped by Adichatz based for choosing a font.
The FontText class represents a selectable user interface object that combines a read-only text-field and a button opening a FontDialog popup window.

Usage:

Code

	<fontText property="font" id="font">
		<convertTargetToModel>return fontText.getStringValue();</convertTargetToModel>
		<convertModelToTarget>return org.adichatz.engine.common.EngineTools.getFontFromString((String) value);</convertModelToTarget>
	</fontText>

Overview

Choose a new font

Font value is stored in a field as a string and display as a font.