com.ibm.bpe.jsf.handler
Interface ItemListener

All Known Implementing Classes:
BPCDetailsHandler

public interface ItemListener

The ItemListener Interface is used to declare interest in events about selection changes. For example the BPCListHandler allows to register Item Change Listener through the itemListener property.


        <managed-bean>
                <managed-bean-name>TaskInstanceList</managed-bean-name>
                <managed-bean-class>com.ibm.bpe.jsf.handler.BPCListHandler</managed-bean-class>
                <managed-bean-scope>session</managed-bean-scope>
                <managed-property>
                        <property-name>type</property-name>
                        <value>com.ibm.bpe.client.model.TaskInstanceBean</value>
                </managed-property>
                <managed-property>
                        <property-name>itemListener</property-name>
                        <list-entries>
                                <value-class>com.ibm.bpe.jsf.handler.ItemListener</value-class>
                                <value>#{TaskInstanceDetailsBean}</value>
                        </list-entries>
                </managed-property>
                <managed-property>
                        <property-name>query</property-name>
                        <value>#{TaskInstanceQuery}</value>
                </managed-property>
        </managed-bean>

 
If a link in the associated List Component is clicked, the #{TaskInstanceDetailsBean) object which implements ItemListener will be notified about the selected item. For more information about the List Component see BPCListHandler and ListTag (But the List Component will not trigger such events for changes to the check box selections).


Field Summary
static java.lang.String COPYRIGHT
           
 
Method Summary
 void itemChanged(java.lang.Object item)
          Will be triggered if a new element has been selected in the ItemListener Event provider.
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
See Also:
Constant Field Values
Method Detail

itemChanged

public void itemChanged(java.lang.Object item)
                 throws com.ibm.bpc.clientcore.ClientException
Will be triggered if a new element has been selected in the ItemListener Event provider.

Parameters:
item - The single item which has been selected.
Throws:
com.ibm.bpc.clientcore.ClientException