BlowTorch
 All Classes Namespaces Files Functions Variables Enumerator Pages
Classes | Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
com.offsetnull.bt.window.MainWindow Class Reference
Inheritance diagram for com.offsetnull.bt.window.MainWindow:
Inheritance graph
[legend]
Collaboration diagram for com.offsetnull.bt.window.MainWindow:
Collaboration graph
[legend]

Public Member Functions

void onCreate (Bundle icicle)
 
void dispatchLuaText (String obj)
 
boolean onPrepareOptionsMenu (Menu menu)
 
boolean onCreateOptionsMenu (Menu menu)
 
boolean onOptionsItemSelected (MenuItem item)
 
void onBackPressed ()
 
void onConfigurationChanged (Configuration newconfig)
 
void cleanExit ()
 
void dirtyExit ()
 
void onSaveInstanceState (Bundle data)
 
void onRestoreInstanceState (Bundle data)
 
void onActivityResult (int requestCode, int resultCode, Intent data)
 
void onStart ()
 
void onDestroy ()
 
void onStop ()
 
void onPause ()
 
void onResume ()
 
void onDestroy (Bundle saveInstance)
 
void doSetOrientiation (int orientation)
 
void setupEditor (boolean useExtractUI, boolean useSuggestions)
 
void initiailizeWindows ()
 
void cleanupWindows ()
 
void callWindowScript (String window, String callback)
 
void shutdownWindow (com.offsetnull.bt.window.Window window)
 
double getStatusBarHeight ()
 
boolean isStatusBarHidden ()
 
double getTitleBarHeight ()
 
void onNewIntent (Intent i)
 
String getPathForPlugin (String mOwner)
 
Activity getActivity ()
 
boolean isPluginInstalled (String desired) throws RemoteException
 
boolean checkWindowSupports (String desired, String function)
 
void windowCall (String desired, String function, String data)
 
void windowBroadcast (String function, String data)
 
String getPluginOption (String plugin, String value) throws RemoteException
 
void onRequestPermissionsResult (int requestCode, String[] permissions, int[] grantResults)
 

Static Public Attributes

static String TEST_MODE = "blowTorchTestMode"
 
static String NORMAL_MODE = "blowTorchNormalMode"
 
static final int MESSAGE_SENDDATAOUT = 105
 
static final int MESSAGE_MODIFYBUTTON = 202
 
static final int MESSAGE_NEWBUTTONSET = 205
 
static final int MESSAGE_CHANGEBUTTONSET = 206
 
static final int MESSAGE_RELOADBUTTONSET = 208
 
static final int MESSAGE_DELETEBUTTONSET = 867
 
static final int MESSAGE_CLEARBUTTONSET = 868
 
static final int MESSAGE_HFPRESS = 871
 
static final int MESSAGE_HFFLIP = 872
 
static final int MESSAGE_LOCKUNDONE = 873
 
static final int MESSAGE_BUTTONFIT = 874
 
static final int MESSAGE_SENDBUTTONDATA = 880
 
static final int MESSAGE_LAUNCHURL = 886
 
static final int MESSAGE_ADDOPTIONCALLBACK = 891
 
static final int MESSAGE_PLUGINXCALLS = 892
 
static final int MESSAGE_WINDOWBUFFERMAXCHANGED = 893
 
static final int MESSAGE_PUSHMENUSTACK = 897
 
static final int MESSAGE_POPMENUSTACK = 898
 
static final int MESSAGE_DISPLAYLUAERROR = 899
 
static final int MESSAGE_CLOSEOPTIONSDIALOG = 907
 
static final int MESSAGE_SHOWREGEXWARNING = 908
 

Protected Member Functions

void doExportSettings (String path)
 
void doResetSettings ()
 
void setUseCompatibilityMode (boolean value)
 
void setUseFullscreenEditor (boolean value)
 
void setUseSuggestions (boolean value)
 
void setKeepScreenOn (boolean value)
 
void setOrientation (int arg1)
 
void dispatchLuaError (String obj)
 
void popMenuStack ()
 
void pushMenuStack (String obj, String callback)
 
void setKeepLast (boolean b)
 
void markSettingsDirty ()
 
void markWindowsDirty ()
 
void initVitals ()
 

Protected Attributes

boolean settingsDialogRun = false
 

Static Protected Attributes

static final int MESSAGE_HTMLINC = 110
 
static final int MESSAGE_RAWINC = 111
 
static final int MESSAGE_BUFFINC = 112
 
static final int MESSAGE_PROCESS = 102
 
static final int MESSAGE_PROCESSED = 104
 
static final int MESSAGE_RESETINPUTWINDOW = 106
 
static final int MESSAGE_PROCESSINPUTWINDOW = 107
 
static final int MESSAGE_LOADSETTINGS = 200
 
static final int MESSAGE_ADDBUTTON = 201
 
static final int MESSAGE_BUTTONREQUESTINGSETCHANGE = 207
 
static final int MESSAGE_XMLERROR = 397
 
static final int MESSAGE_SAVEERROR = 3993
 
static final int MESSAGE_PLUGINSAVEERROR = 3994
 
static final int MESSAGE_COLORDEBUG = 675
 
static final int MESSAGE_DIRTYEXITNOW = 943
 
static final int MESSAGE_DOHAPTICFEEDBACK = 856
 
static final int MESSAGE_SHOWTOAST = 869
 
static final int MESSAGE_SHOWDIALOG = 870
 
static final int MESSAGE_BELLTOAST = 876
 
static final int MESSAGE_DOSCREENMODE = 877
 
static final int MESSAGE_KEYBOARD = 878
 
static final int MESSAGE_DODISCONNECT = 879
 
static final int MESSAGE_CLEARINPUTWINDOW = 883
 
static final int MESSAGE_CLOSEINPUTWINDOW = 884
 
static final int MESSAGE_CLEARALLBUTTONS = 887
 
static final int MESSAGE_MAXVITALS = 100000
 
static final int MESSAGE_TESTLUA = 100004
 
static final int MESSAGE_TRIGGERSTR = 100005
 
static final int MESSAGE_SWITCH = 888
 
static final int MESSAGE_RELOADBUFFER = 889
 
static final int MESSAGE_INITIALIZEWINDOWS = 890
 
static final int MESSAGE_MARKWINDOWSDIRTY = 894
 
static final int MESSAGE_MARKSETTINGSDIRTY = 895
 
static final int MESSAGE_SETKEEPLAST = 896
 
static final int MESSAGE_USESUGGESTIONS = 900
 
static final int MESSAGE_USEFULLSCREENEDITOR = 901
 
static final int MESSAGE_SETKEEPSCREENON = 902
 
static final int MESSAGE_SETORIENTATION = 903
 
static final int MESSAGE_USECOMPATIBILITYMODE = 904
 
static final int MESSAGE_DORESETSETTINGS = 905
 
static final int MESSAGE_EXPORTSETTINGS = 906
 

Member Function Documentation

void com.offsetnull.bt.window.MainWindow.callWindowScript ( String  window,
String  callback 
)
boolean com.offsetnull.bt.window.MainWindow.checkWindowSupports ( String  desired,
String  function 
)
void com.offsetnull.bt.window.MainWindow.cleanExit ( )

Here is the caller graph for this function:

void com.offsetnull.bt.window.MainWindow.cleanupWindows ( )

Here is the call graph for this function:

void com.offsetnull.bt.window.MainWindow.dirtyExit ( )

Here is the caller graph for this function:

void com.offsetnull.bt.window.MainWindow.dispatchLuaError ( String  obj)
protected

Here is the caller graph for this function:

void com.offsetnull.bt.window.MainWindow.dispatchLuaText ( String  obj)
void com.offsetnull.bt.window.MainWindow.doExportSettings ( String  path)
protected

Here is the caller graph for this function:

void com.offsetnull.bt.window.MainWindow.doResetSettings ( )
protected

Here is the caller graph for this function:

void com.offsetnull.bt.window.MainWindow.doSetOrientiation ( int  orientation)

Here is the caller graph for this function:

Activity com.offsetnull.bt.window.MainWindow.getActivity ( )
String com.offsetnull.bt.window.MainWindow.getPathForPlugin ( String  mOwner)
String com.offsetnull.bt.window.MainWindow.getPluginOption ( String  plugin,
String  value 
) throws RemoteException
double com.offsetnull.bt.window.MainWindow.getStatusBarHeight ( )
double com.offsetnull.bt.window.MainWindow.getTitleBarHeight ( )
void com.offsetnull.bt.window.MainWindow.initiailizeWindows ( )

Here is the call graph for this function:

Here is the caller graph for this function:

void com.offsetnull.bt.window.MainWindow.initVitals ( )
protected
boolean com.offsetnull.bt.window.MainWindow.isPluginInstalled ( String  desired) throws RemoteException
boolean com.offsetnull.bt.window.MainWindow.isStatusBarHidden ( )

Implements com.offsetnull.bt.window.MainWindowCallback.

Here is the caller graph for this function:

void com.offsetnull.bt.window.MainWindow.markSettingsDirty ( )
protected

Here is the caller graph for this function:

void com.offsetnull.bt.window.MainWindow.markWindowsDirty ( )
protected

Here is the caller graph for this function:

void com.offsetnull.bt.window.MainWindow.onActivityResult ( int  requestCode,
int  resultCode,
Intent  data 
)
void com.offsetnull.bt.window.MainWindow.onBackPressed ( )

Here is the call graph for this function:

Here is the caller graph for this function:

void com.offsetnull.bt.window.MainWindow.onConfigurationChanged ( Configuration  newconfig)
void com.offsetnull.bt.window.MainWindow.onCreate ( Bundle  icicle)

return;

filter.addAction(Intent.ACTION_USER_PRESENT);

Here is the call graph for this function:

boolean com.offsetnull.bt.window.MainWindow.onCreateOptionsMenu ( Menu  menu)

Here is the caller graph for this function:

void com.offsetnull.bt.window.MainWindow.onDestroy ( )
void com.offsetnull.bt.window.MainWindow.onDestroy ( Bundle  saveInstance)
void com.offsetnull.bt.window.MainWindow.onNewIntent ( Intent  i)
boolean com.offsetnull.bt.window.MainWindow.onOptionsItemSelected ( MenuItem  item)

Here is the call graph for this function:

void com.offsetnull.bt.window.MainWindow.onPause ( )
boolean com.offsetnull.bt.window.MainWindow.onPrepareOptionsMenu ( Menu  menu)

Here is the call graph for this function:

void com.offsetnull.bt.window.MainWindow.onRequestPermissionsResult ( int  requestCode,
String[]  permissions,
int[]  grantResults 
)
void com.offsetnull.bt.window.MainWindow.onRestoreInstanceState ( Bundle  data)
void com.offsetnull.bt.window.MainWindow.onResume ( )

Here is the call graph for this function:

void com.offsetnull.bt.window.MainWindow.onSaveInstanceState ( Bundle  data)
void com.offsetnull.bt.window.MainWindow.onStart ( )

Here is the call graph for this function:

void com.offsetnull.bt.window.MainWindow.onStop ( )
void com.offsetnull.bt.window.MainWindow.popMenuStack ( )
protected

Here is the caller graph for this function:

void com.offsetnull.bt.window.MainWindow.pushMenuStack ( String  obj,
String  callback 
)
protected

Here is the caller graph for this function:

void com.offsetnull.bt.window.MainWindow.setKeepLast ( boolean  b)
protected

Here is the caller graph for this function:

void com.offsetnull.bt.window.MainWindow.setKeepScreenOn ( boolean  value)
protected

Here is the caller graph for this function:

void com.offsetnull.bt.window.MainWindow.setOrientation ( int  arg1)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void com.offsetnull.bt.window.MainWindow.setupEditor ( boolean  useExtractUI,
boolean  useSuggestions 
)

Here is the caller graph for this function:

void com.offsetnull.bt.window.MainWindow.setUseCompatibilityMode ( boolean  value)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void com.offsetnull.bt.window.MainWindow.setUseFullscreenEditor ( boolean  value)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void com.offsetnull.bt.window.MainWindow.setUseSuggestions ( boolean  value)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void com.offsetnull.bt.window.MainWindow.shutdownWindow ( com.offsetnull.bt.window.Window  window)
void com.offsetnull.bt.window.MainWindow.windowBroadcast ( String  function,
String  data 
)
void com.offsetnull.bt.window.MainWindow.windowCall ( String  desired,
String  function,
String  data 
)

Member Data Documentation

final int com.offsetnull.bt.window.MainWindow.MESSAGE_ADDBUTTON = 201
staticprotected
final int com.offsetnull.bt.window.MainWindow.MESSAGE_ADDOPTIONCALLBACK = 891
static
final int com.offsetnull.bt.window.MainWindow.MESSAGE_BELLTOAST = 876
staticprotected
final int com.offsetnull.bt.window.MainWindow.MESSAGE_BUFFINC = 112
staticprotected
final int com.offsetnull.bt.window.MainWindow.MESSAGE_BUTTONFIT = 874
static
final int com.offsetnull.bt.window.MainWindow.MESSAGE_BUTTONREQUESTINGSETCHANGE = 207
staticprotected
final int com.offsetnull.bt.window.MainWindow.MESSAGE_CHANGEBUTTONSET = 206
static
final int com.offsetnull.bt.window.MainWindow.MESSAGE_CLEARALLBUTTONS = 887
staticprotected
final int com.offsetnull.bt.window.MainWindow.MESSAGE_CLEARBUTTONSET = 868
static
final int com.offsetnull.bt.window.MainWindow.MESSAGE_CLEARINPUTWINDOW = 883
staticprotected
final int com.offsetnull.bt.window.MainWindow.MESSAGE_CLOSEINPUTWINDOW = 884
staticprotected
final int com.offsetnull.bt.window.MainWindow.MESSAGE_CLOSEOPTIONSDIALOG = 907
static
final int com.offsetnull.bt.window.MainWindow.MESSAGE_COLORDEBUG = 675
staticprotected
final int com.offsetnull.bt.window.MainWindow.MESSAGE_DELETEBUTTONSET = 867
static
final int com.offsetnull.bt.window.MainWindow.MESSAGE_DIRTYEXITNOW = 943
staticprotected
final int com.offsetnull.bt.window.MainWindow.MESSAGE_DISPLAYLUAERROR = 899
static
final int com.offsetnull.bt.window.MainWindow.MESSAGE_DODISCONNECT = 879
staticprotected
final int com.offsetnull.bt.window.MainWindow.MESSAGE_DOHAPTICFEEDBACK = 856
staticprotected
final int com.offsetnull.bt.window.MainWindow.MESSAGE_DORESETSETTINGS = 905
staticprotected
final int com.offsetnull.bt.window.MainWindow.MESSAGE_DOSCREENMODE = 877
staticprotected
final int com.offsetnull.bt.window.MainWindow.MESSAGE_EXPORTSETTINGS = 906
staticprotected
final int com.offsetnull.bt.window.MainWindow.MESSAGE_HFFLIP = 872
static
final int com.offsetnull.bt.window.MainWindow.MESSAGE_HFPRESS = 871
static
final int com.offsetnull.bt.window.MainWindow.MESSAGE_HTMLINC = 110
staticprotected
final int com.offsetnull.bt.window.MainWindow.MESSAGE_INITIALIZEWINDOWS = 890
staticprotected
final int com.offsetnull.bt.window.MainWindow.MESSAGE_KEYBOARD = 878
staticprotected
final int com.offsetnull.bt.window.MainWindow.MESSAGE_LAUNCHURL = 886
static
final int com.offsetnull.bt.window.MainWindow.MESSAGE_LOADSETTINGS = 200
staticprotected
final int com.offsetnull.bt.window.MainWindow.MESSAGE_LOCKUNDONE = 873
static
final int com.offsetnull.bt.window.MainWindow.MESSAGE_MARKSETTINGSDIRTY = 895
staticprotected
final int com.offsetnull.bt.window.MainWindow.MESSAGE_MARKWINDOWSDIRTY = 894
staticprotected
final int com.offsetnull.bt.window.MainWindow.MESSAGE_MAXVITALS = 100000
staticprotected
final int com.offsetnull.bt.window.MainWindow.MESSAGE_MODIFYBUTTON = 202
static
final int com.offsetnull.bt.window.MainWindow.MESSAGE_NEWBUTTONSET = 205
static
final int com.offsetnull.bt.window.MainWindow.MESSAGE_PLUGINSAVEERROR = 3994
staticprotected
final int com.offsetnull.bt.window.MainWindow.MESSAGE_PLUGINXCALLS = 892
static
final int com.offsetnull.bt.window.MainWindow.MESSAGE_POPMENUSTACK = 898
static
final int com.offsetnull.bt.window.MainWindow.MESSAGE_PROCESS = 102
staticprotected
final int com.offsetnull.bt.window.MainWindow.MESSAGE_PROCESSED = 104
staticprotected
final int com.offsetnull.bt.window.MainWindow.MESSAGE_PROCESSINPUTWINDOW = 107
staticprotected
final int com.offsetnull.bt.window.MainWindow.MESSAGE_PUSHMENUSTACK = 897
static
final int com.offsetnull.bt.window.MainWindow.MESSAGE_RAWINC = 111
staticprotected
final int com.offsetnull.bt.window.MainWindow.MESSAGE_RELOADBUFFER = 889
staticprotected

below is deprecated, remove.

final int com.offsetnull.bt.window.MainWindow.MESSAGE_RELOADBUTTONSET = 208
static
final int com.offsetnull.bt.window.MainWindow.MESSAGE_RESETINPUTWINDOW = 106
staticprotected
final int com.offsetnull.bt.window.MainWindow.MESSAGE_SAVEERROR = 3993
staticprotected
final int com.offsetnull.bt.window.MainWindow.MESSAGE_SENDBUTTONDATA = 880
static
final int com.offsetnull.bt.window.MainWindow.MESSAGE_SENDDATAOUT = 105
static
final int com.offsetnull.bt.window.MainWindow.MESSAGE_SETKEEPLAST = 896
staticprotected
final int com.offsetnull.bt.window.MainWindow.MESSAGE_SETKEEPSCREENON = 902
staticprotected
final int com.offsetnull.bt.window.MainWindow.MESSAGE_SETORIENTATION = 903
staticprotected
final int com.offsetnull.bt.window.MainWindow.MESSAGE_SHOWDIALOG = 870
staticprotected
final int com.offsetnull.bt.window.MainWindow.MESSAGE_SHOWREGEXWARNING = 908
static
final int com.offsetnull.bt.window.MainWindow.MESSAGE_SHOWTOAST = 869
staticprotected
final int com.offsetnull.bt.window.MainWindow.MESSAGE_SWITCH = 888
staticprotected
final int com.offsetnull.bt.window.MainWindow.MESSAGE_TESTLUA = 100004
staticprotected
final int com.offsetnull.bt.window.MainWindow.MESSAGE_TRIGGERSTR = 100005
staticprotected
final int com.offsetnull.bt.window.MainWindow.MESSAGE_USECOMPATIBILITYMODE = 904
staticprotected
final int com.offsetnull.bt.window.MainWindow.MESSAGE_USEFULLSCREENEDITOR = 901
staticprotected
final int com.offsetnull.bt.window.MainWindow.MESSAGE_USESUGGESTIONS = 900
staticprotected
final int com.offsetnull.bt.window.MainWindow.MESSAGE_WINDOWBUFFERMAXCHANGED = 893
static
final int com.offsetnull.bt.window.MainWindow.MESSAGE_XMLERROR = 397
staticprotected
String com.offsetnull.bt.window.MainWindow.NORMAL_MODE = "blowTorchNormalMode"
static
boolean com.offsetnull.bt.window.MainWindow.settingsDialogRun = false
protected
String com.offsetnull.bt.window.MainWindow.TEST_MODE = "blowTorchTestMode"
static

The documentation for this class was generated from the following file: