Skip navigation links
org.apache.myfaces.trinidad.event
Class FocusEvent
java.lang.Object
java.util.EventObject
javax.faces.event.FacesEvent
org.apache.myfaces.trinidad.event.FocusEvent
- All Implemented Interfaces:
- Serializable
-
public class FocusEvent
- extends javax.faces.event.FacesEvent
Event delivered when focusing on a node in a tree. The event includes information about the old and the new focus row keys.
- Version:
- $Name: $ ($Revision: /main/2 $) $Date: 2012/01/04 16:18:05 $
- See Also:
- Serialized Form
| Constructor Summary |
FocusEvent(javax.faces.component.UIComponent source)
The constructor with no key info is currently need for backwards compatibility. |
FocusEvent(javax.faces.component.UIComponent source, Object oldKey, Object newKey)
Creates a new FocusEvent |
| Methods inherited from class javax.faces.event.FacesEvent |
getComponent, getPhaseId, queue, setPhaseId |
FocusEvent
public FocusEvent(javax.faces.component.UIComponent source,
Object oldKey,
Object newKey)
- Creates a new FocusEvent
- Parameters:
source - source component
oldKey - old focus row key
newKey - new focus row key
FocusEvent
public FocusEvent(javax.faces.component.UIComponent source)
- The constructor with no key info is currently need for backwards compatibility. Will be remove at a later time.
- Parameters:
source -
getOldKey
public Object getOldKey()
getNewKey
public Object getNewKey()
processListener
public void processListener(javax.faces.event.FacesListener listener)
-
- Specified by:
processListener in class javax.faces.event.FacesEvent
isAppropriateListener
public boolean isAppropriateListener(javax.faces.event.FacesListener listener)
-
- Specified by:
isAppropriateListener in class javax.faces.event.FacesEvent
hashCode
public int hashCode()
-
- Overrides:
hashCode in class Object
equals
public boolean equals(Object o)
-
- Overrides:
equals in class Object
toString
public String toString()
-
- Overrides:
toString in class EventObject
Skip navigation links
Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.