001 package jigcell.compare.ui;
002
003 import jigcell.compare.ITab;
004
005 /**
006 * Represents a Comparator tab that has promised functionality for manipulating individual cells of tabular data. Components supporting only a
007 * subset of these features should throw an UnsupportedOperationException to indicate features that are not supported.
008 *
009 * <p>
010 * This code is licensed under the DARPA BioCOMP Open Source License. See LICENSE for more details.
011 * </p>
012 *
013 * @author Nicholas Allen
014 */
015
016 public interface ICellEditorTab extends ITab {
017
018 /**
019 * Starts editing a cell.
020 *
021 * @param row Row
022 * @param column Column
023 */
024
025 void editCell (int row, int column);
026
027 /**
028 * Fills a column down with a value.
029 *
030 * @param row Starting row
031 * @param column Column
032 */
033
034 void fillDown (int row, int column);
035
036 /**
037 * Fills a column at selected spots with a value.
038 *
039 * @param row Starting row
040 * @param column Column
041 * @param rows Selected rows
042 */
043
044 void fillSelected (int row, int column, int rows []);
045
046 /**
047 * Fills a column up with a value.
048 *
049 * @param row Starting row
050 * @param column Column
051 */
052
053 void fillUp (int row, int column);
054
055 /**
056 * Starts viewing a cell.
057 *
058 * @param row Row
059 * @param column Column
060 */
061
062 void viewCell (int row, int column);
063 }