public class ItemChangeEvent
extends javax.faces.event.FacesEvent
A ItemChangeEvent
is a ...
source
Constructor and Description |
---|
ItemChangeEvent(javax.faces.component.UIComponent component,
String oldItemName,
javax.faces.component.UIComponent oldItem,
String newItemName,
javax.faces.component.UIComponent newItem)
Construct a new event object from the specified source component, old value, and new value.
|
Modifier and Type | Method and Description |
---|---|
javax.faces.component.UIComponent |
getNewItem() |
String |
getNewItemName() |
javax.faces.component.UIComponent |
getOldItem() |
String |
getOldItemName() |
boolean |
isAppropriateListener(javax.faces.event.FacesListener listener) |
void |
processListener(javax.faces.event.FacesListener listener) |
getComponent, getPhaseId, queue, setPhaseId
getSource, toString
public ItemChangeEvent(javax.faces.component.UIComponent component, String oldItemName, javax.faces.component.UIComponent oldItem, String newItemName, javax.faces.component.UIComponent newItem)
Construct a new event object from the specified source component, old value, and new value.
The default PhaseId
for this event is PhaseId.ANY_PHASE
.
component
- Source UIComponent
for this eventoldItemName
- newItemName
- IllegalArgumentException
- if component
is null
public String getOldItemName()
public String getNewItemName()
public javax.faces.component.UIComponent getOldItem()
public javax.faces.component.UIComponent getNewItem()
public boolean isAppropriateListener(javax.faces.event.FacesListener listener)
isAppropriateListener
in class javax.faces.event.FacesEvent
public void processListener(javax.faces.event.FacesListener listener)
processListener
in class javax.faces.event.FacesEvent
javax.faces.event.AbortProcessingException
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.