|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eesgmbh.gimv.client.presenter.CalendarPresenter
public class CalendarPresenter
This presenter changes the bounds according to some sort of calendar.
After instantiating the presenter, the domain bound (left, right, bottom, top) must be assigned
with configureBound(Bound). The corresponding axis (horizontal or vertical) must represent
a date range in milliseconds.
Registers with the HandlerManager to receive the following events
SetDomainBoundsEvent (mandatory, won't work otherwise)
SetMaxDomainBoundsEvent (optional, if received the selectable dates will be restricted accordingly,
see CalendarPresenter.View.addShowRangeHandler(ShowRangeHandler))
Fires the following events
| Nested Class Summary | |
|---|---|
static interface |
CalendarPresenter.View
The View interface of this presenter. |
| Constructor Summary | |
|---|---|
CalendarPresenter(HandlerManager handlerManager,
CalendarPresenter.View view)
Instantiates the presenter. |
|
| Method Summary | |
|---|---|
void |
configureBound(Bound bound)
This method will assign the domain bound (left, right, bottom, top) to the presenter. |
void |
setFireLoadImageDataEvent(boolean fireLoadImageDataEvent)
Defines, whether a LoadImageDataEvent is fired. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CalendarPresenter(HandlerManager handlerManager,
CalendarPresenter.View view)
handlerManager - A HandlerManagerview - A CalendarPresenter.View implementation| Method Detail |
|---|
public void configureBound(Bound bound)
If for example Bound.LEFT is specified, the left bound of the domain bounds
will be changed by the presenter.
Note that the corresponding axis (vertical or horizontal) must represent date ranges
in milliseconds. If e.g. bound is Bound.LEFT the horizonal axis must in milliseconds.
bound - An enum value of Boundpublic void setFireLoadImageDataEvent(boolean fireLoadImageDataEvent)
Defines, whether a LoadImageDataEvent is fired.
Default is true.
fireLoadImageDataEvent - fire it, or not
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||