Interface RepetitionSpec

All Superinterfaces:
All Known Implementing Classes:
DefaultGridLineProvider, DefaultRepetitionSpec

public interface RepetitionSpec

A number of Repetitions that should define a range 0..n each represented by a specific repetition.

Method Summary
 Repetition getRepetition(int n, int count)
          Returns the Repetition for the nth index.

Method Detail


Repetition getRepetition(int n,
                         int count)
Returns the Repetition for the nth index.

n - The repetition to return the size for. Must be less than count.
count - The total in the range. Used for knowing when the "last" index is asked for.
The repetition that is active (E.g. "applies") for that index. Can be null if none of the contained Repetitions applies to n.

Copyright © 2009 MiG InfoCom AB. All Rights Reserved.