Public Member Functions | |
void | buildRecursiveList (JSONObject msg, ArrayList< String > arrList, String currentPrefix) throws JSONException |
boolean | onCreateOptionsMenu (Menu menu) |
boolean | onOptionsItemSelected (MenuItem item) |
void | onOptionsMenuClosed (Menu menu) |
void | openOptionsMenu () |
Protected Member Functions | |
void | onCreate (Bundle savedInstanceState) |
void | onPause () |
void | onResume () |
Private Member Functions | |
ArrayList< String > | createFieldList (String topicText) |
Private Attributes | |
TopicService.TopicBinder | mCompassService |
ServiceConnection | mConnection |
boolean | mResumed |
This activity manages the options menu that appears when the user taps on the live card display. The menu allows them to quit, or select a different view.
Definition at line 55 of file TopicMenuActivity.java.
void edu.nimbus.glass.TopicMenuActivity.buildRecursiveList | ( | JSONObject | msg, |
ArrayList< String > | arrList, | ||
String | currentPrefix | ||
) | throws JSONException [inline] |
This method builds a recursive list of fields within the message that is being currently displayed
Definition at line 178 of file TopicMenuActivity.java.
ArrayList<String> edu.nimbus.glass.TopicMenuActivity.createFieldList | ( | String | topicText | ) | [inline, private] |
This method creates an ArrayList of fields that are defined in the message on the topic currently being displayed
Definition at line 161 of file TopicMenuActivity.java.
void edu.nimbus.glass.TopicMenuActivity.onCreate | ( | Bundle | savedInstanceState | ) | [inline, protected] |
Definition at line 80 of file TopicMenuActivity.java.
boolean edu.nimbus.glass.TopicMenuActivity.onCreateOptionsMenu | ( | Menu | menu | ) | [inline] |
Definition at line 106 of file TopicMenuActivity.java.
boolean edu.nimbus.glass.TopicMenuActivity.onOptionsItemSelected | ( | MenuItem | item | ) | [inline] |
This method here will either kill the live card, show or switch the view by starting the feild select service.
Definition at line 116 of file TopicMenuActivity.java.
void edu.nimbus.glass.TopicMenuActivity.onOptionsMenuClosed | ( | Menu | menu | ) | [inline] |
Definition at line 198 of file TopicMenuActivity.java.
void edu.nimbus.glass.TopicMenuActivity.onPause | ( | ) | [inline, protected] |
Definition at line 93 of file TopicMenuActivity.java.
void edu.nimbus.glass.TopicMenuActivity.onResume | ( | ) | [inline, protected] |
Definition at line 86 of file TopicMenuActivity.java.
void edu.nimbus.glass.TopicMenuActivity.openOptionsMenu | ( | ) | [inline] |
Definition at line 99 of file TopicMenuActivity.java.
TopicService.TopicBinder edu.nimbus.glass.TopicMenuActivity.mCompassService [private] |
Definition at line 57 of file TopicMenuActivity.java.
ServiceConnection edu.nimbus.glass.TopicMenuActivity.mConnection [private] |
new ServiceConnection() { @Override public void onServiceConnected(ComponentName name, IBinder service) { if (service instanceof TopicService.TopicBinder) { mCompassService = (TopicService.TopicBinder) service; openOptionsMenu(); } } @Override public void onServiceDisconnected(ComponentName name) { } public void remove_card(){ this.remove_card(); } }
Definition at line 60 of file TopicMenuActivity.java.
boolean edu.nimbus.glass.TopicMenuActivity.mResumed [private] |
Definition at line 58 of file TopicMenuActivity.java.