|
CuneiPainter
Version 1.2
|
Main activity enabling the drawing of cuneiform characters. More...


Public Member Functions | |
| boolean | onCreateOptionsMenu (Menu menu) |
| boolean | onOptionsItemSelected (MenuItem item) |
| boolean | onKeyLongPress (int keyCode, KeyEvent event) |
| void | onBackPressed () |
Protected Member Functions | |
| void | onCreate (Bundle savedInstanceState) |
Package Functions | |
| void | setStatusText () |
| Sets the status text indicating the four strokes. More... | |
| void | lookUp () |
| Looks up corresponding characters after canvas input. More... | |
Private Member Functions | |
| void | clear () |
| Clears the canvas and resets search parameters. More... | |
| String | loadJSONFromAsset () |
| Loads character descriptions from the JSON set. More... | |
| void | jsonToMap (String t) throws JSONException |
| Maps the character json representation to an internal data structure. More... | |
Private Attributes | |
| Map< String, List< Tuple < String, String > > > | lookUpMap |
| TextView | statusText |
| DrawingCanvas | mv |
| ListView | resultList |
Main activity enabling the drawing of cuneiform characters.
|
private |
Clears the canvas and resets search parameters.
|
private |
Maps the character json representation to an internal data structure.
| t | the json string |
| JSONException | if the JSON file is errornous |
|
private |
Loads character descriptions from the JSON set.
|
package |
Looks up corresponding characters after canvas input.
References DrawingCanvas.a, DrawingCanvas.b, DrawingCanvas.c, DrawingCanvas.d, CuneiPainter.lookUpMap, and CuneiPainter.mv.
|
protected |
References CuneiPainter.statusText.
| boolean onCreateOptionsMenu | ( | Menu | menu | ) |
| boolean onKeyLongPress | ( | int | keyCode, |
| KeyEvent | event | ||
| ) |
| boolean onOptionsItemSelected | ( | MenuItem | item | ) |
|
package |
|
private |
Referenced by CuneiPainter.lookUp().
|
private |
Referenced by CuneiPainter.lookUp().
|
private |
|
private |
Referenced by CuneiPainter.onCreate().