001 package com.sptci.rwt.webui;
002
003 import com.sptci.echo2.table.Table;
004 import com.sptci.rwt.Row;
005
006 /**
007 * A custom table used to display {@link com.sptci.rwt.Row} objects.
008 *
009 * <p>© Copyright 2007 <a href='http://sptci.com/' target='_new'>Sans Pareil Technologies, Inc.</a></p>
010 * @author Rakesh Vidyadharan 2007-10-05
011 * @version $Id: RowTable.java 4123 2008-05-25 21:49:01Z rakesh $
012 */
013 public class RowTable extends Table<Row>
014 {
015 /**
016 * Create a new table instance using the specified model.
017 *
018 * @param model The data model backing this table.
019 */
020 public RowTable( final RowTableModel model )
021 {
022 super( model );
023 }
024
025 /**
026 * Return the data model backing this table. Over-ridden to avoid
027 * casting of the returned type.
028 *
029 * @return The table model for this table.
030 */
031 @Override
032 public RowTableModel getModel()
033 {
034 return (RowTableModel) super.getModel();
035 }
036 }