Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Faces
11g Release 2 (11.1.2.3.0)
E17488-04


oracle.adf.view.rich.event
Class ColumnSelectionEvent

java.lang.Object
  extended by java.util.EventObject
      extended by javax.faces.event.FacesEvent
          extended by oracle.adf.view.rich.event.ColumnSelectionEvent

All Implemented Interfaces:
java.io.Serializable

public class ColumnSelectionEvent
extends javax.faces.event.FacesEvent

ColumnSelectionEvent is fired when a column selection change occurrs in RichTable and RichTreeTable. The 'addedColumns' and 'removedColumns' properties of the event contain column client IDs for the newly selected and newly unselected columns. The getSelectedColumns API (available on the 'source' component) returns client IDs for all currently selected columns.

See Also:
Serialized Form

Field Summary

 

Fields inherited from class java.util.EventObject
source

 

Constructor Summary
ColumnSelectionEvent(javax.faces.component.UIComponent source, java.util.Collection<java.lang.String> addedColumns, java.util.Collection<java.lang.String> removedColumns)
          Creates a ColumnSelectionEvent

 

Method Summary
 java.util.Collection<java.lang.String> getAddedColumns()
          Returns newly selected columns
 java.util.Collection<java.lang.String> getRemovedColumns()
          Returns newly unselected columns
 boolean isAppropriateListener(javax.faces.event.FacesListener listener)
           
 void processListener(javax.faces.event.FacesListener listener)
           

 

Methods inherited from class javax.faces.event.FacesEvent
getComponent, getPhaseId, queue, setPhaseId

 

Methods inherited from class java.util.EventObject
getSource, toString

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

ColumnSelectionEvent

public ColumnSelectionEvent(javax.faces.component.UIComponent source,
                            java.util.Collection<java.lang.String> addedColumns,
                            java.util.Collection<java.lang.String> removedColumns)
Creates a ColumnSelectionEvent
Parameters:
source - UIComponent firing the event
addedColumns - a Collection of column client IDs that have just been selected.
removedColumns - a Collection of client IDs that have just been unselected.

Method Detail

isAppropriateListener

public boolean isAppropriateListener(javax.faces.event.FacesListener listener)
Specified by:
isAppropriateListener in class javax.faces.event.FacesEvent

processListener

public void processListener(javax.faces.event.FacesListener listener)
Specified by:
processListener in class javax.faces.event.FacesEvent

getAddedColumns

public java.util.Collection<java.lang.String> getAddedColumns()
Returns newly selected columns
Returns:
Collection of client IDs for newly selected columns

getRemovedColumns

public java.util.Collection<java.lang.String> getRemovedColumns()
Returns newly unselected columns
Returns:
Collection of client IDs for newly unselected columns

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Faces
11g Release 2 (11.1.2.3.0)
E17488-04


Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved.