< prev index next >

modules/javafx.base/src/main/java/javafx/beans/property/StringProperty.java

Print this page




  79      *
  80      * @param other
  81      *            the other {@code Property}
  82      * @param format
  83      *            the {@code Format} used to convert between this {@code StringProperty}
  84      *            and the other {@code Property}
  85      * @throws NullPointerException
  86      *             if {@code other} or {@code format} is {@code null}
  87      * @throws IllegalArgumentException
  88      *             if {@code other} is {@code this}
  89      * @since JavaFX 2.1
  90      */
  91     public void bindBidirectional(Property<?> other, Format format) {
  92         Bindings.bindBidirectional(this, other, format);
  93     }
  94 
  95     /**
  96      * Create a bidirectional binding between this {@code StringProperty} and another
  97      * arbitrary property. Relies on an implementation of {@link StringConverter} for conversion.
  98      *

  99      * @param other
 100      *            the other {@code Property}
 101      * @param converter
 102      *            the {@code StringConverter} used to convert between this {@code StringProperty}
 103      *            and the other {@code Property}
 104      * @throws NullPointerException
 105      *             if {@code other} or {@code converter} is {@code null}
 106      * @throws IllegalArgumentException
 107      *             if {@code other} is {@code this}
 108      * @since JavaFX 2.1
 109      */
 110     public <T> void bindBidirectional(Property<T> other, StringConverter<T> converter) {
 111         Bindings.bindBidirectional(this, other, converter);
 112     }
 113 
 114     /**
 115      * {@inheritDoc}
 116      */
 117     @Override
 118     public void unbindBidirectional(Property<String> other) {




  79      *
  80      * @param other
  81      *            the other {@code Property}
  82      * @param format
  83      *            the {@code Format} used to convert between this {@code StringProperty}
  84      *            and the other {@code Property}
  85      * @throws NullPointerException
  86      *             if {@code other} or {@code format} is {@code null}
  87      * @throws IllegalArgumentException
  88      *             if {@code other} is {@code this}
  89      * @since JavaFX 2.1
  90      */
  91     public void bindBidirectional(Property<?> other, Format format) {
  92         Bindings.bindBidirectional(this, other, format);
  93     }
  94 
  95     /**
  96      * Create a bidirectional binding between this {@code StringProperty} and another
  97      * arbitrary property. Relies on an implementation of {@link StringConverter} for conversion.
  98      *
  99      * @param <T> the type of the wrapped {@code Object}
 100      * @param other
 101      *            the other {@code Property}
 102      * @param converter
 103      *            the {@code StringConverter} used to convert between this {@code StringProperty}
 104      *            and the other {@code Property}
 105      * @throws NullPointerException
 106      *             if {@code other} or {@code converter} is {@code null}
 107      * @throws IllegalArgumentException
 108      *             if {@code other} is {@code this}
 109      * @since JavaFX 2.1
 110      */
 111     public <T> void bindBidirectional(Property<T> other, StringConverter<T> converter) {
 112         Bindings.bindBidirectional(this, other, converter);
 113     }
 114 
 115     /**
 116      * {@inheritDoc}
 117      */
 118     @Override
 119     public void unbindBidirectional(Property<String> other) {


< prev index next >