Skip navigation links


org.apache.myfaces.trinidad.event
Class FocusEvent

java.lang.Object
  extended by java.util.EventObject
      extended by javax.faces.event.FacesEvent
          extended by 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

Field Summary

 

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

 

Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.Object getNewKey()
           
 java.lang.Object getOldKey()
           
 int hashCode()
           
 boolean isAppropriateListener(javax.faces.event.FacesListener listener)
           
 void processListener(javax.faces.event.FacesListener listener)
           
 java.lang.String toString()
           

 

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

 

Constructor Detail

FocusEvent

public FocusEvent(javax.faces.component.UIComponent source,
                  java.lang.Object oldKey,
                  java.lang.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 -

Method Detail

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

Skip navigation links


Copyright © 2001-2012 The Apache Software Foundation. All Rights Reserved.