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

クラスReadOnlyIntegerProperty

    • コンストラクタの詳細

      • ReadOnlyIntegerProperty

        public ReadOnlyIntegerProperty​()
        ReadOnlyIntegerPropertyのコンストラクタ。
    • メソッドの詳細

      • toString

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

        public static <T extends NumberReadOnlyIntegerProperty readOnlyIntegerProperty​(ReadOnlyProperty<T> property)
        ReadOnlyPropertyをラップするReadOnlyIntegerPropertyを返します。 ReadOnlyPropertyがすでにReadOnlyIntegerPropertyである場合に返されます。 それ以外の場合、ReadOnlyPropertyにバインドされる新しいReadOnlyIntegerPropertyが作成されます。 注意: null値が0として解釈されます
        型パラメータ:
        T - ラップするNumberの型
        パラメータ:
        property - ソースReadOnlyProperty
        戻り値:
        必要に応じてReadOnlyPropertyをラップするReadOnlyIntegerProperty
        例外:
        NullPointerException - propertynullの場合
        導入されたバージョン:
        JavaFX 8.0
      • asObject

        public ReadOnlyObjectProperty<Integer> asObject​()
        このReadOnlyIntegerPropertyの値を保持するReadOnlyObjectPropertyを作成します。 このReadOnlyIntegerPropertyの値が変更される場合、ReadOnlyObjectPropertyの値が自動的に更新されます。
        オーバーライド:
        クラスIntegerExpressionasObject
        戻り値:
        新しいReadOnlyObjectProperty
        導入されたバージョン:
        JavaFX 8.0