From 5958b7eae02b96e67c1e1599fe7997a5d9e405f9 Mon Sep 17 00:00:00 2001 From: puavjn2x9 <3530152719@qq.com> Date: Thu, 18 Jan 2024 18:38:22 +0800 Subject: [PATCH] ADD file via upload --- test.puml | 106 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 106 insertions(+) create mode 100644 test.puml diff --git a/test.puml b/test.puml new file mode 100644 index 0000000..b7fb975 --- /dev/null +++ b/test.puml @@ -0,0 +1,106 @@ +@startuml +class net.micode.notes.ui.DateTimePicker { +- {static} boolean DEFAULT_ENABLE_STATE +- {static} int HOURS_IN_HALF_DAY +- {static} int HOURS_IN_ALL_DAY +- {static} int DAYS_IN_ALL_WEEK +- {static} int DATE_SPINNER_MIN_VAL +- {static} int DATE_SPINNER_MAX_VAL +- {static} int HOUR_SPINNER_MIN_VAL_24_HOUR_VIEW +- {static} int HOUR_SPINNER_MAX_VAL_24_HOUR_VIEW +- {static} int HOUR_SPINNER_MIN_VAL_12_HOUR_VIEW +- {static} int HOUR_SPINNER_MAX_VAL_12_HOUR_VIEW +- {static} int MINUT_SPINNER_MIN_VAL +- {static} int MINUT_SPINNER_MAX_VAL +- {static} int AMPM_SPINNER_MIN_VAL +- {static} int AMPM_SPINNER_MAX_VAL +- NumberPicker mDateSpinner +- NumberPicker mHourSpinner +- NumberPicker mMinuteSpinner +- NumberPicker mAmPmSpinner +- Calendar mDate +- String[] mDateDisplayValues +- boolean mIsAm +- boolean mIs24HourView +- boolean mIsEnabled +- boolean mInitialising +- OnDateTimeChangedListener mOnDateTimeChangedListener +- NumberPicker.OnValueChangeListener mOnDateChangedListener +- NumberPicker.OnValueChangeListener mOnHourChangedListener +- NumberPicker.OnValueChangeListener mOnMinuteChangedListener +- NumberPicker.OnValueChangeListener mOnAmPmChangedListener ++ void setEnabled(boolean) ++ boolean isEnabled() ++ long getCurrentDateInTimeMillis() ++ void setCurrentDate(long) ++ void setCurrentDate(int,int,int,int,int) ++ int getCurrentYear() ++ void setCurrentYear(int) ++ int getCurrentMonth() ++ void setCurrentMonth(int) ++ int getCurrentDay() ++ void setCurrentDay(int) ++ int getCurrentHourOfDay() +- int getCurrentHour() ++ void setCurrentHour(int) ++ int getCurrentMinute() ++ void setCurrentMinute(int) ++ boolean is24HourView() ++ void set24HourView(boolean) +- void updateDateControl() +- void updateAmPmControl() +- void updateHourControl() ++ void setOnDateTimeChangedListener(OnDateTimeChangedListener) +- void onDateTimeChanged() +} +interface net.micode.notes.ui.DateTimePicker$OnDateTimeChangedListener { +~ void onDateTimeChanged(DateTimePicker,int,int,int,int,int) +} +class net.micode.notes.ui.AlarmReceiver { ++ void onReceive(Context,Intent) +} +class net.micode.notes.ui.AlarmInitReceiver { +- {static} String[] PROJECTION +- {static} int COLUMN_ID +- {static} int COLUMN_ALERTED_DATE ++ void onReceive(Context,Intent) +} +class net.micode.notes.ui.DateTimePickerDialog { +- Calendar mDate +- boolean mIs24HourView +- OnDateTimeSetListener mOnDateTimeSetListener +- DateTimePicker mDateTimePicker ++ void set24HourView(boolean) ++ void setOnDateTimeSetListener(OnDateTimeSetListener) +- void updateTitle(long) ++ void onClick(DialogInterface,int) +} +interface net.micode.notes.ui.DateTimePickerDialog$OnDateTimeSetListener { +~ void OnDateTimeSet(AlertDialog,long) +} +class net.micode.notes.ui.AlarmAlertActivity { +- long mNoteId +- String mSnippet +- {static} int SNIPPET_PREW_MAX_LEN +~ MediaPlayer mPlayer +# void onCreate(Bundle) +- boolean isScreenOn() +- void playAlarmSound() +- void showActionDialog() ++ void onClick(DialogInterface,int) ++ void onDismiss(DialogInterface) +- void stopAlarmSound() +} + + +android.widget.FrameLayout <|-- net.micode.notes.ui.DateTimePicker +net.micode.notes.ui.DateTimePicker +.. net.micode.notes.ui.DateTimePicker$OnDateTimeChangedListener +android.content.BroadcastReceiver <|-- net.micode.notes.ui.AlarmReceiver +android.content.BroadcastReceiver <|-- net.micode.notes.ui.AlarmInitReceiver +android.content.DialogInterface.OnClickListener <|.. net.micode.notes.ui.DateTimePickerDialog +android.app.AlertDialog <|-- net.micode.notes.ui.DateTimePickerDialog +net.micode.notes.ui.DateTimePickerDialog +.. net.micode.notes.ui.DateTimePickerDialog$OnDateTimeSetListener +android.content.DialogInterface.OnClickListener <|.. net.micode.notes.ui.AlarmAlertActivity +android.content.DialogInterface.OnDismissListener <|.. net.micode.notes.ui.AlarmAlertActivity +android.app.Activity <|-- net.micode.notes.ui.AlarmAlertActivity +@enduml \ No newline at end of file