org.zkoss.bind.annotation.NotifyChange Maven / Gradle / Ivy
The newest version!
/* NotifyChange.java
Purpose:
Description:
History:
2011/12/15 Created by henrichen
Copyright (C) 2011 Potix Corporation. All Rights Reserved.
*/
package org.zkoss.bind.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Notify value change.
* By default, a property set by binder will notify this property changed.
* You could use this annotation on the set method to change or add notification target.
* You could also add this annotation on a command method to notify properties that will be changed after the command.
* To avoid the default notification, use {@link NotifyChangeDisabled} on the set method independently.
*
* @author henrichen
* @see NotifyChangeDisabled
* @since 6.0.0
*/
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface NotifyChange {
String[] value() default {};
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy