public class UnStructuredCovariancePanel extends Composite implements CovarianceBuilder, ResizableMatrixChangeHandler
Constructor and Description |
---|
UnStructuredCovariancePanel(CovarianceSetManager manager,
String name,
List<String> labelList,
List<Integer> spacingList) |
Modifier and Type | Method and Description |
---|---|
boolean |
checkComplete()
Indicates if all required information has been entered
|
Covariance |
getCovariance()
Build a covariance object from the panel
|
void |
loadCovariance(Covariance covariance)
Load the panel from the specified covariance object
|
void |
onCellChange(int row,
int column,
double value)
Handler for changes to the resizable matrix contents
|
void |
onColumnDimension(int columns)
Event handler for column resize events in the covariance matrix
|
void |
onRowDimension(int rows)
Event handler for row resize events in the covariance matrix
|
void |
syncCovariance()
Sync the GUI view with the context
|
public Covariance getCovariance()
public boolean checkComplete()
public void loadCovariance(Covariance covariance)
loadCovariance
in interface CovarianceBuilder
covariance
- covariance objectpublic void onRowDimension(int rows)
onRowDimension
in interface ResizableMatrixChangeHandler
rows
- new row dimensionpublic void onColumnDimension(int columns)
onColumnDimension
in interface ResizableMatrixChangeHandler
columns
- new column dimensionspublic void onCellChange(int row, int column, double value)
onCellChange
in interface ResizableMatrixChangeHandler
row
- cell rowcolumn
- cell columnvalue
- new cell valuepublic void syncCovariance()
syncCovariance
in interface CovarianceBuilder
University of Colorado Denver, Department of Biostatistics and Informatics