Class CmsPatternPanelMonthlyController
- java.lang.Object
-
- org.opencms.acacia.client.widgets.serialdate.A_CmsPatternPanelController
-
- org.opencms.acacia.client.widgets.serialdate.CmsPatternPanelMonthlyController
-
- All Implemented Interfaces:
I_CmsSerialDatePatternController
public class CmsPatternPanelMonthlyController extends A_CmsPatternPanelController
Controller for the monthly pattern panel.
-
-
Field Summary
-
Fields inherited from class org.opencms.acacia.client.widgets.serialdate.A_CmsPatternPanelController
m_model
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description I_CmsSerialDatePatternView
getView()
Returns the view that is controlled.void
setPatternScheme(boolean isByWeekDay, boolean fireChange)
Set the pattern scheme to either "by weekday" or "by day of month".void
setWeekDay(java.lang.String dayString)
Set the week day the event should take place.void
weeksChange(java.lang.String week, java.lang.Boolean value)
Handle a change in the weeks of month.-
Methods inherited from class org.opencms.acacia.client.widgets.serialdate.A_CmsPatternPanelController
conditionallyRemoveExceptionsOnChange, onValueChange, removeExceptionsOnChange
-
-
-
-
Method Detail
-
getView
public I_CmsSerialDatePatternView getView()
Description copied from interface:I_CmsSerialDatePatternController
Returns the view that is controlled.- Specified by:
getView
in interfaceI_CmsSerialDatePatternController
- Specified by:
getView
in classA_CmsPatternPanelController
- Returns:
- the controlled view.
- See Also:
A_CmsPatternPanelController.getView()
-
setPatternScheme
public void setPatternScheme(boolean isByWeekDay, boolean fireChange)
Set the pattern scheme to either "by weekday" or "by day of month".- Parameters:
isByWeekDay
- flag, indicating if the pattern "by weekday" should be set.fireChange
- flag, indicating if a value change event should be fired.
-
setWeekDay
public void setWeekDay(java.lang.String dayString)
Set the week day the event should take place.- Parameters:
dayString
- the day as string.
-
weeksChange
public void weeksChange(java.lang.String week, java.lang.Boolean value)
Handle a change in the weeks of month.- Parameters:
week
- the changed weeks checkbox's internal value.value
- the new value of the changed checkbox.
-
-