|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- the type of the granularity (e.g. TimeGranularity,
SimpleGranularity)public interface IZoomPolicy<T extends IGranularity>
A policy interface used in the context of the Dateline
. The model
uses the policy to determine which time granularities will be available for
the user for zoom in and zoom out operations.
Method Summary | |
---|---|
T |
getGranularity(int index)
Returns the granularity with the given index. |
int |
getGranularityCount()
Returns the number of supported granularities. |
int |
getGranularityIndex(T granularity)
Returns the index of the given granularity. |
Method Detail |
---|
int getGranularityCount()
T getGranularity(int index)
index
- the index for which to return a granularity
int getGranularityIndex(T granularity)
granularity
- the granularity for which to return an index
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |