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:
- java.io.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
| Fields inherited from class java.util.EventObject |
source |
|
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,
java.lang.Object oldKey,
java.lang.Object newKey)
Creates a new FocusEvent |
| Methods inherited from class javax.faces.event.FacesEvent |
getComponent, getPhaseId, queue, setPhaseId |
| Methods inherited from class java.util.EventObject |
getSource |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
FocusEvent
public FocusEvent(javax.faces.component.UIComponent source,
java.lang.Object oldKey,
java.lang.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 java.lang.Object getOldKey()
getNewKey
public java.lang.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 java.lang.Object
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString in class java.util.EventObject
Copyright © 2001-2011 The Apache Software Foundation. All Rights Reserved.