/** * displays the Dialog for the output format and sets the chosen settings, if * the user approves. */ public void setOutputFormatFromDialog() { OutputFormatDialog dialog = new OutputFormatDialog(PropertyDialog.getParentFrame(this)); m_ResultMatrix.setShowStdDev(m_ShowStdDevs.isSelected()); dialog.setResultMatrix(m_ResultMatrix); dialog.setLocationRelativeTo(this); if (dialog.showDialog() == OutputFormatDialog.APPROVE_OPTION) { m_ResultMatrix = dialog.getResultMatrix(); m_ShowStdDevs.setSelected(m_ResultMatrix.getShowStdDev()); } }
/** * displays the Dialog for the output format and sets the chosen settings, if * the user approves. */ public void setOutputFormatFromDialog() { OutputFormatDialog dialog = new OutputFormatDialog(PropertyDialog.getParentFrame(this)); m_ResultMatrix.setShowStdDev(m_ShowStdDevs.isSelected()); dialog.setResultMatrix(m_ResultMatrix); dialog.setLocationRelativeTo(this); if (dialog.showDialog() == OutputFormatDialog.APPROVE_OPTION) { m_ResultMatrix = dialog.getResultMatrix(); m_ShowStdDevs.setSelected(m_ResultMatrix.getShowStdDev()); } }
matrix.setShowStdDev(true); System.out.println(matrix.toStringMatrix());
matrix.setShowStdDev(true); System.out.println(matrix.toStringMatrix());
matrix.setShowStdDev(true); System.out.println(matrix.toStringMatrix());
matrix.setShowStdDev(true); System.out.println(matrix.toStringMatrix());
matrix.setShowStdDev(true); System.out.println(matrix.toStringMatrix());
matrix.setShowStdDev(true); System.out.println(matrix.toStringMatrix());
matrix.setShowStdDev(true); System.out.println(matrix.toStringMatrix());
matrix.setShowStdDev(true); System.out.println(matrix.toStringMatrix());
matrix.setShowStdDev(true); System.out.println(matrix.toStringMatrix());
matrix.setShowStdDev(true); System.out.println(matrix.toStringMatrix());
matrix.setShowStdDev(true); System.out.println(matrix.toStringMatrix());
matrix.setShowStdDev(true); System.out.println(matrix.toStringMatrix());
result.setStdDevPrec(getStdDevPrecision()); result.setShowAverage(getShowAverage()); result.setShowStdDev(getShowStdDevs()); result.setRemoveFilterName(getRemoveFilterClassnames());
result.setStdDevPrec(getStdDevPrecision()); result.setShowAverage(getShowAverage()); result.setShowStdDev(getShowStdDevs()); result.setRemoveFilterName(getRemoveFilterClassnames());
setShowStdDev(Utils.getFlag("show-stddev", options));
setShowStdDev(Utils.getFlag("show-stddev", options));
/** * clears the content and fills the column and row names according to the * given sorting */ protected void initResultMatrix() { m_ResultMatrix.setSize(getNumResultsets(), getNumDatasets()); m_ResultMatrix.setShowStdDev(m_ShowStdDevs); for (int i = 0; i < getNumDatasets(); i++) { m_ResultMatrix.setRowName(i, templateString(m_DatasetSpecifiers.specifier(i))); } for (int j = 0; j < getNumResultsets(); j++) { m_ResultMatrix.setColName(j, getResultsetName(j)); m_ResultMatrix.setColHidden(j, !displayResultset(j)); } }
/** * clears the content and fills the column and row names according to the * given sorting */ protected void initResultMatrix() { m_ResultMatrix.setSize(getNumResultsets(), getNumDatasets()); m_ResultMatrix.setShowStdDev(m_ShowStdDevs); for (int i = 0; i < getNumDatasets(); i++) { m_ResultMatrix.setRowName(i, templateString(m_DatasetSpecifiers.specifier(i))); } for (int j = 0; j < getNumResultsets(); j++) { m_ResultMatrix.setColName(j, getResultsetName(j)); m_ResultMatrix.setColHidden(j, !displayResultset(j)); } }