com.ibm.xsp.event
Class PagerEvent

java.lang.Object
  extended by java.util.EventObject
      extended by javax.faces.event.FacesEvent
          extended by javax.faces.event.ActionEvent
              extended by com.ibm.xsp.event.PagerEvent
All Implemented Interfaces:
java.io.Serializable

public class PagerEvent
extends javax.faces.event.ActionEvent

Specifies pager events fired by UIPager.

See Also:
Serialized Form

Field Summary
static int ACTION_FIRST
          Go to first page
static int ACTION_GOTOPAGE
          Go to selected page
static int ACTION_LAST
          Go to last page
static int ACTION_NEXT
          Go to next page
static int ACTION_PREVIOUS
          Go to previous page
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
PagerEvent(javax.faces.component.UIComponent component)
           
 
Method Summary
 int getAction()
          Return the action specified by setAction(int).
 int getPage()
          Return the page specified by setPage(int).
 void setAction(int action)
          Specifies the action to fire.
 void setPage(int page)
          Specifies the target page
 
Methods inherited from class javax.faces.event.ActionEvent
isAppropriateListener, processListener
 
Methods inherited from class javax.faces.event.FacesEvent
getComponent, getPhaseId, queue, setPhaseId
 
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
 

Field Detail

ACTION_FIRST

public static final int ACTION_FIRST
Go to first page

See Also:
Constant Field Values

ACTION_PREVIOUS

public static final int ACTION_PREVIOUS
Go to previous page

See Also:
Constant Field Values

ACTION_NEXT

public static final int ACTION_NEXT
Go to next page

See Also:
Constant Field Values

ACTION_LAST

public static final int ACTION_LAST
Go to last page

See Also:
Constant Field Values

ACTION_GOTOPAGE

public static final int ACTION_GOTOPAGE
Go to selected page

See Also:
Constant Field Values
Constructor Detail

PagerEvent

public PagerEvent(javax.faces.component.UIComponent component)
Method Detail

getAction

public int getAction()
Return the action specified by setAction(int).


setAction

public void setAction(int action)
Specifies the action to fire.


setPage

public void setPage(int page)
Specifies the target page


getPage

public int getPage()
Return the page specified by setPage(int).