Text
widget of SWT. This control works on the same principle than the JFace viewers. The embedded text widget is accessible by the getControl() method, allowing to apply to it all necessary behaviors (layout, listeners...). Formatting is delegated to formatter objects implementing the ITextFormatter
interface. Each formatter class manages a base class of values (date, number...).
Formatters are associated by 2 differents means :
setFormatter()
method.setValue()
is called and there is currently no formatter, a new one is automatically created based on the class of the value.CENTER, LEFT, RIGHT, READ_ONLY
|
|