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:
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, Object oldKey, Object newKey)
          Creates a new FocusEvent
 
Method Summary
 boolean equals(Object o)
           
 Object getNewKey()
           
 Object getOldKey()
           
 int hashCode()
           
 boolean isAppropriateListener(javax.faces.event.FacesListener listener)
           
 void processListener(javax.faces.event.FacesListener listener)
           
 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,
                  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 -
Method Detail

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.