// 初始化各个按钮的文本信息
 void initButtonText() {
   timeButton.setText(
       "闹钟时间: "
           + param.getHour()
           + ":"
           + (param.getMinute() > 9 ? param.getMinute() : ("0" + param.getMinute())));
   clockNameButton.setText("闹钟名称: " + param.getName());
   clockCircleButton.setText("闹钟周期: " + param.getRepeatInfo(param.getRepeat()));
   levelButton.setText("闹钟难度: " + (param.getLevel() == 1 ? "简单-加法" : "困难-乘法"));
   vibrateButton.setText(param.isIsvabrate() ? "震动: 开启" : "震动: 关闭");
   String s = param.getAudiotype();
   System.out.println("getAudiotype:" + s);
   if (s.equals("default")) s = "默认";
   else {
     String[] name = s.split("/");
     s = name[name.length - 1];
   }
   musicButton.setText("铃声: " + s);
 }
 // 时间选择框被调用时响应,初始化默认时间为闹钟当前的时间
 protected Dialog onCreateDialog(int id) {
   return new TimePickerDialog(this, onTimeListener, param.getHour(), param.getMinute(), false);
 }