mirror of
https://github.com/KeymonSoft/Mazapa-Reparto.git
synced 2026-04-23 07:40:10 +00:00
142 lines
7.6 KiB
Java
142 lines
7.6 KiB
Java
package reparto_mazapa.keymon.lat;
|
|
|
|
|
|
import anywheresoftware.b4a.BA;
|
|
import anywheresoftware.b4a.BALayout;
|
|
import anywheresoftware.b4a.debug.*;
|
|
|
|
public class b4xpages {
|
|
private static b4xpages mostCurrent = new b4xpages();
|
|
public static Object getObject() {
|
|
throw new RuntimeException("Code module does not support this method.");
|
|
}
|
|
public anywheresoftware.b4a.keywords.Common __c = null;
|
|
public static Object _mpm = null;
|
|
public static reparto_mazapa.keymon.lat.b4xpagesdelegator _delegate = null;
|
|
public static Object _globalcontext = null;
|
|
public b4a.example.dateutils _dateutils = null;
|
|
public reparto_mazapa.keymon.lat.main _main = null;
|
|
public reparto_mazapa.keymon.lat.appupdater _appupdater = null;
|
|
public reparto_mazapa.keymon.lat.foto _foto = null;
|
|
public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null;
|
|
public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null;
|
|
public reparto_mazapa.keymon.lat.starter _starter = null;
|
|
public reparto_mazapa.keymon.lat.subs _subs = null;
|
|
public reparto_mazapa.keymon.lat.tracker _tracker = null;
|
|
public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null;
|
|
public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null;
|
|
public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null;
|
|
public reparto_mazapa.keymon.lat.xuiviewsutils _xuiviewsutils = null;
|
|
public static reparto_mazapa.keymon.lat.b4xpagesmanager._b4amenuitem _addmenuitem(anywheresoftware.b4a.BA _ba,Object _b4xpage,Object _title) throws Exception{
|
|
//BA.debugLineNum = 91;BA.debugLine="Public Sub AddMenuItem(B4XPage As Object, Title As";
|
|
//BA.debugLineNum = 92;BA.debugLine="Return GetManager.AddMenuItem(B4XPage, Title)";
|
|
if (true) return _getmanager(_ba)._addmenuitem /*reparto_mazapa.keymon.lat.b4xpagesmanager._b4amenuitem*/ (_b4xpage,_title);
|
|
//BA.debugLineNum = 93;BA.debugLine="End Sub";
|
|
return null;
|
|
}
|
|
public static String _addpage(anywheresoftware.b4a.BA _ba,String _id,Object _b4xpage) throws Exception{
|
|
//BA.debugLineNum = 37;BA.debugLine="Public Sub AddPage (Id As String, B4XPage As Objec";
|
|
//BA.debugLineNum = 38;BA.debugLine="GetManager.AddPage(Id, B4XPage)";
|
|
_getmanager(_ba)._addpage /*String*/ (_id,_b4xpage);
|
|
//BA.debugLineNum = 39;BA.debugLine="End Sub";
|
|
return "";
|
|
}
|
|
public static String _addpageandcreate(anywheresoftware.b4a.BA _ba,String _id,Object _b4xpage) throws Exception{
|
|
//BA.debugLineNum = 42;BA.debugLine="Public Sub AddPageAndCreate (Id As String, B4XPage";
|
|
//BA.debugLineNum = 43;BA.debugLine="GetManager.AddPageAndCreate(Id, B4XPage)";
|
|
_getmanager(_ba)._addpageandcreate /*String*/ (_id,_b4xpage);
|
|
//BA.debugLineNum = 44;BA.debugLine="End Sub";
|
|
return "";
|
|
}
|
|
public static String _closepage(anywheresoftware.b4a.BA _ba,Object _b4xpage) throws Exception{
|
|
//BA.debugLineNum = 62;BA.debugLine="Public Sub ClosePage (B4XPage As Object)";
|
|
//BA.debugLineNum = 63;BA.debugLine="GetManager.ClosePage (B4XPage)";
|
|
_getmanager(_ba)._closepage /*String*/ (_b4xpage);
|
|
//BA.debugLineNum = 64;BA.debugLine="End Sub";
|
|
return "";
|
|
}
|
|
public static reparto_mazapa.keymon.lat.b4xpagesmanager _getmanager(anywheresoftware.b4a.BA _ba) throws Exception{
|
|
//BA.debugLineNum = 14;BA.debugLine="Public Sub GetManager As B4XPagesManager";
|
|
//BA.debugLineNum = 15;BA.debugLine="Return mPM";
|
|
if (true) return (reparto_mazapa.keymon.lat.b4xpagesmanager)(_mpm);
|
|
//BA.debugLineNum = 16;BA.debugLine="End Sub";
|
|
return null;
|
|
}
|
|
public static anywheresoftware.b4a.objects.ActivityWrapper _getnativeparent(anywheresoftware.b4a.BA _ba,Object _b4xpage) throws Exception{
|
|
//BA.debugLineNum = 79;BA.debugLine="Public Sub GetNativeParent (B4XPage As Object) As";
|
|
//BA.debugLineNum = 87;BA.debugLine="Return GetManager.FindPIFromB4XPage(B4XPage).Pare";
|
|
if (true) return _getmanager(_ba)._findpifromb4xpage /*reparto_mazapa.keymon.lat.b4xpagesmanager._b4xpageinfo*/ (_b4xpage).Parent /*reparto_mazapa.keymon.lat.b4xpagesmanager._b4xpageparent*/ .NativeType /*anywheresoftware.b4a.objects.ActivityWrapper*/ ;
|
|
//BA.debugLineNum = 88;BA.debugLine="End Sub";
|
|
return null;
|
|
}
|
|
public static Object _getpage(anywheresoftware.b4a.BA _ba,String _id) throws Exception{
|
|
//BA.debugLineNum = 27;BA.debugLine="Public Sub GetPage (Id As String) As Object";
|
|
//BA.debugLineNum = 28;BA.debugLine="Return GetManager.GetPage(Id)";
|
|
if (true) return _getmanager(_ba)._getpage /*Object*/ (_id);
|
|
//BA.debugLineNum = 29;BA.debugLine="End Sub";
|
|
return null;
|
|
}
|
|
public static String _getpageid(anywheresoftware.b4a.BA _ba,Object _b4xpage) throws Exception{
|
|
//BA.debugLineNum = 32;BA.debugLine="Public Sub GetPageId (B4XPage As Object) As String";
|
|
//BA.debugLineNum = 33;BA.debugLine="Return GetManager.FindPIFromB4XPage(B4XPage).Id";
|
|
if (true) return _getmanager(_ba)._findpifromb4xpage /*reparto_mazapa.keymon.lat.b4xpagesmanager._b4xpageinfo*/ (_b4xpage).Id /*String*/ ;
|
|
//BA.debugLineNum = 34;BA.debugLine="End Sub";
|
|
return "";
|
|
}
|
|
public static String _internalsetpagesmanager(anywheresoftware.b4a.BA _ba,Object _pm) throws Exception{
|
|
//BA.debugLineNum = 19;BA.debugLine="Public Sub InternalSetPagesManager(PM As Object)";
|
|
//BA.debugLineNum = 20;BA.debugLine="Delegate.Initialize";
|
|
_delegate._initialize /*String*/ ((_ba.processBA == null ? _ba : _ba.processBA));
|
|
//BA.debugLineNum = 21;BA.debugLine="mPM = PM";
|
|
_mpm = _pm;
|
|
//BA.debugLineNum = 22;BA.debugLine="End Sub";
|
|
return "";
|
|
}
|
|
public static boolean _isinitialized(anywheresoftware.b4a.BA _ba) throws Exception{
|
|
//BA.debugLineNum = 9;BA.debugLine="Public Sub IsInitialized As Boolean";
|
|
//BA.debugLineNum = 10;BA.debugLine="Return mPM Is B4XPagesManager";
|
|
if (true) return _mpm instanceof reparto_mazapa.keymon.lat.b4xpagesmanager;
|
|
//BA.debugLineNum = 11;BA.debugLine="End Sub";
|
|
return false;
|
|
}
|
|
public static reparto_mazapa.keymon.lat.b4xmainpage _mainpage(anywheresoftware.b4a.BA _ba) throws Exception{
|
|
//BA.debugLineNum = 73;BA.debugLine="Public Sub MainPage As B4XMainPage";
|
|
//BA.debugLineNum = 74;BA.debugLine="Return GetManager.MainPage";
|
|
if (true) return _getmanager(_ba)._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ ;
|
|
//BA.debugLineNum = 75;BA.debugLine="End Sub";
|
|
return null;
|
|
}
|
|
public static String _process_globals() throws Exception{
|
|
//BA.debugLineNum = 1;BA.debugLine="Sub Process_Globals";
|
|
//BA.debugLineNum = 2;BA.debugLine="Private mPM As Object";
|
|
_mpm = new Object();
|
|
//BA.debugLineNum = 3;BA.debugLine="Public Delegate As B4XPagesDelegator";
|
|
_delegate = new reparto_mazapa.keymon.lat.b4xpagesdelegator();
|
|
//BA.debugLineNum = 4;BA.debugLine="Public GlobalContext As Object";
|
|
_globalcontext = new Object();
|
|
//BA.debugLineNum = 5;BA.debugLine="End Sub";
|
|
return "";
|
|
}
|
|
public static String _settitle(anywheresoftware.b4a.BA _ba,Object _b4xpage,Object _title) throws Exception{
|
|
//BA.debugLineNum = 68;BA.debugLine="Public Sub SetTitle (B4XPage As Object, Title As O";
|
|
//BA.debugLineNum = 69;BA.debugLine="GetManager.SetTitle(B4XPage, Title)";
|
|
_getmanager(_ba)._settitle /*String*/ (_b4xpage,_title);
|
|
//BA.debugLineNum = 70;BA.debugLine="End Sub";
|
|
return "";
|
|
}
|
|
public static String _showpage(anywheresoftware.b4a.BA _ba,String _id) throws Exception{
|
|
//BA.debugLineNum = 50;BA.debugLine="Public Sub ShowPage (Id As String)";
|
|
//BA.debugLineNum = 51;BA.debugLine="GetManager.ShowPage(Id)";
|
|
_getmanager(_ba)._showpage /*String*/ (_id);
|
|
//BA.debugLineNum = 52;BA.debugLine="End Sub";
|
|
return "";
|
|
}
|
|
public static String _showpageandremovepreviouspages(anywheresoftware.b4a.BA _ba,String _id) throws Exception{
|
|
//BA.debugLineNum = 56;BA.debugLine="Public Sub ShowPageAndRemovePreviousPages (Id As S";
|
|
//BA.debugLineNum = 57;BA.debugLine="GetManager.ShowPageAndRemovePreviousPages (Id)";
|
|
_getmanager(_ba)._showpageandremovepreviouspages /*String*/ (_id);
|
|
//BA.debugLineNum = 58;BA.debugLine="End Sub";
|
|
return "";
|
|
}
|
|
}
|