com.novell.emframe.dev.dataTable
Class TableCellContext

java.lang.Object
  extended bycom.novell.emframe.dev.dataTable.TableCellContext

public final class TableCellContext
extends java.lang.Object

Contains information specific to a TableCell object and information about the table that contains the TableCell.


Method Summary
 java.lang.String getLinkActionHandler()
          Returns the name of the JavaScript function that will handle all LinkTableCell actions.
 java.lang.String getMenuActionHandler()
          Returns the name of the JavaScript function that will handle all menu actions.
 java.lang.String getTableId()
          Returns the unique ID of the table that contains this TableCell.
 int getX()
          Returns the column number of the TableCell in the table.
 int getY()
          Returns the row number of the TableCell in the table.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getLinkActionHandler

public java.lang.String getLinkActionHandler()
Returns the name of the JavaScript function that will handle all LinkTableCell actions.

Returns:
String containing the name of a JavaScript function to call to handle LinkTableCell click events with the prototype of: function contentLinkActionHandler(column, row, data)

getMenuActionHandler

public java.lang.String getMenuActionHandler()
Returns the name of the JavaScript function that will handle all menu actions.

Returns:
String containing the name of a JavaScript function to call to handle menu selection events with the prototype of: function contentEventHandler(menuItemId, selectedIndices, tableData)

getTableId

public java.lang.String getTableId()
Returns the unique ID of the table that contains this TableCell.

Returns:
String containing the unique ID of the table

getX

public int getX()
Returns the column number of the TableCell in the table.

Returns:
int containing the column this cell represents in the table

getY

public int getY()
Returns the row number of the TableCell in the table.

Returns:
int containing the row this cell represents in the table


API Documentation Copyright © 1998-2004 Novell, Inc. All rights reserved.
NDS is a registered trademark of Novell, Inc. in the United States and other countries.
Generated September 2 2004 0111.