Annotation Type ViewEvent


  • @Retention(RUNTIME)
    @Target(METHOD)
    @Inherited
    public @interface ViewEvent
    Annotate a method to be invoked when a zk event comes in. The method should have either one argument of type Event or none.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String eventName
      The event name, e.g.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String componentID
      The id of the component.
    • Element Detail

      • eventName

        java.lang.String eventName
        The event name, e.g. Events.ON_CLICK
      • componentID

        java.lang.String componentID
        The id of the component. If not provided, the EventListener is applied to the Widgetslot.
        Default:
        ""