47 Sequence Diagram Terima dan Dekripsi Pesan Diterima
OnClick
ListView etKunci
noHp
decrypt
txtAsli
Gambar 3.5 Sequence Diagram Terima dan Dekripsi Pesan Diterima
3.2.5 Diagram Class
MenuActivity - mContext : Context
- btnKirimSMS : Button - btnInboxSMS : Button
- btnSettingKey : Button - btnBantuan : Button
- btnKeyNumber : Button - btnKeluar : Button
- intent : Intent + void onCreate Bundle savedInstanceState
+ void onClick + boolean onCreateOptionMenu
+ void onBackPressed + boolean isCheck
User BukaSMS
Activity inbox
btnDekrip Playfair
48
KirimSMSActivity - btnEnkripsi : Button
- btnKirim : Button - btnPesan : Button
- etKey : EditKey - txtNoHp : AutoCompleteTextView
- mContext : Context - intent : Intent
- stringNoHp : String - stringIsiPesan : String
+ void onCreate Bundle savedInstanceState + void onItemClick Adapter View
+ void onClik + boolean onCreateOptionMenu
+ boolean onCreateOptionItemSelected + boolean cokField
BukaSMSActivity - noHp : EditText
- isiPesan : EditText - etKunci : EditText
- mContext : Context - intent : Intent
- btnBalas : Button - btnDekrip : Button
- btnHapus :Button - dekripsiKeyUser : String
- dekripsiKeyNumber : String - id : Long
+ void onCreate Bundle savedInstanceState + boolean onCreateOptionMenu
+ boolean onCreateOptionItemSelected + void onClik
+ boolean cokField
49
ListSMSInbox - mContext : Context
- listViewSMS : ListView - adapter : SMSAdapter
- terimaSMS : BroadcastReceiver - filter : IntentFilter
- intent : Intent - id : Long
+ void onCreate Bundle savedInstanceState + void onDestroy
+ boolean onCreateOptionMenu + boolean onCreateOptionItemSelected
+ void onItemClick
SettingKeyActivity - textKey : EditText
- btnSimpan: EditText + void onCreate Bundle savedInstanceState
+ void onClik
Inbox - terimaSMS : BroadcastReceiver
- filter : IntentFilter - list : ListView
+ void onCreate Bundle savedInstanceState + void DeleteItem
Outbox - list : ListView
+ void onCreate Bundle savedInstanceState + void DeleteItem
+ voidDisplayData