- java.lang.Object
-
- javafx.beans.binding.MapExpression<K,V>
-
- javafx.beans.property.ReadOnlyMapProperty<K,V>
-
- javafx.beans.property.MapProperty<K,V>
-
- 型パラメータ:
K-Mapのキー要素の型V-Mapの値要素の型
- すべての実装されたインタフェース:
Map<K,V>,Observable,Property<ObservableMap<K,V>>,ReadOnlyProperty<ObservableMap<K,V>>,ObservableMapValue<K,V>,ObservableObjectValue<ObservableMap<K,V>>,ObservableValue<ObservableMap<K,V>>,WritableMapValue<K,V>,WritableObjectValue<ObservableMap<K,V>>,WritableValue<ObservableMap<K,V>>,ObservableMap<K,V>
- 直系の既知のサブクラス:
MapPropertyBase
public abstract class MapProperty<K,V> extends ReadOnlyMapProperty<K,V> implements Property<ObservableMap<K,V>>, WritableMapValue<K,V>
このクラスは、ObservableMapをラップするPropertyの完全な実装を提供します。MapPropertyの値は、ObservableObjectValue.get()、ObservableValue.getValue()、WritableObjectValue.set(Object)、およびWritableValue.setValue(javafx.collections.ObservableMap)を使用して取得および設定できます。Property.bind(javafx.beans.value.ObservableValue)およびProperty.unbind()を使用して、プロパティを一方向にバインドおよびバインド解除できます。 双方向バインディングは、Property.bindBidirectional(Property)とProperty.unbindBidirectional(Property)を使用して作成および削除できます。ReadOnlyProperty.getBean()およびReadOnlyProperty.getName()を使用して、MapPropertyのコンテキストを読み取ることができます。- 導入されたバージョン:
- JavaFX 2.1
- 関連項目:
ObservableMap、ObservableMapValue、WritableMapValue、ReadOnlyMapProperty、Property
-
-
プロパティのサマリー
-
クラス javafx.beans.binding.MapExpressionで宣言されたプロパティ
empty, size
-
-
コンストラクタのサマリー
コンストラクタ コンストラクタ 説明 MapProperty()
-
メソッドのサマリー
すべてのメソッド インスタンス・メソッド 具象メソッド 修飾子と型 メソッド 説明 StringtoString()このMapPropertyオブジェクトの文字列表現を返します。-
インタフェース java.util.Mapで宣言されたメソッド
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
クラス javafx.beans.binding.MapExpressionで宣言されたメソッド
asString, emptyProperty, getSize, isEqualTo, isNotEqualTo, isNotNull, isNull, mapExpression, sizeProperty, valueAt, valueAt
-
インタフェース javafx.beans.Observableで宣言されたメソッド
addListener、removeListener
-
インタフェース javafx.collections.ObservableMapで宣言されたメソッド
addListener、removeListener
-
インタフェース javafx.beans.value.ObservableObjectValueで宣言されたメソッド
get
-
インタフェース javafx.beans.value.ObservableValueで宣言されたメソッド
addListener、getValue、removeListener
-
インタフェース javafx.beans.property.Propertyで宣言されたメソッド
bind, bindBidirectional, isBound, unbind, unbindBidirectional
-
クラス javafx.beans.property.ReadOnlyMapPropertyで宣言されたメソッド
bindContent, bindContentBidirectional, hashCode, unbindContent, unbindContentBidirectional
-
インタフェース javafx.beans.property.ReadOnlyPropertyで宣言されたメソッド
getBean, getName
-
インタフェース javafx.beans.value.WritableObjectValueで宣言されたメソッド
get, set
-
インタフェース javafx.beans.value.WritableValueで宣言されたメソッド
getValue, setValue
-
-
-
-
メソッドの詳細
-
toString
public String toString()
このMapPropertyオブジェクトの文字列表現を返します。- オーバーライド:
toString、クラス:ReadOnlyMapProperty<K,V>- 戻り値:
- この
MapPropertyオブジェクトの文字列表現。
-
-