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

クラスSimpleMapProperty<K,V>

    • コンストラクタの詳細

      • SimpleMapProperty

        public SimpleMapProperty​()
        SimpleMapPropertyのコンストラクタ
      • SimpleMapProperty

        public SimpleMapProperty​(ObservableMap<K,V> initialValue)
        SimpleMapPropertyのコンストラクタ
        パラメータ:
        initialValue - ラップされた値の初期値
      • SimpleMapProperty

        public SimpleMapProperty​(Object bean,
                                 String name)
        SimpleMapPropertyのコンストラクタ
        パラメータ:
        bean - このMapPropertyのBean
        name - このMapPropertyの名前
      • SimpleMapProperty

        public SimpleMapProperty​(Object bean,
                                 String name,
                                 ObservableMap<K,V> initialValue)
        SimpleMapPropertyのコンストラクタ
        パラメータ:
        bean - このMapPropertyのBean
        name - このMapPropertyの名前
        initialValue - ラップされた値の初期値
    • メソッドの詳細

      • getBean

        public Object getBean​()
        このプロパティを含むObjectを返します。 このプロパティがObjectに含まれていない場合、nullが返されます。
        戻り値:
        含まれているObjectまたはnull
      • getName

        public String getName​()
        このプロパティの名前を返します。 プロパティに名前がない場合、このメソッドは空のStringを返します。
        戻り値:
        名前または空のString