SPT RWT Application API

com.sptci.rwt.webui.model
Class TableTypeDataListener

java.lang.Object
  extended by com.sptci.echo2.Listener<MainController>
      extended by com.sptci.rwt.webui.model.TableTypeDataListener
All Implemented Interfaces:
Serializable, EventListener, ActionListener

public class TableTypeDataListener
extends com.sptci.echo2.Listener<MainController>

The ActionListener for displaying the data contained in a table.

© Copyright 2007 Sans Pareil Technologies, Inc.

Since:
Version 1.3
Version:
$Id: TableTypeDataListener.java 4123 2008-05-25 21:49:01Z rakesh $
Author:
Rakesh Vidyadharan 2007-11-13
See Also:
Serialized Form

Field Summary
private  TableTypeMetaData metaData
          The metadata object for the table whose data is to be displayed.
 
Fields inherited from class com.sptci.echo2.Listener
controller, logger
 
Constructor Summary
TableTypeDataListener(MainController controller, TableTypeMetaData metaData)
          Create a new instance using the specified controller.
 
Method Summary
 void actionPerformed(ActionEvent event)
          The action listener implementation.
 
Methods inherited from class com.sptci.echo2.Listener
getApplication, getController
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

metaData

private final TableTypeMetaData metaData
The metadata object for the table whose data is to be displayed.

Constructor Detail

TableTypeDataListener

public TableTypeDataListener(MainController controller,
                             TableTypeMetaData metaData)
Create a new instance using the specified controller.

Parameters:
controller - The Listener.controller to use.
Method Detail

actionPerformed

public void actionPerformed(ActionEvent event)
The action listener implementation. Display a DatabaseTable that contains all the records in metaData.

Parameters:
event - The action event that was triggered.

SPT RWT Application API