- java.lang.Object
-
- javafx.beans.binding.ObjectExpression<T>
-
- javafx.beans.property.ReadOnlyObjectProperty<T>
-
- javafx.beans.property.ObjectProperty<T>
-
- javafx.beans.property.ObjectPropertyBase<T>
-
- javafx.beans.property.SimpleObjectProperty<T>
-
- javafx.beans.property.ReadOnlyObjectWrapper<T>
-
- すべての実装されたインタフェース:
Observable,Property<T>,ReadOnlyProperty<T>,ObservableObjectValue<T>,ObservableValue<T>,WritableObjectValue<T>,WritableValue<T>
public class ReadOnlyObjectWrapper<T> extends SimpleObjectProperty<T>
このクラスは、読取り専用プロパティを定義する便利なクラスを提供します。 同期化される2つのプロパティを作成します。 1つのプロパティが読取り専用で、外部ユーザーに渡すことができます。 他のプロパティは読取り可能および書込み可能であり、内部でのみ使用する必要があります。- 導入されたバージョン:
- JavaFX 2.0
-
-
コンストラクタのサマリー
コンストラクタ コンストラクタ 説明 ReadOnlyObjectWrapper()ReadOnlyObjectWrapperのコンストラクタReadOnlyObjectWrapper(Object bean, String name)ReadOnlyObjectWrapperのコンストラクタReadOnlyObjectWrapper(Object bean, String name, T initialValue)ReadOnlyObjectWrapperのコンストラクタReadOnlyObjectWrapper(T initialValue)ReadOnlyObjectWrapperのコンストラクタ
-
メソッドのサマリー
すべてのメソッド インスタンス・メソッド 具象メソッド 修飾子と型 メソッド 説明 ReadOnlyObjectProperty<T>getReadOnlyProperty()このReadOnlyObjectWrapperと同期化される読取り専用プロパティを返します。-
クラス java.lang.Objectで宣言されたメソッド
clone、equals、finalize、getClass、hashCode、notify、notifyAll、wait、wait、wait
-
クラス javafx.beans.binding.ObjectExpressionで宣言されたメソッド
asString, asString, asString, isEqualTo, isEqualTo, isNotEqualTo, isNotEqualTo, isNotNull, isNull, objectExpression
-
クラス javafx.beans.property.ObjectPropertyBaseで宣言されたメソッド
fireValueChangedEvent, invalidated, toString
-
インタフェース javafx.beans.Observableで宣言されたメソッド
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.ReadOnlyPropertyで宣言されたメソッド
getBean, getName
-
インタフェース javafx.beans.value.WritableObjectValueで宣言されたメソッド
get, set
-
インタフェース javafx.beans.value.WritableValueで宣言されたメソッド
getValue, setValue
-
-
-
-
コンストラクタの詳細
-
ReadOnlyObjectWrapper
public ReadOnlyObjectWrapper()
ReadOnlyObjectWrapperのコンストラクタ
-
ReadOnlyObjectWrapper
public ReadOnlyObjectWrapper(T initialValue)
ReadOnlyObjectWrapperのコンストラクタ- パラメータ:
initialValue- ラップされた値の初期値
-
ReadOnlyObjectWrapper
public ReadOnlyObjectWrapper(Object bean, String name)
ReadOnlyObjectWrapperのコンストラクタ- パラメータ:
bean- このReadOnlyObjectPropertyのBeanname- このReadOnlyObjectPropertyの名前
-
-
メソッドの詳細
-
getReadOnlyProperty
public ReadOnlyObjectProperty<T> getReadOnlyProperty()
このReadOnlyObjectWrapperと同期化される読取り専用プロパティを返します。- 戻り値:
- 読取り専用プロパティ
-
-