com.sapportals.htmlb.event

Class TableRowSelectionEvent

java.lang.Object
  extended bycom.sapportals.htmlb.event.Event
      extended bycom.sapportals.htmlb.event.TableRowSelectionEvent

public class TableRowSelectionEvent
extends Event

Title: TableRowClickEvent Description: this event will be fired at the moment the radiobutton is selected if the selection mode is set to single.

Copyright 2004 SAP AG


Constructor Summary
TableRowSelectionEvent()
           
 
Method Summary
 int getVisibleRowIndex()
          returns the visible row index
static String renderEventCall(IPageContext pc, TableView tv, int rowIndex)
          INTERNAL USE ONLY.
static String renderJSFunction(IPageContext pc, TableView tv)
          INTERNAL USE ONLY.
protected  void setParams(String[] params)
          set the parameters for the event This event only has one parameter - the row index
 String toString()
           
 
Methods inherited from class com.sapportals.htmlb.event.Event
getAction, getComponentName, getModifierData, getParams, getParams, setAction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TableRowSelectionEvent

public TableRowSelectionEvent()
Method Detail

getVisibleRowIndex

public int getVisibleRowIndex()
returns the visible row index


setParams

protected void setParams(String[] params)
set the parameters for the event This event only has one parameter - the row index

Specified by:
setParams in class Event
Parameters:
params - the event parameters

renderEventCall

public static String renderEventCall(IPageContext pc,
                                     TableView tv,
                                     int rowIndex)
INTERNAL USE ONLY. This method is used by the rendering class to construct the JavaScript function call for this event.


renderJSFunction

public static String renderJSFunction(IPageContext pc,
                                      TableView tv)
INTERNAL USE ONLY. This method is used by the rendering class to construct the JavaScript function wrapper for the client side JavaScript fragment.


toString

public String toString()
Overrides:
toString in class Event


Copyright 2006 SAP AG Complete Copyright Notice