KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tonbeller > jpivot > table > span > SpanConfig


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.span;
14
15 /**
16  *
17  * @author av
18  */

19 public interface SpanConfig extends SpanDirections {
20
21   /**
22    * computes the preferred span direction of a span. On a column-axis, for example,
23    * the Hierarchies may be horizontally spanned, while the Members are vertically.
24    */

25   int chooseSpanDirection(Span span);
26
27   /**
28    * determines whether or not two <code>Span</code>s are equal. Equal Spans may be
29    * merged to a single span
30    */

31   boolean equals(Span span1, Span span2);
32
33 }
34
Popular Tags