jigcell.compare.ui
Interface IColumnEditorTab

All Superinterfaces:
ITab
All Known Implementing Classes:
Compare2

public interface IColumnEditorTab
extends ITab

Represents a Comparator tab that has promised functionality for manipulating the columns of a table view. Components supporting only a subset of these features should throw an UnsupportedOperationException to indicate features that are not supported.

This code is licensed under the DARPA BioCOMP Open Source License. See LICENSE for more details.

Author:
Nicholas Allen

Field Summary
 
Fields inherited from interface jigcell.compare.ITab
CONFIG_TABNAME, STATE_ENDINITIALIZE, STATE_ENDUI, STATE_INITIALIZE, STATE_RUNNING, STATES
 
Method Summary
 void addColumn()
          Adds a new column to the view.
 void addColumns(int count)
          Adds several new columns to the view.
 void deleteColumn(int column)
          Deletes a column from the table.
 void deleteColumns(int[] columns)
          Deletes columns from the table.
 int getColumnCount()
          The number of columns in the table.
 java.lang.Object getColumnData(int column)
          The data for a column in the table or null if the column is not valid.
 void insertColumn(int column)
          Inserts a column at a specified location.
 void insertColumns(int column, int count)
          Inserts a number of new columns at a specified location.
 
Methods inherited from interface jigcell.compare.ITab
createAboutDialog, createConfigEditor, getName, readConfiguration
 

Method Detail

addColumn

void addColumn()
Adds a new column to the view.


addColumns

void addColumns(int count)
Adds several new columns to the view.

Parameters:
count - Number of columns

deleteColumn

void deleteColumn(int column)
Deletes a column from the table.

Parameters:
column - Column

deleteColumns

void deleteColumns(int[] columns)
Deletes columns from the table.

Parameters:
columns - Columns

getColumnCount

int getColumnCount()
The number of columns in the table.


getColumnData

java.lang.Object getColumnData(int column)
The data for a column in the table or null if the column is not valid.

Parameters:
column - Column

insertColumn

void insertColumn(int column)
Inserts a column at a specified location.

Parameters:
column - Column to insert at

insertColumns

void insertColumns(int column,
                   int count)
Inserts a number of new columns at a specified location.

Parameters:
column - Column to insert at
count - Number of columns to insert