private Integer getPeriodType() {
        if (runAtThisTimeRadioButton.isSelected()) {
            return PeriodTypeEnum.RUN_AT_THIS_TIME_TASK_CODE;
        } else if (runPerDayRadioButton.isSelected()) {
            return PeriodTypeEnum.RUN_PER_DAY_TASK_CODE;
        } else if (runPerWeekRadioButton.isSelected()) {
            return PeriodTypeEnum.RUN_PER_WEEK_TASK_CODE;
        } else if (cronRadioButton.isSelected()) {
            return PeriodTypeEnum.CRON_TASK_CODE;
        } else {
            return null;
        }
    }
Method generated by IntelliJ IDEA GUI Designer
>>> IMPORTANT!! <<<
DO NOT edit this method OR call it in your code!

@noinspection ALL
src/main/java/com/fangxuele/tool/push/ui/dialog/NewTaskDialog.java