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