Compartilhar via


PropertyChangeSupport.FirePropertyChange Method

Definition

Overloads

FirePropertyChange(String, Int32, Int32)

Reports an integer bound property update to listeners that have been registered to track updates of all properties or a property with the specified name.

FirePropertyChange(String, Boolean, Boolean)

Reports a boolean bound property update to listeners that have been registered to track updates of all properties or a property with the specified name.

FirePropertyChange(PropertyChangeEvent)

Fires a property change event to listeners that have been registered to track updates of all properties or a property with the specified name.

FirePropertyChange(String, Object, Object)

Reports a bound property update to listeners that have been registered to track updates of all properties or a property with the specified name.

FirePropertyChange(String, Int32, Int32)

Reports an integer bound property update to listeners that have been registered to track updates of all properties or a property with the specified name.

[Android.Runtime.Register("firePropertyChange", "(Ljava/lang/String;II)V", "GetFirePropertyChange_Ljava_lang_String_IIHandler")]
public virtual void FirePropertyChange (string? propertyName, int oldValue, int newValue);
[<Android.Runtime.Register("firePropertyChange", "(Ljava/lang/String;II)V", "GetFirePropertyChange_Ljava_lang_String_IIHandler")>]
abstract member FirePropertyChange : string * int * int -> unit
override this.FirePropertyChange : string * int * int -> unit

Parameters

propertyName
String

the programmatic name of the property that was changed

oldValue
Int32

the old value of the property

newValue
Int32

the new value of the property

Attributes

Remarks

Reports an integer bound property update to listeners that have been registered to track updates of all properties or a property with the specified name.

No event is fired if old and new values are equal.

This is merely a convenience wrapper around the more general #firePropertyChange(String, Object, Object) method.

Java documentation for java.beans.PropertyChangeSupport.firePropertyChange(java.lang.String, int, int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

FirePropertyChange(String, Boolean, Boolean)

Reports a boolean bound property update to listeners that have been registered to track updates of all properties or a property with the specified name.

[Android.Runtime.Register("firePropertyChange", "(Ljava/lang/String;ZZ)V", "GetFirePropertyChange_Ljava_lang_String_ZZHandler")]
public virtual void FirePropertyChange (string? propertyName, bool oldValue, bool newValue);
[<Android.Runtime.Register("firePropertyChange", "(Ljava/lang/String;ZZ)V", "GetFirePropertyChange_Ljava_lang_String_ZZHandler")>]
abstract member FirePropertyChange : string * bool * bool -> unit
override this.FirePropertyChange : string * bool * bool -> unit

Parameters

propertyName
String

the programmatic name of the property that was changed

oldValue
Boolean

the old value of the property

newValue
Boolean

the new value of the property

Attributes

Remarks

Reports a boolean bound property update to listeners that have been registered to track updates of all properties or a property with the specified name.

No event is fired if old and new values are equal.

This is merely a convenience wrapper around the more general #firePropertyChange(String, Object, Object) method.

Java documentation for java.beans.PropertyChangeSupport.firePropertyChange(java.lang.String, boolean, boolean).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

FirePropertyChange(PropertyChangeEvent)

Fires a property change event to listeners that have been registered to track updates of all properties or a property with the specified name.

[Android.Runtime.Register("firePropertyChange", "(Ljava/beans/PropertyChangeEvent;)V", "GetFirePropertyChange_Ljava_beans_PropertyChangeEvent_Handler")]
public virtual void FirePropertyChange (Java.Beans.PropertyChangeEvent? e);
[<Android.Runtime.Register("firePropertyChange", "(Ljava/beans/PropertyChangeEvent;)V", "GetFirePropertyChange_Ljava_beans_PropertyChangeEvent_Handler")>]
abstract member FirePropertyChange : Java.Beans.PropertyChangeEvent -> unit
override this.FirePropertyChange : Java.Beans.PropertyChangeEvent -> unit

Parameters

Attributes

Remarks

Fires a property change event to listeners that have been registered to track updates of all properties or a property with the specified name.

No event is fired if the given event's old and new values are equal and non-null.

Java documentation for java.beans.PropertyChangeSupport.firePropertyChange(java.beans.PropertyChangeEvent).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

FirePropertyChange(String, Object, Object)

Reports a bound property update to listeners that have been registered to track updates of all properties or a property with the specified name.

[Android.Runtime.Register("firePropertyChange", "(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V", "GetFirePropertyChange_Ljava_lang_String_Ljava_lang_Object_Ljava_lang_Object_Handler")]
public virtual void FirePropertyChange (string? propertyName, Java.Lang.Object? oldValue, Java.Lang.Object? newValue);
[<Android.Runtime.Register("firePropertyChange", "(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V", "GetFirePropertyChange_Ljava_lang_String_Ljava_lang_Object_Ljava_lang_Object_Handler")>]
abstract member FirePropertyChange : string * Java.Lang.Object * Java.Lang.Object -> unit
override this.FirePropertyChange : string * Java.Lang.Object * Java.Lang.Object -> unit

Parameters

propertyName
String

the programmatic name of the property that was changed

oldValue
Object

the old value of the property

newValue
Object

the new value of the property

Attributes

Remarks

Reports a bound property update to listeners that have been registered to track updates of all properties or a property with the specified name.

No event is fired if old and new values are equal and non-null.

This is merely a convenience wrapper around the more general #firePropertyChange(PropertyChangeEvent) method.

Java documentation for java.beans.PropertyChangeSupport.firePropertyChange(java.lang.String, java.lang.Object, java.lang.Object).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to