KickJava   Java API By Example, From Geeks To Geeks.

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


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  * @author av
17  */

18 public interface SpanDirections {
19   /**
20    * dont combine spans
21    */

22   static final int NO_SPAN = 0;
23   
24   /**
25    * combine spans on hierarchies
26    */

27   static final int HIERARCHY_SPAN = 1;
28   
29   /**
30    * combine spans on positions
31    */

32   static final int POSITION_SPAN = 2;
33   
34   /**
35    * combine spans on hierarchy if possible and, if not, on positions
36    */

37   static final int HIERARCHY_THEN_POSITION_SPAN = 3;
38
39   /**
40    * combine spans on positions if possible and, if not, on hierarchies
41    */

42   static final int POSITION_THEN_HIERARCHY_SPAN = 4;
43
44 }
45
Popular Tags