モジュール javafx.base
パッケージ javafx.beans.property

クラスStringProperty

    • コンストラクタの詳細

      • StringProperty

        public StringProperty()
    • メソッドの詳細

      • bindBidirectional

        public void bindBidirectional​(Property<?> other,
                                      Format format)
        このStringPropertyと別の任意のプロパティの間の双方向バインディングを作成します。 変換用のFormatの実装に依存します。
        パラメータ:
        other - 他のProperty
        format - このStringPropertyと他のProperty間の変換に使用されるFormat
        例外:
        NullPointerException - otherまたはformatnullである場合
        IllegalArgumentException - otherthisである場合
        導入されたバージョン:
        JavaFX 2.1
      • bindBidirectional

        public <T> void bindBidirectional​(Property<T> other,
                                          StringConverter<T> converter)
        このStringPropertyと別の任意のプロパティの間の双方向バインディングを作成します。 変換用のStringConverterの実装に依存します。
        型パラメータ:
        T - ラップされたObjectの型
        パラメータ:
        other - 他のProperty
        converter - このStringPropertyと他のProperty間の変換に使用されるStringConverter
        例外:
        NullPointerException - otherまたはconverternullである場合
        IllegalArgumentException - otherthisである場合
        導入されたバージョン:
        JavaFX 2.1
      • unbindBidirectional

        public void unbindBidirectional​(Object other)
        このPropertyと別のPropertyの間の双方向バインディングを削除します。 プロパティ間の双方向バインディングが存在しない場合、このメソッドの呼出しは影響しません。
        パラメータ:
        other - 他のProperty
        例外:
        NullPointerException - othernullである場合
        IllegalArgumentException - otherthisである場合
        導入されたバージョン:
        JavaFX 2.1
      • toString

        public String toString()
        このStringPropertyオブジェクトの文字列表現を返します。
        オーバーライド:
        toString、クラス: ReadOnlyStringProperty
        戻り値:
        このStringPropertyオブジェクトの文字列表現。