jigcell.compare.ui
Interface IRowEditorTab

All Superinterfaces:
ITab
All Known Implementing Classes:
CellCycleExperimentView, CellCycleObjectiveView, CellCycleTransformView, Compare2, DimensionWeightEditorDialog, EditableSeriesView, ElementWeightEditorDialog, ObjectiveSeriesView, SeriesEditorDialog, WeightEditorDialog

public interface IRowEditorTab
extends ITab

Represents a Comparator tab that has promised functionality for manipulating the rows 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 addRow()
          Adds a new row to the view.
 void addRows(int count)
          Adds several new rows to the view.
 void deleteRow(int row)
          Deletes a row from the table.
 void deleteRows(int[] rows)
          Deletes rows from the table.
 int getRowCount()
          The number of rows in the table.
 java.lang.Object getRowData(int row)
          The data for a row in the table or null if the row is not valid.
 void insertRow(int row)
          Inserts a row at a specified location.
 void insertRows(int row, int count)
          Inserts a number of new rows at a specified location.
 void moveRowsDown(int[] rows)
          Moves selected rows down.
 void moveRowsUp(int[] rows)
          Moves selected rows up.
 
Methods inherited from interface jigcell.compare.ITab
createAboutDialog, createConfigEditor, getName, readConfiguration
 

Method Detail

addRow

void addRow()
Adds a new row to the view.


addRows

void addRows(int count)
Adds several new rows to the view.

Parameters:
count - Number of rows

deleteRow

void deleteRow(int row)
Deletes a row from the table.

Parameters:
row - Row

deleteRows

void deleteRows(int[] rows)
Deletes rows from the table.

Parameters:
rows - Rows

getRowCount

int getRowCount()
The number of rows in the table.


getRowData

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

Parameters:
row - Row

insertRow

void insertRow(int row)
Inserts a row at a specified location.

Parameters:
row - Row to insert at

insertRows

void insertRows(int row,
                int count)
Inserts a number of new rows at a specified location.

Parameters:
row - Row to insert at
count - Number of rows to insert

moveRowsDown

void moveRowsDown(int[] rows)
Moves selected rows down.

Parameters:
rows - Rows

moveRowsUp

void moveRowsUp(int[] rows)
Moves selected rows up.

Parameters:
rows - Rows