com.miginfocom.calendar.grid
Interface GridLineException

All Known Implementing Classes:
DateBoundaryException, OffsetException

public interface GridLineException

Models an exception to a grid line that can be set on the DefaultGridLineProvider.


Method Summary
 GridLineRepetition getException(GridRow before, GridRow after, int n, int count)
          Optionally returns an exception to a grid line repetition.
 

Method Detail

getException

GridLineRepetition getException(GridRow before,
                                GridRow after,
                                int n,
                                int count)
Optionally returns an exception to a grid line repetition.

Parameters:
before - The grid row before the grid line. Only null if the grid line is the first one.
after - The grid row after the grid line. Only null if the grid line is the last one.
n - The grid line number. Starts at 0 and goes to length - 1.
count - The number of grid lines in this dimension.
Returns:
A GridLineRepetition if there is an exception or null if the "normal" grid line should be used.
Since:
6.0


Copyright © 2009 MiG InfoCom AB. All Rights Reserved.