CVS: Tapestry/contrib/src/net/sf/tapestry/contrib/table/model ITableRendererSource.java,NONE,1.1 ITableRendererListener.java,NONE,1.1

Mind Bridge <[email protected]>
Newsgroups gmane.comp.java.tapestry.cvs
Message-ID <[email protected]>
Update of /cvsroot/tapestry/Tapestry/contrib/src/net/sf/tapestry/contrib/table/model
In directory sc8-pr-cvs1:/tmp/cvs-serv6509/contrib/src/net/sf/tapestry/contrib/table/model

Added Files:
	ITableRendererSource.java ITableRendererListener.java 
Log Message:


--- NEW FILE: ITableRendererSource.java ---
package net.sf.tapestry.contrib.table.model;

import java.io.Serializable;

import net.sf.tapestry.IRender;
import net.sf.tapestry.IRequestCycle;

/**
 * This interface provides a renderer to present the data in a table column.
 * It is usually used by the {@link net.sf.tapestry.contrib.table.model.ITableColumn} 
 * implementations via aggregation.
 * 
 * @see net.sf.tapestry.contrib.table.model.column.AbstractTableColumn
 * @version $Id: ITableRendererSource.java,v 1.1 2002/12/23 12:40:28 mindbridge Exp $
 * @author mindbridge
 * @since 2.3
 */
public interface ITableRendererSource extends Serializable
{
	/**
	 * Returns a renderer to present the data of the row in the given column. <p>
	 * This method can also be used to return a renderer to present the
	 * heading of the column. In such a case the row passed would be null.
	 * 
	 * @see net.sf.tapestry.contrib.table.model.ITableColumn#getValueRenderer(IRequestCycle, ITableModelSource, Object)
	 */
	public IRender getRenderer(
		IRequestCycle objCycle,
		ITableModelSource objSource,
		ITableColumn objColumn,
		Object objRow);

}

--- NEW FILE: ITableRendererListener.java ---
package net.sf.tapestry.contrib.table.model;

import net.sf.tapestry.IComponent;
import net.sf.tapestry.IRequestCycle;

/**
 * 
 * @see net.sf.tapestry.contrib.table.model.column.AbstractTableColumn
 * @version $Id: ITableRendererListener.java,v 1.1 2002/12/23 12:40:28 mindbridge Exp $
 * @author mindbridge
 * @since 2.3
 */
public interface ITableRendererListener extends IComponent
{
	void initializeRenderer(
		IRequestCycle objCycle,
		ITableModelSource objSource,
		ITableColumn objColumn,
		Object objRow);
}



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.