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

net.sf.jtables.table.TableMutableAnnotated Maven / Gradle / Ivy

Go to download

Simple and lightweight framework to work with tables and table based files such as CSV and other (tab)-delimited files.

There is a newer version: 2.2.2
Show newest version
/**********************************************************************
Copyright (c) 2009-2012 Alexander Kerner. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
 ***********************************************************************/

package net.sf.jtables.table;

import java.util.List;

/**
 * 
 * A {@code MutableTable} and also a {@code AnnotatedTable}.
 * 
 * @author Alexander Kerner
 * @version 2012-01-25
 * 
 * @param 
 *            type of elements in {@Table}
 * 
 * @see TableMutable
 * @see TableAnnotated
 */
public interface TableMutableAnnotated extends TableAnnotated, TableMutable {

	/**
	 * 
	 * Set identifiers for columns.
	 * 
	 * @param ids
	 *            a {@link List} that contains all column identifiers
	 */
	void setColumnIdentifier(List ids);

	/**
	 * 
	 * Set identifiers for rows.
	 * 
	 * @param ids
	 *            a {@link List} that contains all row identifiers
	 */
	void setRowIdentifier(List ids);

	void addRow(Object id, Row row);

	void addColumn(Object id, Column row);

	void addRow(Object id, Row row, int index);

	void addColumn(Object id, Column row, int index);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy