|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object Activity android.TICO.TICO
public class TICO
The class that defines the main activity of Tico Interpreter.
Field Summary | |
---|---|
static Resources |
res
|
Constructor Summary | |
---|---|
TICO()
|
Method Summary | |
---|---|
void |
MostrarPanel(RelativeLayout layP,
NodeList boards,
accumulated_cells accumulated,
int i)
Shows the correct board on the screen |
void |
onActivityResult(int requestCode,
int resultCode,
Intent data)
Redefine the behavior of the onActivityResult for the results of activities fileDialog, SetupScreen and videoPlayer. |
void |
onConfigurationChanged(Configuration newConfig)
Change the orientation of interpreter
when the orientation of the device changes if it's necessary. |
void |
onCreate(Bundle savedInstanceState)
onCreate behavior of the main activity of the interpreter. |
boolean |
onCreateOptionsMenu(Menu menu)
Defines the options menu shown by clicking menu button |
void |
onDestroy()
Redefines the onDestroy behavior of the main activity Removes the temp directory |
boolean |
onKeyDown(int keyCode,
KeyEvent event)
Redefine the behavior of the back button for back in the boards |
boolean |
onOptionsItemSelected(MenuItem item)
Defines the behavior when selected a MenuItem |
void |
onSaveInstanceState(Bundle icicle)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static Resources res
Constructor Detail |
---|
public TICO()
Method Detail |
---|
public void onSaveInstanceState(Bundle icicle)
public void onConfigurationChanged(Configuration newConfig)
interpreter
when the orientation of the device changes if it's necessary.
public boolean onKeyDown(int keyCode, KeyEvent event)
public void onCreate(Bundle savedInstanceState)
public void onActivityResult(int requestCode, int resultCode, Intent data)
requestCode
- The integer request code originally supplied to startActivityForResult(), allowing you to identify who this result came from.resultCode
- The integer result code returned by the child activity through its setResult().data
- An Intent, which can return result data to the caller (various data can be attached to Intent "extras").public void MostrarPanel(RelativeLayout layP, NodeList boards, accumulated_cells accumulated, int i) throws OutOfMemoryError, NullPointerException, Exception
layP
- The RelativeLayout
where we load the board.boards
- The NodeList
with all the boards definition.accumulated
- The accumulated_cells
where we accumulate the sentence.i
- The int that identificates the board to show.
OutOfMemoryError
NullPointerException
Exception
public boolean onCreateOptionsMenu(Menu menu)
public boolean onOptionsItemSelected(MenuItem item)
MenuItem
item
- The selected MenuItem
public void onDestroy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |