com.arsdigita.bebop.event
Class TableActionEvent
java.lang.Object
java.util.EventObject
com.arsdigita.bebop.event.PageEvent
com.arsdigita.bebop.event.ActionEvent
com.arsdigita.bebop.event.TableActionEvent
- All Implemented Interfaces:
- Serializable
- public class TableActionEvent
- extends ActionEvent
An event for the Table
component.
Table will fire this event when one of its active cells receives a
click.
- Version:
- $Id: //core-platform/dev/src/com/arsdigita/bebop/event/TableActionEvent.java#8 $
- Author:
- David Lutterkort
- See Also:
TableActionListener
,
TableActionAdapter
,
Serialized Form
Method Summary |
Integer |
getColumn()
Get the index of the column that received the click. |
Object |
getRowKey()
Get the key for the row that received the click. |
versionId
public static final String versionId
- See Also:
- Constant Field Values
TableActionEvent
public TableActionEvent(Component source,
PageState s,
Object rowKey,
Integer column)
- Construct a TableActionEvent for a click on a particular row
and a particular column.
- Parameters:
source
- the Component generating the event.s
- the state for the current request.rowKey
- the key for the row where the click was registered.column
- the index of the column where the click was registered.
TableActionEvent
public TableActionEvent(Component source,
PageState s,
Object rowKey)
- Construct a TableActionEvent for a click on a particular row.
- Parameters:
source
- the Component generating the event.s
- the state for the current request.rowKey
- the key for the row where the click was registered.
getRowKey
public final Object getRowKey()
- Get the key for the row that received the click.
- Returns:
- the key for the row that received the click.
getColumn
public final Integer getColumn()
- Get the index of the column that received the click.
- Returns:
- the index of the column that received the click.
Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2337 UTC