EchoPoint
1.0

echopoint.model
Interface CalendarSelectionModel

All Known Implementing Classes:
DefaultCalendarSelectionModel

public interface CalendarSelectionModel

Interface for Calendar Selection


Method Summary
 void addChangeListener(nextapp.echo.event.ChangeListener listener)
          Adds listener as a listener to changes in the model.
 java.util.Calendar getDisplayedDate()
           
 java.util.Calendar getSelectedDate()
           
 void removeChangeListener(nextapp.echo.event.ChangeListener listener)
          Removes listener as a listener to changes in the model.
 void setDisplayedDate(java.util.Calendar cal)
          Sets the model's displayed date to cal.
 void setSelectedDate(java.util.Calendar cal)
          Sets the model's selected date to cal.
 

Method Detail

addChangeListener

public void addChangeListener(nextapp.echo.event.ChangeListener listener)
Adds listener as a listener to changes in the model.


getDisplayedDate

public java.util.Calendar getDisplayedDate()
Returns:
the model's displayed date

getSelectedDate

public java.util.Calendar getSelectedDate()

removeChangeListener

public void removeChangeListener(nextapp.echo.event.ChangeListener listener)
Removes listener as a listener to changes in the model.


setDisplayedDate

public void setDisplayedDate(java.util.Calendar cal)
Sets the model's displayed date to cal. Notifies any listeners if the model changes


setSelectedDate

public void setSelectedDate(java.util.Calendar cal)
Sets the model's selected date to cal. Notifies any listeners if the model changes


EchoPoint
1.0