Annotation Type OnChanges

  • @Retention(RUNTIME)
    public @interface OnChanges
    A group of @OnChange associated to the same member.

    Applies to properties and references.

    It allows to define a value different for @OnChange in each view.

        @OnChange(forViews="DEFAULT", value= ... ),
        @OnChange(forViews="Simple, VerySimple", value= ... ),
        @OnChange(forViews="Complete", value= ... )
    Since 6.1 @OnChange is repeatable, so you don't need to use @OnChanges any more.
    Javier Paniza
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      OnChange[] value