|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectListActivity
com.h20.course.tp4.TP4
public class TP4
This class implements the first part of the course homework. It simply displays a list of addresses into the screen.
| Constructor Summary | |
|---|---|
TP4()
|
|
| Method Summary | |
|---|---|
boolean |
onContextItemSelected(MenuItem item)
The actions that will take place once a context menu is selected. |
void |
onCreate(Bundle savedInstanceState)
Sets up this activity. |
void |
onCreateContextMenu(ContextMenu menu,
View v,
ContextMenuInfo menuInfo)
Creates a new context menu, once an item in the list is clicked. |
boolean |
onCreateOptionsMenu(Menu menu)
Creates the menu for this application. |
boolean |
onMenuItemSelected(int featureId,
MenuItem item)
Define the event handler for when one item of the menu is selected. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TP4()
| Method Detail |
|---|
public final void onCreate(Bundle savedInstanceState)
savedInstanceState - the parameters to the activity.public final boolean onCreateOptionsMenu(Menu menu)
menu - the Menu instance that will aggregate the menu items.
public final boolean onMenuItemSelected(int featureId,
MenuItem item)
featureId - the item that was chosen by the user.item - the item that was chose by the user.
public final void onCreateContextMenu(ContextMenu menu,
View v,
ContextMenuInfo menuInfo)
menu - the object that joins all the context menus together.v - the view where the menu will pop up.menuInfo - information related to the menu.public final boolean onContextItemSelected(MenuItem item)
item - the menu item selected.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||