public class GGConsole
extends java.lang.Object
| Constructor and Description | 
|---|
GGConsole()
Creates an Activity with a special console layout and the default typeface. 
 | 
GGConsole(android.graphics.Typeface typeface)
Creates an Activity with a special console layout and the given typeface. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static void | 
clear()
Clears the content of the console. 
 | 
static android.app.Activity | 
getActivity()
Returns the ConsoleActivity after the console is initialized. 
 | 
static GGConsole | 
init()
Creates a GGConsole with default typeface and returns a reference to it. 
 | 
static GGConsole | 
init(android.graphics.Typeface typeface)
Creates a GGConsole with given typeface  and returns a reference to it. 
 | 
static void | 
println(java.lang.String text)
Writes one line of text. 
 | 
static java.lang.String | 
requestInput(java.lang.String title,
            java.lang.String prompt,
            java.lang.String init)
Halts the main thread and shows the modal dialog box and a Ok and
 Cancel button. 
 | 
public GGConsole()
public GGConsole(android.graphics.Typeface typeface)
typeface - to typeface to be used for the text viewpublic static GGConsole init()
public static GGConsole init(android.graphics.Typeface typeface)
typeface - to typeface to be used for the text viewpublic static android.app.Activity getActivity()
public static void println(java.lang.String text)
text - the text to show.public static void clear()
public static java.lang.String requestInput(java.lang.String title,
                            java.lang.String prompt,
                            java.lang.String init)
title - the title text of the dialog boxprompt - the prompt text of the dialog boxinit - the text shown in the edit field when the box pops-up