- java.lang.Object
-
- org.tentackle.fx.translate.AbstractValueTranslator<T,T>
-
- org.tentackle.fx.translate.IdentityTranslator<javafx.scene.paint.Color>
-
- org.tentackle.fx.translate.ColorColorTranslator
-
- All Implemented Interfaces:
ValueTranslator<javafx.scene.paint.Color,javafx.scene.paint.Color>
@ValueTranslatorService(modelClass=javafx.scene.paint.Color.class, viewClass=javafx.scene.paint.Color.class) public class ColorColorTranslator extends IdentityTranslator<javafx.scene.paint.Color>
A color/color identity translator.- Author:
- harald
-
-
Constructor Summary
Constructors Constructor Description ColorColorTranslator(FxComponent component)Creates the translator.
-
Method Summary
-
Methods inherited from class org.tentackle.fx.translate.IdentityTranslator
toModelFunction, toViewFunction
-
Methods inherited from class org.tentackle.fx.translate.AbstractValueTranslator
getComponent, isLenient, setLenient
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.tentackle.fx.ValueTranslator
bindingPropertiesUpdated, needsToModelTwice, toModel, toView
-
-
-
-
Constructor Detail
-
ColorColorTranslator
public ColorColorTranslator(FxComponent component)
Creates the translator.- Parameters:
component- the component
-
-