es.cesar.quitesleep.activities
Class SettingsTab

java.lang.Object
  extended by Activity
      extended by es.cesar.quitesleep.activities.SettingsTab
All Implemented Interfaces:
IDialogs

public class SettingsTab
extends Activity
implements IDialogs

Author:
Cesar Valiente Gordo

Field Summary
(package private)  int ABOUT_DIALOG
           
(package private)  int aboutMenuId
           
(package private)  int blockOtherCallsId
           
(package private)  int hangUpRButtonId
           
(package private)  int HELP_DIALOG
           
(package private)  int helpMenuId
           
(package private)  int mailButtonId
           
(package private)  int muteRButtonId
           
(package private)  int serviceToggleButtonId
           
(package private)  int smsButtonId
           
 
Fields inherited from interface es.cesar.quitesleep.interfaces.IDialogs
ABOUT_URI, HELP_CONTACT_URI, HELP_LOGS_URI, HELP_SCHEDULE_URI, HELP_SETTINGS_URI
 
Constructor Summary
SettingsTab()
           
 
Method Summary
 void onClick(View view)
          Listener for all buttons in this Activity
 void onCreate(Bundle savedInstanceState)
           
protected  Dialog onCreateDialog(int id)
          Create the activity dialogs used for it
 boolean onCreateOptionsMenu(Menu menu)
           
 boolean onOptionsItemSelected(MenuItem item)
           
 void onResume()
           
 Dialog showWebviewDialog(java.lang.String uri)
          Create the webview dialog using the file (uri) specified to show the information.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ABOUT_DIALOG

final int ABOUT_DIALOG
See Also:
Constant Field Values

HELP_DIALOG

final int HELP_DIALOG
See Also:
Constant Field Values

mailButtonId

final int mailButtonId
See Also:
Constant Field Values

smsButtonId

final int smsButtonId
See Also:
Constant Field Values

blockOtherCallsId

final int blockOtherCallsId
See Also:
Constant Field Values

muteRButtonId

final int muteRButtonId
See Also:
Constant Field Values

hangUpRButtonId

final int hangUpRButtonId
See Also:
Constant Field Values

serviceToggleButtonId

final int serviceToggleButtonId
See Also:
Constant Field Values

aboutMenuId

final int aboutMenuId
See Also:
Constant Field Values

helpMenuId

final int helpMenuId
See Also:
Constant Field Values
Constructor Detail

SettingsTab

public SettingsTab()
Method Detail

onCreate

public void onCreate(Bundle savedInstanceState)

onResume

public void onResume()

onClick

public void onClick(View view)
Listener for all buttons in this Activity


onCreateOptionsMenu

public boolean onCreateOptionsMenu(Menu menu)

onOptionsItemSelected

public boolean onOptionsItemSelected(MenuItem item)
Parameters:
item -
Returns:
boolean

onCreateDialog

protected Dialog onCreateDialog(int id)
Create the activity dialogs used for it

Parameters:
id -
Returns:
the dialog for the option specified
See Also:
Dialog

showWebviewDialog

public Dialog showWebviewDialog(java.lang.String uri)
Create the webview dialog using the file (uri) specified to show the information.

Specified by:
showWebviewDialog in interface IDialogs
Returns: