Examples of CellInfo


Examples of autotest.common.spreadsheet.Spreadsheet.CellInfo

    private void processRow(JSONObject group) {
        JSONArray headerIndices = group.get("header_indices").isArray();
        int row = (int) headerIndices.get(0).isNumber().doubleValue();
        int column = (int) headerIndices.get(1).isNumber().doubleValue();
        CellInfo cellInfo = spreadsheet.getCellInfo(row, column);
        StatusSummary statusSummary = StatusSummary.getStatusSummary(group);
        numTotalTests += statusSummary.getTotal();
        cellInfo.contents = statusSummary.formatContents();
        cellInfo.cssClass = statusSummary.getCssClass();
        cellInfo.testCount = statusSummary.getTotal();
View Full Code Here

Examples of org.formulacompiler.runtime.spreadsheet.CellInfo

  void util_log( Object _value, String _sheetName, int _columnIndex, int _rowIndex, String _definedName, boolean _input, boolean _output )
  {
    final Object value = _value;
    final CellComputationListener listener = this.environment.computationListener();
    final CellAddress cellAddress = new CellAddressImpl( _sheetName, _columnIndex, _rowIndex );
    final CellInfo cellInfo = new CellInfoImpl( cellAddress, _definedName );
    final SpreadsheetCellComputationEvent event = new SpreadsheetCellComputationEvent( cellInfo, this.sectionInfo, value, _input, _output );
    listener.cellCalculated( event );
  }
View Full Code Here

Examples of org.formulacompiler.runtime.spreadsheet.CellInfo

  public void constantExpressionEliminated( final CellModel _cell, final Object _value )
  {
    final Object cellSource = _cell.getSource();
    if (cellSource instanceof CellAddress) {
      final CellAddress cellAddress = (CellAddress) cellSource;
      final CellInfo cellInfo = new CellInfoImpl( cellAddress, _cell.getName() );
      final SectionModel sectionModel = _cell.getSection();
      final Object sectionSource = sectionModel.getSource();
      final RangeAddress range = sectionSource instanceof RangeAddress ? (RangeAddress) sectionSource : null;
      final SectionInfo sectionInfo = new SectionInfoImpl( sectionModel.getName(), range, -1 );
      final boolean input = _cell.isInput();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.