- java.lang.Object
-
- javafx.beans.binding.SetExpression<E>
-
- javafx.beans.property.ReadOnlySetProperty<E>
-
- javafx.beans.property.SetProperty<E>
-
- javafx.beans.property.SetPropertyBase<E>
-
- javafx.beans.property.SimpleSetProperty<E>
-
- javafx.beans.property.ReadOnlySetWrapper<E>
-
- すべての実装されたインタフェース:
Iterable<E>
,Collection<E>
,Set<E>
,Observable
,Property<ObservableSet<E>>
,ReadOnlyProperty<ObservableSet<E>>
,ObservableObjectValue<ObservableSet<E>>
,ObservableSetValue<E>
,ObservableValue<ObservableSet<E>>
,WritableObjectValue<ObservableSet<E>>
,WritableSetValue<E>
,WritableValue<ObservableSet<E>>
,ObservableSet<E>
public class ReadOnlySetWrapper<E> extends SimpleSetProperty<E>
このクラスは、読取り専用プロパティを定義する便利なクラスを提供します。 同期化される2つのプロパティを作成します。 1つのプロパティが読取り専用で、外部ユーザーに渡すことができます。 他のプロパティは読取り可能および書込み可能であり、内部でのみ使用する必要があります。- 導入されたバージョン:
- JavaFX 2.1
-
-
プロパティのサマリー
-
クラス javafx.beans.binding.SetExpressionで宣言されたプロパティ
empty, size
-
クラス javafx.beans.property.SetPropertyBaseで宣言されたプロパティ
empty, size
-
-
コンストラクタのサマリー
コンストラクタ コンストラクタ 説明 ReadOnlySetWrapper()
ReadOnlySetWrapper
のコンストラクタReadOnlySetWrapper(Object bean, String name)
ReadOnlySetWrapper
のコンストラクタReadOnlySetWrapper(Object bean, String name, ObservableSet<E> initialValue)
ReadOnlySetWrapper
のコンストラクタReadOnlySetWrapper(ObservableSet<E> initialValue)
ReadOnlySetWrapper
のコンストラクタ
-
メソッドのサマリー
すべてのメソッド インスタンス・メソッド 具象メソッド 修飾子と型 メソッド 説明 ReadOnlySetProperty<E>
getReadOnlyProperty()
このReadOnlySetWrapper
と同期化される読取り専用プロパティを返します。-
インタフェース java.util.Collectionで宣言されたメソッド
parallelStream, removeIf, stream
-
インタフェース javafx.beans.Observableで宣言されたメソッド
addListener、removeListener
-
インタフェース javafx.beans.value.ObservableObjectValueで宣言されたメソッド
get
-
インタフェース javafx.collections.ObservableSetで宣言されたメソッド
addListener、removeListener
-
インタフェース javafx.beans.value.ObservableValueで宣言されたメソッド
addListener、getValue、removeListener
-
インタフェース javafx.beans.property.Propertyで宣言されたメソッド
bind, bindBidirectional, isBound, unbind, unbindBidirectional
-
インタフェース javafx.beans.property.ReadOnlyPropertyで宣言されたメソッド
getBean, getName
-
クラス javafx.beans.property.ReadOnlySetPropertyで宣言されたメソッド
bindContent, bindContentBidirectional, hashCode, unbindContent, unbindContentBidirectional
-
インタフェース java.util.Setで宣言されたメソッド
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, spliterator, toArray, toArray
-
クラス javafx.beans.binding.SetExpressionで宣言されたメソッド
asString, emptyProperty, getSize, isEqualTo, isNotEqualTo, isNotNull, isNull, setExpression, sizeProperty
-
クラス javafx.beans.property.SetPropertyBaseで宣言されたメソッド
fireValueChangedEvent, fireValueChangedEvent, invalidated, toString
-
インタフェース javafx.beans.value.WritableObjectValueで宣言されたメソッド
get, set
-
インタフェース javafx.beans.value.WritableValueで宣言されたメソッド
getValue, setValue
-
-
-
-
コンストラクタの詳細
-
ReadOnlySetWrapper
public ReadOnlySetWrapper()
ReadOnlySetWrapper
のコンストラクタ
-
ReadOnlySetWrapper
public ReadOnlySetWrapper(ObservableSet<E> initialValue)
ReadOnlySetWrapper
のコンストラクタ- パラメータ:
initialValue
- ラップされた値の初期値
-
ReadOnlySetWrapper
public ReadOnlySetWrapper(Object bean, String name)
ReadOnlySetWrapper
のコンストラクタ- パラメータ:
bean
- このReadOnlySetWrapper
のBeanname
- このReadOnlySetWrapper
の名前
-
ReadOnlySetWrapper
public ReadOnlySetWrapper(Object bean, String name, ObservableSet<E> initialValue)
ReadOnlySetWrapper
のコンストラクタ- パラメータ:
bean
- このReadOnlySetWrapper
のBeanname
- このReadOnlySetWrapper
の名前initialValue
- ラップされた値の初期値
-
-
メソッドの詳細
-
getReadOnlyProperty
public ReadOnlySetProperty<E> getReadOnlyProperty()
このReadOnlySetWrapper
と同期化される読取り専用プロパティを返します。- 戻り値:
- 読取り専用プロパティ
-
-