Class HexStringT2MConverter
-
public class HexStringT2MConverter extends org.eclipse.core.databinding.conversion.Converter<String,Color>
This class is a target to model converter, which is intended to be used while (data-)binding an observable target that represents the color as a hex string ("RRGGBB") to an observable Color model object.
-
-
Constructor Summary
Constructors Constructor Description HexStringT2MConverter()
Creates a target to model converter, which is intended to be used while (data-)binding an observable target that represents the color as a hex string ("RRGGBB") to an observable Color model object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Color
convert(String fromObject)
Creates a Color object out of the provided hex string ("RRGGBB").
-
-
-
Constructor Detail
-
HexStringT2MConverter
public HexStringT2MConverter()
Creates a target to model converter, which is intended to be used while (data-)binding an observable target that represents the color as a hex string ("RRGGBB") to an observable Color model object.
-
-