You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
106 lines
3.7 KiB
106 lines
3.7 KiB
10 months ago
|
@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
|