ValueChangeEvent<String> event
com.alkacon.opencms.v8.calendar/src/com/alkacon/opencms/v8/calendar/client/input/CmsSerialDate.java
fireValueChange();
void onValueChange(ValueChangeEvent<String> event)
ValueChangeEvent<String> event
com.alkacon.opencms.v8.calendar/src/com/alkacon/opencms/v8/calendar/client/input/CmsSerialDate.java
fireValueChange();
void onValueChange(ValueChangeEvent<String> event)
ValueChangeEvent<String> event
com.alkacon.opencms.v8.calendar/src/com/alkacon/opencms/v8/calendar/client/input/CmsSerialDate.java
fireValueChange();
void onValueChange(ValueChangeEvent<String> event)
ValueChangeEvent<String> event
com.alkacon.opencms.v8.calendar/src/com/alkacon/opencms/v8/calendar/client/input/CmsSerialDate.java
fireValueChange();
void onValueChange(ValueChangeEvent<String> event)
ValueChangeEvent<String> event
com.alkacon.opencms.v8.calendar/src/com/alkacon/opencms/v8/calendar/client/input/CmsSerialDate.java
changePattern();
void onValueChange(ValueChangeEvent<String> event)
com.alkacon.opencms.v8.calendar/src/com/alkacon/opencms/v8/calendar/client/input/CmsSerialDate.java
public void onClick(ClickEvent event) {

                fireValueChange();
new ClickHandler()
com.alkacon.opencms.v8.calendar/src/com/alkacon/opencms/v8/calendar/client/input/CmsSerialDate.java
public void onClick(ClickEvent event) {

                if (m_endsAfter.getText().isEmpty()) {
                    m_endsAfter.setValue("1");
new ClickHandler()
com.alkacon.opencms.v8.calendar/src/com/alkacon/opencms/v8/calendar/client/input/CmsSerialDate.java
public void onClick(ClickEvent event) {

                m_endDate.setValue(new Date());
                fireValueChange();
new ClickHandler()
com.alkacon.opencms.v8.calendar/src/com/alkacon/opencms/v8/calendar/client/input/CmsSerialDate.java
public void execute() {

                fireChangeIfChanged();
new ScheduledCommand()
ValueChangeEvent<String> event
com.alkacon.opencms.v8.calendar/src/com/alkacon/opencms/v8/calendar/client/input/CmsSerialDate.java
fireValueChange();
void onDurationChange(ValueChangeEvent<String> event)
ValueChangeEvent<Date> event
com.alkacon.opencms.v8.calendar/src/com/alkacon/opencms/v8/calendar/client/input/CmsSerialDate.java
m_groupDuration.selectButton(m_endsAtRadioButton);
        fireValueChange();
    /**
     * Handles the ends after change event.<p>
     * @param event the change event
     */
    @UiHandler("m_endsAfter")
    public void onEndsAfterChange(ValueChangeEvent<String> event) {

        fireValueChange();
void onEndDateChange(ValueChangeEvent<Date> event)
FocusEvent event
com.alkacon.opencms.v8.calendar/src/com/alkacon/opencms/v8/calendar/client/input/CmsSerialDate.java
m_groupDuration.selectButton(m_endsAfterRadioButton);
void onEndsAfterFocus(FocusEvent event)
KeyPressEvent event
com.alkacon.opencms.v8.calendar/src/com/alkacon/opencms/v8/calendar/client/input/CmsSerialDate.java
fireValueChange();
void onEndsAfterKeyPress(KeyPressEvent event)
ValueChangeEvent<String> event
com.alkacon.opencms.v8.calendar/src/com/alkacon/opencms/v8/calendar/client/input/CmsSerialDate.java
fireValueChange();
void onEndTimeChange(ValueChangeEvent<String> event)
ValueChangeEvent<Date> event
com.alkacon.opencms.v8.calendar/src/com/alkacon/opencms/v8/calendar/client/input/CmsSerialDate.java
fireValueChange();
void onStartDateChange(ValueChangeEvent<Date> event)
ValueChangeEvent<String> event
com.alkacon.opencms.v8.calendar/src/com/alkacon/opencms/v8/calendar/client/input/CmsSerialDate.java
fireValueChange();
void onStartTimeChange(ValueChangeEvent<String> event)
com.alkacon.opencms.v8.calendar/src/com/alkacon/opencms/v8/calendar/client/input/CmsSerialDate.java
//nothing to do
        if (active != m_active) {
            m_active = active;
            m_dailyRadioButton.setEnabled(active);
            m_weeklyRadioButton.setEnabled(active);
            m_monthlyRadioButton.setEnabled(active);
            m_yearlyRadioButton.setEnabled(active);

            m_noEndingRadioButton.setEnabled(active);
            m_endsAfterRadioButton.setEnabled(active);
            m_endsAtRadioButton.setEnabled(active);
                m_groupPattern.selectButton(m_dailyRadioButton);
                m_groupDuration.selectButton(m_noEndingRadioButton);
void reset()
com.alkacon.opencms.v8.calendar/src/com/alkacon/opencms/v8/calendar/client/input/CmsSerialDate.java
if (m_active) {
            String current = getFormValueAsString();
            if (!current.equals(m_previousValue)) {
                m_previousValue = current;
                ValueChangeEvent.fire(this, current);
void fireChangeIfChanged()
int type
com.alkacon.opencms.v8.calendar/src/com/alkacon/opencms/v8/calendar/client/input/CmsSerialDate.java
CmsRadioButton duration = null;
        switch (type) {
            case 0:
                duration = m_noEndingRadioButton;
                break;
            case 1:
                duration = m_endsAfterRadioButton;
                break;
            case 2:
                duration = m_endsAtRadioButton;
CmsRadioButton getDurationButtonForType(int type)
ValueChangeEvent<String> event
com.alkacon.opencms.v8.calendar/src/com/alkacon/opencms/v8/calendar/client/input/serialdate/CmsPatternPanelDaily.java
initWidget(uiBinder.createAndBindUi(this));
        m_labelDays.setInnerText(m_labels.get("GUI_SERIALDATE_DAILY_DAYS_0").isString().stringValue());
        m_everyDay.setValue("1");
    public String getInterval() {
     * Handles the days key press event.<p>
     * 
     * @param event the event
    @UiHandler("m_everyDay")
    public void onDaysKeyPress(KeyPressEvent event) {
        fireValueChange();
     * Sets the panel active.<p>
     * 
     * @param active if active
    public void setActive(boolean active) {

        m_everyRadioButton.setEnabled(active);
        m_workingRadioButton.setEnabled(active);
        m_everyDay.setEnabled(active);
        if (active) {
            m_everyDay.setText("1");
            m_everyRadioButton.setChecked(true);
void onValueChange(ValueChangeEvent<String> event)
ValueChangeEvent<String> event
com.alkacon.opencms.v8.calendar/src/com/alkacon/opencms/v8/calendar/client/input/serialdate/CmsPatternPanelMonthly.java
fireValueChange();
void onValueChange(ValueChangeEvent<String> event)
KeyPressEvent event
com.alkacon.opencms.v8.calendar/src/com/alkacon/opencms/v8/calendar/client/input/serialdate/CmsPatternPanelMonthly.java
fireValueChange();
void onAtMonthKeyPress(KeyPressEvent event)
ValueChangeEvent<String> event
com.alkacon.opencms.v8.calendar/src/com/alkacon/opencms/v8/calendar/client/input/serialdate/CmsPatternPanelYearly.java
fireValueChange();
void onValueChange(ValueChangeEvent<String> event)
com.alkacon.opencms.v8.calendar/src/com/alkacon/opencms/v8/calendar/client/input/CmsSerialDate.java
public void onClick(ClickEvent event) {

                    changePattern();
new ClickHandler()
com.alkacon.opencms.v8.calendar/src/com/alkacon/opencms/v8/calendar/client/input/CmsSerialDate.java
//nothing to do
    /** Selects the right ending element. 
     * @param element the element that should be checked
     * */
    public void selectEnding(int element) {
        m_groupDuration.selectButton(m_lowRadioButton[element]);
        // Iterate about all radio button.
        for (int i = 0; i < m_arrayRadiobox.length; i++) {
            // set the radio button active / inactive.
            m_arrayRadiobox[i].setEnabled(active);
            // if this widget is set inactive.
            if (!active) {
                // deselect all radio button.
                m_arrayRadiobox[i].setChecked(active);
void reset()
ValueChangeEvent<String> event
com.alkacon.opencms.v8.calendar/src/com/alkacon/opencms/v8/calendar/client/input/CmsSerialDate.java
fireValueChange();
void onValueChange(ValueChangeEvent<String> event)
ValueChangeEvent<String> event
com.alkacon.opencms.v8.calendar/src/com/alkacon/opencms/v8/calendar/client/input/CmsSerialDate.java
fireValueChange();
void onValueChange(ValueChangeEvent<String> event)
ValueChangeEvent<String> event
com.alkacon.opencms.v8.calendar/src/com/alkacon/opencms/v8/calendar/client/input/CmsSerialDate.java
fireValueChange();
void onValueChange(ValueChangeEvent<String> event)
ValueChangeEvent<String> event
com.alkacon.opencms.v8.calendar/src/com/alkacon/opencms/v8/calendar/client/input/CmsSerialDate.java
fireValueChange();
void onValueChange(ValueChangeEvent<String> event)
com.alkacon.opencms.v8.calendar/src/com/alkacon/opencms/v8/calendar/client/input/CmsSerialDate.java
FlexTable table = new FlexTable();
        table.insertRow(0);
        FlowPanel cell1 = new FlowPanel();
        Label startDate = new Label(m_labels.get("GUI_SERIALDATE_TIME_STARTDATE_0").isString().stringValue());
        startDate.addStyleName(I_CmsLayoutBundle.INSTANCE.widgetCss().serialDateLable());
        cell1.add(startDate);
        cell1.getElement().getStyle().setWidth(100, Unit.PCT);
        cell1.add(m_dateboxbegin);
        m_dateboxbegin.setDateOnly(true);
        m_dateboxbegin.getElement().getStyle().setWidth(100, Unit.PX);
        m_dateboxbegin.getElement().getStyle().setFloat(Float.RIGHT);
        m_dateboxbegin.addValueChangeHandler(new ValueChangeHandler<Date>() {

            public void onValueChange(ValueChangeEvent<Date> event) {

                fireValueChange();
void setLowPanel()
com.alkacon.opencms.v8.calendar/src/com/alkacon/opencms/v8/calendar/client/input/CmsSerialDate.java
public void onClick(ClickEvent event) {

                fireValueChange();
new ClickHandler()
com.alkacon.opencms.v8.calendar/src/com/alkacon/opencms/v8/calendar/client/input/CmsSerialDate.java
public void onClick(ClickEvent event) {

                if (m_times.getText().isEmpty()) {
                    m_times.setValue("1");
new ClickHandler()
com.alkacon.opencms.v8.calendar/src/com/alkacon/opencms/v8/calendar/client/input/CmsSerialDate.java
public void onClick(ClickEvent event) {

                m_dateboxend.setValue(new Date());
                fireValueChange();
new ClickHandler()
com.alkacon.opencms.v8.calendar/src/com/alkacon/opencms/v8/calendar/client/input/CmsSerialDate.java
public void onKeyPress(KeyPressEvent event) {

                fireValueChange();
new KeyPressHandler()
ValueChangeEvent<String> event
com.alkacon.opencms.v8.calendar/src/com/alkacon/opencms/v8/calendar/client/input/CmsSerialDate.java
fireValueChange();
void onValueChange(ValueChangeEvent<String> event)
com.alkacon.opencms.v8.calendar/src/com/alkacon/opencms/v8/calendar/client/input/CmsSerialDate.java
public void onFocus(FocusEvent event) {

                selectEnding(1);
new FocusHandler()
ValueChangeEvent<Date> event
com.alkacon.opencms.v8.calendar/src/com/alkacon/opencms/v8/calendar/client/input/CmsSerialDate.java
fireValueChange();
void onValueChange(ValueChangeEvent<Date> event)
com.alkacon.opencms.v8.calendar/src/com/alkacon/opencms/v8/calendar/client/input/CmsSerialDate.java
public void onClick(ClickEvent event) {

                selectEnding(2);
new ClickHandler()
com.alkacon.opencms.v8.calendar/src/com/alkacon/opencms/v8/calendar/client/input/CmsSerialDate.java
m_arrayRadiobox = new CmsRadioButton[4];
        m_arrayRadiobox[0] = new CmsRadioButton(
            KEY_DAILY,
            m_labels.get("GUI_SERIALDATE_TYPE_DAILY_0").isString().stringValue());
        m_arrayRadiobox[0].setGroup(m_groupPattern);
        m_arrayRadiobox[0].setChecked(true);
        m_arrayRadiobox[1] = new CmsRadioButton(
            KEY_WEEKLY,
            m_labels.get("GUI_SERIALDATE_TYPE_WEEKLY_0").isString().stringValue());
        m_arrayRadiobox[1].setGroup(m_groupPattern);
        m_arrayRadiobox[2] = new CmsRadioButton(
            KEY_MONTHLY,
            m_labels.get("GUI_SERIALDATE_TYPE_MONTHLY_0").isString().stringValue());
        m_arrayRadiobox[2].setGroup(m_groupPattern);
        m_arrayRadiobox[3] = new CmsRadioButton(
            KEY_YEARLY,
            m_labels.get("GUI_SERIALDATE_TYPE_YEARLY_0").isString().stringValue());
        m_arrayRadiobox[3].setGroup(m_groupPattern);
void setSelectVaues()
com.alkacon.opencms.v8.calendar/src/com/alkacon/opencms/v8/calendar/client/input/CmsSerialDate.java
Label l_start = new Label(m_labels.get("GUI_SERIALDATE_TIME_STARTTIME_0").isString().stringValue());
        l_start.addStyleName(I_CmsLayoutBundle.INSTANCE.widgetCss().serialDateLable());
        l_start.getElement().getStyle().setFloat(Float.LEFT);
        m_startDate.setStyleName(I_CmsLayoutBundle.INSTANCE.widgetCss().textBoxSerialDate());
        m_startDate.getElement().getStyle().setWidth(110, Unit.PX);
        m_startDate.getElement().getStyle().setMarginRight(1, Unit.PX);
        m_startDate.getElement().getStyle().setFloat(Float.RIGHT);
        m_startDate.addValueChangeHandler(new ValueChangeHandler<String>() {

            public void onValueChange(ValueChangeEvent<String> event) {

                fireValueChange();
void setTopPanel()
ValueChangeEvent<String> event
com.alkacon.opencms.v8.calendar/src/com/alkacon/opencms/v8/calendar/client/input/CmsSerialDate.java
fireValueChange();
void onValueChange(ValueChangeEvent<String> event)
ValueChangeEvent<String> event
com.alkacon.opencms.v8.calendar/src/com/alkacon/opencms/v8/calendar/client/input/CmsSerialDate.java
fireValueChange();
void onValueChange(ValueChangeEvent<String> event)

        sel1.addClickHandler
com.alkacon.opencms.v8.calendar/src/com/alkacon/opencms/v8/calendar/client/input/serialdate/CmsPatternPanelDaily.java
public void onClick(ClickEvent event) {

                fireValueChange();
new CmsRadioButton(
        sel1.addClickHandler(new ClickHandler()
com.alkacon.opencms.v8.calendar/src/com/alkacon/opencms/v8/calendar/client/input/serialdate/CmsPatternPanelDaily.java
public void onClick(ClickEvent event) {

        m_selection[1] = sel2;
        sel2.setGroup(m_group);
        this.add(sel1);
        this.add(m_everyPanel);

        this.add(sel2);
    public String getIterval() {
    /**
     * Returns the selection.<p>
     * @return the selection
     * */
    public CmsRadioButton[] getSelection() {

        return m_selection;
new ClickHandler()
Widget child
com.alkacon.opencms.v8.calendar/src/com/alkacon/opencms/v8/calendar/client/input/serialdate/CmsPatternPanelDaily.java
return remove(child);
        m_group.selectButton(m_selection[selection - 1]);
boolean remove(Widget child)
com.alkacon.opencms.v8.calendar/src/com/alkacon/opencms/v8/calendar/client/input/serialdate/CmsPatternPanelDaily.java
m_everyPanel.add(m_everyDay);
        m_everyDay.setStyleName(I_CmsLayoutBundle.INSTANCE.widgetCss().textBoxSerialDate());
        m_everyDay.setText("1");
        m_everyDay.getElement().getStyle().setWidth(25, Unit.PX);
        m_everyDay.addKeyPressHandler(new KeyPressHandler() {

            public void onKeyPress(KeyPressEvent event) {

                fireValueChange();
void createEverPanel()
com.alkacon.opencms.v8.calendar/src/com/alkacon/opencms/v8/calendar/client/input/serialdate/CmsPatternPanelMonthly.java
public void onClick(ClickEvent event) {

                    fireValueChange();
new ClickHandler()
Widget child
com.alkacon.opencms.v8.calendar/src/com/alkacon/opencms/v8/calendar/client/input/serialdate/CmsPatternPanelMonthly.java
return remove(child);
            m_atNummer.selectValue(dayOfMonthStr + "");
            m_group.selectButton(m_radio[0]);
            m_group.selectButton(m_radio[1]);
    private void createAtPanel() {
        m_atPanel.add(m_atNummer);
        m_atNummer.addStyleName(I_CmsLayoutBundle.INSTANCE.widgetCss().selectBoxPanel());
        m_atNummer.getOpener().setStyleName(
        m_atNummer.getSelectorPopup().addStyleName(I_CmsLayoutBundle.INSTANCE.globalWidgetCss().selectBoxPopup());
        m_atNummer.addOption("1", m_labels.get("GUI_SERIALDATE_WEEKDAYNUMBER_1_0").isString().stringValue());
        m_atNummer.addOption("2", m_labels.get("GUI_SERIALDATE_WEEKDAYNUMBER_2_0").isString().stringValue());
        m_atNummer.addOption("3", m_labels.get("GUI_SERIALDATE_WEEKDAYNUMBER_3_0").isString().stringValue());
        m_atNummer.addOption("4", m_labels.get("GUI_SERIALDATE_WEEKDAYNUMBER_4_0").isString().stringValue());
        m_atNummer.addOption("5", m_labels.get("GUI_SERIALDATE_WEEKDAYNUMBER_5_0").isString().stringValue());
        m_atNummer.setWidth("80px");

        m_atPanel.add(m_atDay);
        m_atDay.addStyleName(I_CmsLayoutBundle.INSTANCE.widgetCss().selectBoxPanel());

        Label every = new Label(m_labels.get("GUI_SERIALDATE_MONTHLY_WEEKDAY_EVERY_0").isString().stringValue());
        every.addStyleName(I_CmsLayoutBundle.INSTANCE.widgetCss().serialDateLable());
        m_atPanel.add(every);
        m_atPanel.add(m_atMonth);
        m_atMonth.setStyleName(I_CmsLayoutBundle.INSTANCE.widgetCss().textBoxSerialDate());
        m_atMonth.addKeyPressHandler(new KeyPressHandler() {

            public void onKeyPress(KeyPressEvent event) {

                fireValueChange();
boolean remove(Widget child)
com.alkacon.opencms.v8.calendar/src/com/alkacon/opencms/v8/calendar/client/input/serialdate/CmsPatternPanelMonthly.java
m_everyPanel.add(m_everyDay);
        m_everyDay.setStyleName(I_CmsLayoutBundle.INSTANCE.widgetCss().textBoxSerialDate());
        m_everyDay.setText("1");
        m_everyDay.addKeyPressHandler(new KeyPressHandler() {

            public void onKeyPress(KeyPressEvent event) {

                fireValueChange();
void createEverPanel()
com.alkacon.opencms.v8.calendar/src/com/alkacon/opencms/v8/calendar/client/input/serialdate/CmsPatternPanelMonthly.java
public void onKeyPress(KeyPressEvent event) {

                fireValueChange();
new KeyPressHandler()
Widget child
com.alkacon.opencms.v8.calendar/src/com/alkacon/opencms/v8/calendar/client/input/serialdate/CmsPatternPanelWeekly.java
return remove(child);
        CmsCheckBox test = new CmsCheckBox(m_labels.get("GUI_SERIALDATE_DAY_MONDAY_0").isString().stringValue());
        test.setInternalValue("2");
        m_checkboxes.add(test);
        test = new CmsCheckBox(m_labels.get("GUI_SERIALDATE_DAY_TUESDAY_0").isString().stringValue());
        test.setInternalValue("3");
        m_checkboxes.add(test);
        test = new CmsCheckBox(m_labels.get("GUI_SERIALDATE_DAY_WEDNESDAY_0").isString().stringValue());
        test.setInternalValue("4");
        m_checkboxes.add(test);
        test = new CmsCheckBox(m_labels.get("GUI_SERIALDATE_DAY_THURSDAY_0").isString().stringValue());
        test.setInternalValue("5");
        m_checkboxes.add(test);
        test = new CmsCheckBox(m_labels.get("GUI_SERIALDATE_DAY_FRIDAY_0").isString().stringValue());
        test.setInternalValue("6");
        m_checkboxes.add(test);
        test = new CmsCheckBox(m_labels.get("GUI_SERIALDATE_DAY_SATURDAY_0").isString().stringValue());
        test.setInternalValue("7");
        m_checkboxes.add(test);
        test = new CmsCheckBox(m_labels.get("GUI_SERIALDATE_DAY_SUNDAY_0").isString().stringValue());
        test.setInternalValue("1");
        m_checkboxes.add(test);
boolean remove(Widget child)
com.alkacon.opencms.v8.calendar/src/com/alkacon/opencms/v8/calendar/client/input/serialdate/CmsPatternPanelWeekly.java
m_everyPanel.add(new Label(m_labels.get("GUI_SERIALDATE_WEEKLY_EVERY_0").isString().stringValue()));
        m_everyPanel.add(m_everyDay);
        m_everyDay.setStyleName(I_CmsLayoutBundle.INSTANCE.widgetCss().textBoxSerialDate());
        m_everyDay.setText("1");
        m_everyDay.addKeyPressHandler(new KeyPressHandler() {

            public void onKeyPress(KeyPressEvent event) {

                fireValueChange();
void createEverPanel()
com.alkacon.opencms.v8.calendar/src/com/alkacon/opencms/v8/calendar/client/input/serialdate/CmsPatternPanelYearly.java
public void onClick(ClickEvent event) {

                    fireValueChange();
new ClickHandler()
Widget child
com.alkacon.opencms.v8.calendar/src/com/alkacon/opencms/v8/calendar/client/input/serialdate/CmsPatternPanelYearly.java
return remove(child);
boolean remove(Widget child)
com.alkacon.opencms.v8.calendar/src/com/alkacon/opencms/v8/calendar/client/input/serialdate/CmsPatternPanelYearly.java
m_atPanel.add(m_atNummer);
        m_atNummer.addStyleName(I_CmsLayoutBundle.INSTANCE.widgetCss().selectBoxPanel());
        m_atNummer.getOpener().setStyleName(
        m_atNummer.getSelectorPopup().addStyleName(I_CmsLayoutBundle.INSTANCE.globalWidgetCss().selectBoxPopup());
        m_atNummer.setWidth("80px");
        m_atNummer.addOption("1", m_labels.get("GUI_SERIALDATE_WEEKDAYNUMBER_1_0").isString().stringValue());
        m_atNummer.addOption("2", m_labels.get("GUI_SERIALDATE_WEEKDAYNUMBER_2_0").isString().stringValue());
        m_atNummer.addOption("3", m_labels.get("GUI_SERIALDATE_WEEKDAYNUMBER_3_0").isString().stringValue());
        m_atNummer.addOption("4", m_labels.get("GUI_SERIALDATE_WEEKDAYNUMBER_4_0").isString().stringValue());
        m_atNummer.addOption("5", m_labels.get("GUI_SERIALDATE_WEEKDAYNUMBER_5_0").isString().stringValue());
        m_atPanel.add(m_atDay);
        m_atDay.addStyleName(I_CmsLayoutBundle.INSTANCE.widgetCss().selectBoxPanel());
        m_atPanel.add(new Label(m_labels.get("GUI_SERIALDATE_YEARLY_IN_0").isString().stringValue()));
        m_atPanel.add(m_atMonth);
        m_atMonth.addStyleName(I_CmsLayoutBundle.INSTANCE.widgetCss().selectBoxPanel());
void createAtPanel()
com.alkacon.opencms.v8.calendar/src/com/alkacon/opencms/v8/calendar/client/input/serialdate/CmsPatternPanelYearly.java
m_everyPanel.add(m_everyDay);
        m_everyDay.setStyleName(I_CmsLayoutBundle.INSTANCE.widgetCss().textBoxSerialDate());
        m_everyDay.setText("1");
        m_everyDay.addKeyPressHandler(new KeyPressHandler() {

            public void onKeyPress(KeyPressEvent event) {

                fireValueChange();
void createEverPanel()