es.cesar.quitesleep.activities
Class ScheduleTab

java.lang.Object
  extended by Activity
      extended by es.cesar.quitesleep.activities.ScheduleTab

public class ScheduleTab
extends Activity

Author:
Cesar Valiente Gordo

Field Summary
(package private)  int aboutMenuId
           
(package private)  int helpMenuId
           
 
Constructor Summary
ScheduleTab()
           
 
Method Summary
protected  void onActivityResult(int requestCode, int resultCode, Intent data)
           
 void onClick(View view)
          Listener for all buttons in this Activity
 void onCreate(Bundle savedInstanceState)
           
protected  Dialog onCreateDialog(int id)
          For the first time that create the dialogs
 boolean onCreateOptionsMenu(Menu menu)
           
 boolean onOptionsItemSelected(MenuItem item)
           
protected  void onPrepareDialog(int idDialog, Dialog dialog)
          This function prepare the dalogs every time to call for some of this
 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

aboutMenuId

final int aboutMenuId
See Also:
Constant Field Values

helpMenuId

final int helpMenuId
See Also:
Constant Field Values
Constructor Detail

ScheduleTab

public ScheduleTab()
Method Detail

onCreate

public void onCreate(Bundle savedInstanceState)

onClick

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


onCreateDialog

protected Dialog onCreateDialog(int id)
For the first time that create the dialogs


showWebviewDialog

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

Returns:

onPrepareDialog

protected void onPrepareDialog(int idDialog,
                               Dialog dialog)
This function prepare the dalogs every time to call for some of this

Parameters:
int -
dialog -

onActivityResult

protected void onActivityResult(int requestCode,
                                int resultCode,
                                Intent data)

onCreateOptionsMenu

public boolean onCreateOptionsMenu(Menu menu)

onOptionsItemSelected

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