When establishing a binding with binding-builder, we can specify a converter to mediate between types such as using a String
oriented TextField
to work with a backing value of type Integer
.
binder
.forField( this.phaseField )
.withConverter(
new StringToIntegerConverter( "Must enter an integer number" )
)
.bind( Panel::getPhase , Panel::setPhase ) ;
Is there some way to get/change/replace that converter later, after the binding is established?