public class ColumnSelectionEvent
extends javax.faces.event.FacesEvent
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.source| Constructor and Description |
|---|
ColumnSelectionEvent(javax.faces.component.UIComponent source,
Collection<String> addedColumns,
Collection<String> removedColumns)
Creates a ColumnSelectionEvent
|
| Modifier and Type | Method and Description |
|---|---|
Collection<String> |
getAddedColumns()
Returns newly selected columns
|
Collection<String> |
getRemovedColumns()
Returns newly unselected columns
|
boolean |
isAppropriateListener(javax.faces.event.FacesListener listener) |
void |
processListener(javax.faces.event.FacesListener listener) |
getComponent, getPhaseId, queue, setPhaseIdgetSource, toStringpublic ColumnSelectionEvent(javax.faces.component.UIComponent source,
Collection<String> addedColumns,
Collection<String> removedColumns)
source - UIComponent firing the eventaddedColumns - a Collection of column client IDs that have just been selected.removedColumns - a Collection of client IDs that have just been unselected.public boolean isAppropriateListener(javax.faces.event.FacesListener listener)
isAppropriateListener in class javax.faces.event.FacesEventpublic void processListener(javax.faces.event.FacesListener listener)
processListener in class javax.faces.event.FacesEventpublic Collection<String> getAddedColumns()
public Collection<String> getRemovedColumns()