com.sun.rave.web.ui.component.util.event
Class CommandEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.sun.rave.web.ui.component.util.event.EventObjectBase
          extended by com.sun.rave.web.ui.component.util.event.CommandEvent
All Implemented Interfaces:
UIComponentHolder, java.io.Serializable

public class CommandEvent
extends EventObjectBase
implements UIComponentHolder

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
CommandEvent(javax.faces.component.UIComponent component, java.util.EventObject actionEvent)
           Constructor.
 
Method Summary
 java.util.EventObject getActionEvent()
           Getter for actionEvent.
 void setActionEvent(java.util.EventObject actionEvent)
           Setter for actionEvent.
 
Methods inherited from class com.sun.rave.web.ui.component.util.event.EventObjectBase
getUIComponent
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.sun.rave.web.ui.component.util.event.UIComponentHolder
getUIComponent
 

Constructor Detail

CommandEvent

public CommandEvent(javax.faces.component.UIComponent component,
                    java.util.EventObject actionEvent)

Constructor.

Parameters:
component - The UIComponent associated with this EventObject.
Method Detail

setActionEvent

public void setActionEvent(java.util.EventObject actionEvent)

Setter for actionEvent. When a CommandEvent is created, there is often another event involved. This property contains that other event (if any). The type of this event is often an ActionEvent, hence the name of this property. However, this should not always be assumed to be set or of type ActionEvent.

Parameters:
actionEvent - The EventObject to set.

getActionEvent

public java.util.EventObject getActionEvent()

Getter for actionEvent. When a CommandEvent is created, there is often another event involved. This property contains that other event (if any). The type of this event is often an ActionEvent, hence the name of this property. However, this should not always be assumed to be set or of type ActionEvent.

Returns:
The actionEvent EventObject.