All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.sf.doolin.tabular.model.TabularModel Maven / Gradle / Ivy

Go to download

This Doolin GUI module is an extension that allows writing tabular data (CSV, Excel).

The newest version!
/*
 * Created on Aug 14, 2007
 */
package net.sf.doolin.tabular.model;

/**
 * Defines the structure of some tabular data.
 * 
 * @author Damien Coraboeuf
 * 
 * @param 
 *            Type of object per row
 */
public interface TabularModel {

	/**
	 * Gets the column at a specified index
	 * 
	 * @param index
	 *            Column index
	 * @return Column at the index
	 */
	TabularColumn getColumn(int index);

	/**
	 * Returns the column count
	 * 
	 * @return Count
	 */
	int getColumnCount();

	/**
	 * Switches to the next item in the list or returns null if no
	 * object is available any longer.
	 * 
	 * @return Next object or null
	 */
	T next();

	/**
	 * Resets to the start of rows
	 */
	void reset();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy