1 /* 2 * ==================================================================== 3 * This software is subject to the terms of the Common Public License 4 * Agreement, available at the following URL: 5 * http://www.opensource.org/licenses/cpl.html . 6 * Copyright (C) 2003-2004 TONBELLER AG. 7 * All Rights Reserved. 8 * You must accept the terms of that agreement to use this software. 9 * ==================================================================== 10 * 11 * 12 */ 13 package com.tonbeller.jpivot.table; 14 15 import org.w3c.dom.Element; 16 17 import com.tonbeller.jpivot.table.span.SpanCalc; 18 19 /** 20 * Created on 24.10.2002 21 * 22 * @author av 23 */ 24 public interface RowAxisBuilder extends AxisBuilder { 25 /** 26 * return the number of rows needed for the header (corner element) 27 */ 28 29 int getHeaderRowCount(); 30 /** 31 * builds a row for the corner element 32 */ 33 void buildHeaderRow(Element parent, int rowIndex); 34 35 /** 36 * returns the SpanCalc for header if present. return null otherwise 37 */ 38 SpanCalc getHeaderSpanCalc(); 39 } 40