RichFaces CDK Annotations 4.1.0.20111101-M4

org.richfaces.cdk.annotations
Annotation Type Event


@Retention(value=CLASS)
@Target(value=TYPE)
@Inherited
public @interface Event

This annotation tells CDK to generate event-related classes:

Author:
asmirnov@exadel.com

Optional Element Summary
 Class<? extends javax.faces.event.FacesListener> listener
          

The listener interface class that process annotated event.

 String listenerMethod
          

Name for the listener interface method that process annotated event type.

 String source
          

Name of the interface class that fires annotated events and accepts its listeners.

 Tag[] tag
          

View Description Language, JSP or Facelets, tags for event listeners, eg <foo:barListener>.

 Class<? extends javax.faces.event.FacesEvent> value
          

Used in the JsfComponent only, to define event type.

 

value

public abstract Class<? extends javax.faces.event.FacesEvent> value

Used in the JsfComponent only, to define event type.

Returns:
Default:
org.richfaces.cdk.annotations.Event.DEFAULT.class

listener

public abstract Class<? extends javax.faces.event.FacesListener> listener

The listener interface class that process annotated event.

Returns:
name of listener interface
Default:
org.richfaces.cdk.annotations.Event.DEFAULT_LISTENER.class

listenerMethod

public abstract String listenerMethod

Name for the listener interface method that process annotated event type.

Returns:
Default:
""

source

public abstract String source

Name of the interface class that fires annotated events and accepts its listeners.

Returns:
name of generated source interface..
Default:
""

tag

public abstract Tag[] tag

View Description Language, JSP or Facelets, tags for event listeners, eg <foo:barListener>.

Returns:
Default:
{}

RichFaces CDK Annotations 4.1.0.20111101-M4

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.