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: adfrt/faces/adf-faces-api/src/main/java/oracle/adf/view/faces/event/FocusEvent.java#0 $) $Date: 10-nov-2005.19:09:01 $
- 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 componentoldKey
- old focus row keynewKey
- 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
Copyright © 2001-2012 The Apache Software Foundation. All Rights Reserved.