Package com.sun.javafx.binding
Class BidirectionalBinding.StringConversionBidirectionalBinding<T>
java.lang.Object
com.sun.javafx.binding.BidirectionalBinding<Object>
com.sun.javafx.binding.BidirectionalBinding.StringConversionBidirectionalBinding<T>
- All Implemented Interfaces:
ChangeListener<Object>,WeakListener
- Enclosing class:
BidirectionalBinding<T>
public abstract static class BidirectionalBinding.StringConversionBidirectionalBinding<T>
extends BidirectionalBinding<Object>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.sun.javafx.binding.BidirectionalBinding
BidirectionalBinding.StringConversionBidirectionalBinding<T> -
Constructor Summary
ConstructorsConstructorDescriptionStringConversionBidirectionalBinding(Property<String> stringProperty, Property<T> otherProperty) -
Method Summary
Modifier and TypeMethodDescriptionvoidchanged(ObservableValue<? extends Object> observable, Object oldValue, Object newValue) This method needs to be provided by an implementation ofChangeListener.protected abstract TfromString(String value) protected Objectprotected Objectprotected abstract StringMethods inherited from class com.sun.javafx.binding.BidirectionalBinding
bind, bind, equals, hashCode, unbind, unbind, wasGarbageCollected
-
Constructor Details
-
StringConversionBidirectionalBinding
-
-
Method Details
-
toString
-
fromString
- Throws:
ParseException
-
getProperty1
- Specified by:
getProperty1in classBidirectionalBinding<Object>
-
getProperty2
- Specified by:
getProperty2in classBidirectionalBinding<Object>
-
changed
Description copied from interface:ChangeListenerThis method needs to be provided by an implementation ofChangeListener. It is called if the value of anObservableValuechanges.In general is is considered bad practice to modify the observed value in this method.
- Parameters:
observable- TheObservableValuewhich value changedoldValue- The old valuenewValue- The new value
-