com.tonbeller.jpivot.table.span
Interface SpanConfig

All Superinterfaces:
SpanDirections
All Known Implementing Classes:
NoSpanConfig, SpanConfigSupport

public interface SpanConfig
extends SpanDirections

Author:
av

Field Summary
 
Fields inherited from interface com.tonbeller.jpivot.table.span.SpanDirections
HIERARCHY_SPAN, HIERARCHY_THEN_POSITION_SPAN, NO_SPAN, POSITION_SPAN, POSITION_THEN_HIERARCHY_SPAN
 
Method Summary
 int chooseSpanDirection(Span span)
          computes the preferred span direction of a span.
 boolean equals(Span span1, Span span2)
          determines whether or not two Spans are equal.
 

Method Detail

chooseSpanDirection

int chooseSpanDirection(Span span)
computes the preferred span direction of a span. On a column-axis, for example, the Hierarchies may be horizontally spanned, while the Members are vertically.


equals

boolean equals(Span span1,
               Span span2)
determines whether or not two Spans are equal. Equal Spans may be merged to a single span