public final class TableCellContext
extends java.lang.Object
TableCell object and information about the table that contains the TableCell.| Constructor and Description |
|---|
TableCellContext(java.lang.String tableId,
java.lang.String linkActionHandler,
java.lang.String menuActionHandler,
int x,
int y)
Constructs a TableCellContext.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public TableCellContext(java.lang.String tableId,
java.lang.String linkActionHandler,
java.lang.String menuActionHandler,
int x,
int y)
tableId - String containing the unique ID of the tablelinkActionHandler - String containing the name of a JavaScript function to call to handle LinkTableCell
click events with the prototype of: function contentLinkActionHandler(column, row, data)menuActionHandler - String containing the name of a JavaScript function to call to handle menu
selection events with the prototype of: function contentEventHandler(menuItemId, selectedIndices, tableData)x - int containing the column number of the TableCelly - int containing the row number of the TableCellpublic java.lang.String getLinkActionHandler()
public java.lang.String getMenuActionHandler()
public int getX()
public int getY()
public java.lang.String getTableId()
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 ${TODAY} ${TSTAMP}.