예제 #1
0
public virtual global::System.Object showInifiniteBlocking(){
//XMLVM_BEGIN_WRAPPER[com.codename1.components.InfiniteProgress: com.codename1.ui.Dialog showInifiniteBlocking()]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    global::System.Object _r3_o = null;
    global::org.xmlvm._nElement _r4;
    global::System.Object _r4_o = null;
    global::org.xmlvm._nElement _r5;
    global::System.Object _r5_o = null;
    global::org.xmlvm._nExceptionAdapter _ex = null;
    _r5_o = this;
    // Value=Center
    _r4_o = new global::java.lang.String();
    ((global::java.lang.String)_r4_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)67)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114))}));
    _r3_o = global::com.codename1.ui.Display.getInstance();
    _r1_o = ((global::com.codename1.ui.Display) _r3_o).getCurrent();
    if (_r1_o != null) goto label20;
    _r1_o = new global::com.codename1.ui.Form();
    ((global::com.codename1.ui.Form) _r1_o).@this();
    ((global::com.codename1.ui.Form) _r1_o).show();
    label20:;
    _r2.i = ((global::com.codename1.ui.Form) _r1_o).getTintColor();
    _r3.i = ((global::com.codename1.components.InfiniteProgress) _r5_o)._ftintColor;
    ((global::com.codename1.ui.Form) _r1_o).setTintColor((int) _r3.i);
    _r0_o = new global::com.codename1.ui.Dialog();
    ((global::com.codename1.ui.Dialog) _r0_o).@this();
    // Value=Container
    _r3_o = new global::java.lang.String();
    ((global::java.lang.String)_r3_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)67)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114))}));
    ((global::com.codename1.ui.Dialog) _r0_o).setDialogUIID((global::java.lang.String) _r3_o);
    _r3_o = new global::com.codename1.ui.layouts.BorderLayout();
    ((global::com.codename1.ui.layouts.BorderLayout) _r3_o).@this();
    ((global::com.codename1.ui.Dialog) _r0_o).setLayout((global::com.codename1.ui.layouts.Layout) _r3_o);
    // Value=Center
    _r3_o = new global::java.lang.String();
    ((global::java.lang.String)_r3_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)67)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114))}));
    ((global::com.codename1.ui.Dialog) _r0_o).addComponent((global::java.lang.Object) _r4_o, (global::com.codename1.ui.Component) _r5_o);
    _r3_o = global::com.codename1.ui.animations.CommonTransitions.createEmpty();
    ((global::com.codename1.ui.Dialog) _r0_o).setTransitionInAnimator((global::com.codename1.ui.animations.Transition) _r3_o);
    _r3_o = global::com.codename1.ui.animations.CommonTransitions.createEmpty();
    ((global::com.codename1.ui.Dialog) _r0_o).setTransitionOutAnimator((global::com.codename1.ui.animations.Transition) _r3_o);
    // Value=Center
    _r3_o = new global::java.lang.String();
    ((global::java.lang.String)_r3_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)67)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114))}));
    _r3.i = 0;
    ((global::com.codename1.ui.Dialog) _r0_o).showPacked((global::java.lang.String) _r4_o, 0!=_r3.i);
    return (global::com.codename1.ui.Dialog) _r0_o;
//XMLVM_END_WRAPPER[com.codename1.components.InfiniteProgress: com.codename1.ui.Dialog showInifiniteBlocking()]
}
예제 #2
0
public override void share(global::java.lang.String n1){
//XMLVM_BEGIN_WRAPPER[com.codename1.share.SMSShare: void share(java.lang.String)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    global::System.Object _r3_o = null;
    global::org.xmlvm._nElement _r4;
    global::System.Object _r4_o = null;
    global::org.xmlvm._nElement _r5;
    global::System.Object _r5_o = null;
    global::org.xmlvm._nElement _r6;
    global::System.Object _r6_o = null;
    global::org.xmlvm._nExceptionAdapter _ex = null;
    _r5_o = this;
    _r6_o = n1;
    _r2_o = global::com.codename1.ui.Display.getInstance();
    _r1_o = ((global::com.codename1.ui.Display) _r2_o).getCurrent();
    _r0_o = new global::com.codename1.ui.Form();
    // Value=Contacts
    _r2_o = new global::java.lang.String();
    ((global::java.lang.String)_r2_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)67)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 115))}));
    ((global::com.codename1.ui.Form) _r0_o).@this((global::java.lang.String) _r2_o);
    _r2.i = 0;
    ((global::com.codename1.ui.Form) _r0_o).setScrollable(0!=_r2.i);
    _r2_o = new global::com.codename1.ui.layouts.BorderLayout();
    ((global::com.codename1.ui.layouts.BorderLayout) _r2_o).@this();
    ((global::com.codename1.ui.Form) _r0_o).setLayout((global::com.codename1.ui.layouts.Layout) _r2_o);
    // Value=Center
    _r2_o = new global::java.lang.String();
    ((global::java.lang.String)_r2_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)67)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114))}));
    _r3_o = new global::com.codename1.ui.Label();
    // Value=Please wait...
    _r4_o = new global::java.lang.String();
    ((global::java.lang.String)_r4_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)80)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 119)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 46)), unchecked((char) unchecked((uint) 46)), unchecked((char) unchecked((uint) 46))}));
    ((global::com.codename1.ui.Label) _r3_o).@this((global::java.lang.String) _r4_o);
    ((global::com.codename1.ui.Form) _r0_o).addComponent((global::java.lang.Object) _r2_o, (global::com.codename1.ui.Component) _r3_o);
    ((global::com.codename1.ui.Form) _r0_o).show();
    _r2_o = global::com.codename1.ui.Display.getInstance();
    _r3_o = new global::com.codename1.share.SMSShare_21();
    ((global::com.codename1.share.SMSShare_21) _r3_o).@this((global::com.codename1.share.SMSShare) _r5_o, (global::com.codename1.ui.Form) _r1_o, (global::com.codename1.ui.Form) _r0_o, (global::java.lang.String) _r6_o);
    // Value=SMS Thread
    _r4_o = new global::java.lang.String();
    ((global::java.lang.String)_r4_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)83)), unchecked((char) unchecked((uint) 77)), unchecked((char) unchecked((uint) 83)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 84)), unchecked((char) unchecked((uint) 104)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 100))}));
    _r2_o = ((global::com.codename1.ui.Display) _r2_o).startThread((global::java.lang.Runnable) _r3_o, (global::java.lang.String) _r4_o);
    ((global::java.lang.Thread) _r2_o).start();
    return;
//XMLVM_END_WRAPPER[com.codename1.share.SMSShare: void share(java.lang.String)]
}
예제 #3
0
public virtual void showRSSEntry(global::java.util.Hashtable n1){
//XMLVM_BEGIN_WRAPPER[com.codename1.components.RSSReader: void showRSSEntry(java.util.Hashtable)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    global::System.Object _r3_o = null;
    global::org.xmlvm._nElement _r4;
    global::System.Object _r4_o = null;
    global::org.xmlvm._nElement _r5;
    global::System.Object _r5_o = null;
    global::org.xmlvm._nElement _r6;
    global::System.Object _r6_o = null;
    global::org.xmlvm._nElement _r7;
    global::System.Object _r7_o = null;
    global::org.xmlvm._nElement _r8;
    global::System.Object _r8_o = null;
    global::org.xmlvm._nElement _r9;
    global::System.Object _r9_o = null;
    global::org.xmlvm._nExceptionAdapter _ex = null;
    _r8_o = this;
    _r9_o = n1;
    // Value=title
    _r6_o = new global::java.lang.String();
    ((global::java.lang.String)_r6_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)116)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 101))}));
    // Value=Center
    _r7_o = new global::java.lang.String();
    ((global::java.lang.String)_r7_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)67)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114))}));
    _r2_o = null;
    _r5_o = ((global::com.codename1.components.RSSReader) _r8_o)._ftargetContainer;
    if (_r5_o == null) goto label78;
    _r5_o = ((global::com.codename1.components.RSSReader) _r8_o)._ftargetContainer;
    _r5.i = ((_r5_o != null) && (_r5_o is global::com.codename1.ui.Form)) ? 1 : 0;
    if (_r5.i == 0) goto label49;
    _r2_o = ((global::com.codename1.components.RSSReader) _r8_o)._ftargetContainer;
    _r2_o = _r2_o;
    label19:;
    ((global::com.codename1.components.RSSReader) _r8_o).updateComponentValues((global::com.codename1.ui.Container) _r2_o, (global::java.util.Hashtable) _r9_o);
    label22:;
    _r5.i = ((global::com.codename1.components.RSSReader) _r8_o)._faddBackToTaget ? 1 : 0;
    if (_r5.i == 0) goto label45;
    _r5_o = global::com.codename1.ui.Display.getInstance();
    _r4_o = ((global::com.codename1.ui.Display) _r5_o).getCurrent();
    _r0_o = new global::com.codename1.components.RSSReader_2BackCommand();
    ((global::com.codename1.components.RSSReader_2BackCommand) _r0_o).@this((global::com.codename1.components.RSSReader) _r8_o, (global::com.codename1.ui.Form) _r4_o);
    ((global::com.codename1.ui.Form) _r2_o).addCommand((global::com.codename1.ui.Command) _r0_o);
    ((global::com.codename1.ui.Form) _r2_o).setBackCommand((global::com.codename1.ui.Command) _r0_o);
    label45:;
    ((global::com.codename1.ui.Form) _r2_o).show();
    return;
    label49:;
    _r2_o = new global::com.codename1.ui.Form();
    // Value=title
    _r5_o = new global::java.lang.String();
    ((global::java.lang.String)_r5_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)116)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 101))}));
    _r5_o = ((global::java.util.Hashtable) _r9_o).get((global::java.lang.Object) _r6_o);
    _r5_o = _r5_o;
    ((global::com.codename1.ui.Form) _r2_o).@this((global::java.lang.String) _r5_o);
    _r5_o = new global::com.codename1.ui.layouts.BorderLayout();
    ((global::com.codename1.ui.layouts.BorderLayout) _r5_o).@this();
    ((global::com.codename1.ui.Form) _r2_o).setLayout((global::com.codename1.ui.layouts.Layout) _r5_o);
    // Value=Center
    _r5_o = new global::java.lang.String();
    ((global::java.lang.String)_r5_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)67)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114))}));
    _r5_o = ((global::com.codename1.components.RSSReader) _r8_o)._ftargetContainer;
    ((global::com.codename1.ui.Form) _r2_o).addComponent((global::java.lang.Object) _r7_o, (global::com.codename1.ui.Component) _r5_o);
    goto label19;
    label78:;
    _r2_o = new global::com.codename1.ui.Form();
    // Value=title
    _r5_o = new global::java.lang.String();
    ((global::java.lang.String)_r5_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)116)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 101))}));
    _r5_o = ((global::java.util.Hashtable) _r9_o).get((global::java.lang.Object) _r6_o);
    _r5_o = _r5_o;
    ((global::com.codename1.ui.Form) _r2_o).@this((global::java.lang.String) _r5_o);
    _r5.i = 0;
    ((global::com.codename1.ui.Form) _r2_o).setScrollable(0!=_r5.i);
    _r1_o = new global::com.codename1.components.WebBrowser();
    ((global::com.codename1.components.WebBrowser) _r1_o).@this();
    // Value=description
    _r5_o = new global::java.lang.String();
    ((global::java.lang.String)_r5_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)100)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 110))}));
    _r3_o = ((global::java.util.Hashtable) _r9_o).get((global::java.lang.Object) _r5_o);
    _r3_o = _r3_o;
    _r5_o = new global::java.lang.StringBuilder();
    ((global::java.lang.StringBuilder) _r5_o).@this();
    // Value=<html><body>
    _r6_o = new global::java.lang.String();
    ((global::java.lang.String)_r6_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)60)), unchecked((char) unchecked((uint) 104)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 62)), unchecked((char) unchecked((uint) 60)), unchecked((char) unchecked((uint) 98)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 121)), unchecked((char) unchecked((uint) 62))}));
    _r5_o = ((global::java.lang.StringBuilder) _r5_o).append((global::java.lang.String) _r6_o);
    _r5_o = ((global::java.lang.StringBuilder) _r5_o).append((global::java.lang.String) _r3_o);
    // Value=</body></html>
    _r6_o = new global::java.lang.String();
    ((global::java.lang.String)_r6_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)60)), unchecked((char) unchecked((uint) 47)), unchecked((char) unchecked((uint) 98)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 121)), unchecked((char) unchecked((uint) 62)), unchecked((char) unchecked((uint) 60)), unchecked((char) unchecked((uint) 47)), unchecked((char) unchecked((uint) 104)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 62))}));
    _r5_o = ((global::java.lang.StringBuilder) _r5_o).append((global::java.lang.String) _r6_o);
    _r3_o = ((global::java.lang.StringBuilder) _r5_o).toString();
    _r5_o = null;
    ((global::com.codename1.components.WebBrowser) _r1_o).setPage((global::java.lang.String) _r3_o, (global::java.lang.String) _r5_o);
    _r5_o = new global::com.codename1.ui.layouts.BorderLayout();
    ((global::com.codename1.ui.layouts.BorderLayout) _r5_o).@this();
    ((global::com.codename1.ui.Form) _r2_o).setLayout((global::com.codename1.ui.layouts.Layout) _r5_o);
    // Value=Center
    _r5_o = new global::java.lang.String();
    ((global::java.lang.String)_r5_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)67)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114))}));
    ((global::com.codename1.ui.Form) _r2_o).addComponent((global::java.lang.Object) _r7_o, (global::com.codename1.ui.Component) _r1_o);
    goto label22;
//XMLVM_END_WRAPPER[com.codename1.components.RSSReader: void showRSSEntry(java.util.Hashtable)]
}
예제 #4
0
private global::System.Object showContainerImpl(global::java.lang.String n1, global::com.codename1.ui.Command n2, global::com.codename1.ui.Component n3, bool n4){
//XMLVM_BEGIN_WRAPPER[com.codename1.ui.util.UIBuilder: com.codename1.ui.Container showContainerImpl(java.lang.String, com.codename1.ui.Command, com.codename1.ui.Component, boolean)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    global::System.Object _r3_o = null;
    global::org.xmlvm._nElement _r4;
    global::System.Object _r4_o = null;
    global::org.xmlvm._nElement _r5;
    global::System.Object _r5_o = null;
    global::org.xmlvm._nElement _r6;
    global::System.Object _r6_o = null;
    global::org.xmlvm._nElement _r7;
    global::System.Object _r7_o = null;
    global::org.xmlvm._nElement _r8;
    global::System.Object _r8_o = null;
    global::org.xmlvm._nElement _r9;
    global::System.Object _r9_o = null;
    global::org.xmlvm._nElement _r10;
    global::System.Object _r10_o = null;
    global::org.xmlvm._nElement _r11;
    global::System.Object _r11_o = null;
    global::org.xmlvm._nElement _r12;
    global::System.Object _r12_o = null;
    global::org.xmlvm._nElement _r13;
    global::System.Object _r13_o = null;
    global::org.xmlvm._nElement _r14;
    global::System.Object _r14_o = null;
    global::org.xmlvm._nElement _r15;
    global::System.Object _r15_o = null;
    global::org.xmlvm._nElement _r16;
    global::System.Object _r16_o = null;
    global::org.xmlvm._nExceptionAdapter _ex = null;
    _r12_o = this;
    _r13_o = n1;
    _r14_o = n2;
    _r15_o = n3;
    _r16.i = n4 ? 1 : 0;
    if (_r15_o == null) goto label216;
    _r3_o = ((global::com.codename1.ui.Component) _r15_o).getComponentForm();
    // Value=$EMBED$
    _r10_o = new global::java.lang.String();
    ((global::java.lang.String)_r10_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)36)), unchecked((char) unchecked((uint) 69)), unchecked((char) unchecked((uint) 77)), unchecked((char) unchecked((uint) 66)), unchecked((char) unchecked((uint) 69)), unchecked((char) unchecked((uint) 68)), unchecked((char) unchecked((uint) 36))}));
    _r10_o = ((global::com.codename1.ui.Form) _r3_o).getClientProperty((global::java.lang.String) _r10_o);
    if (_r10_o == null) goto label216;
    _r4_o = ((global::com.codename1.ui.Component) _r15_o).getParent();
    label18:;
    _r10.i = ((_r4_o != null) && (_r4_o is global::com.codename1.ui.util.EmbeddedContainer)) ? 1 : 0;
    if (_r10.i != 0) goto label35;
    _r10.i = ((_r4_o != null) && (_r4_o is global::com.codename1.ui.Form)) ? 1 : 0;
    if (_r10.i != 0) goto label35;
    if (_r4_o != null) goto label30;
    _r10_o = null;
    label29:;
    return (global::com.codename1.ui.Container) _r10_o;
    label30:;
    _r4_o = ((global::com.codename1.ui.Container) _r4_o).getParent();
    goto label18;
    label35:;
    _r10.i = ((_r4_o != null) && (_r4_o is global::com.codename1.ui.util.EmbeddedContainer)) ? 1 : 0;
    if (_r10.i == 0) goto label198;
    _r10_o = ((global::com.codename1.ui.util.UIBuilder) _r12_o).fetchResourceFile();
    _r0_o = _r4_o;
    _r0_o = _r0_o;
    _r5_o = _r0_o;
    _r1_o = ((global::com.codename1.ui.util.UIBuilder) _r12_o).createContainer((global::com.codename1.ui.util.Resources) _r10_o, (global::java.lang.String) _r13_o, (global::com.codename1.ui.util.EmbeddedContainer) _r5_o);
    _r10.i = ((_r1_o != null) && (_r1_o is global::com.codename1.ui.Form)) ? 1 : 0;
    if (_r10.i == 0) goto label64;
    _r0_o = _r1_o;
    _r0_o = _r0_o;
    _r2_o = _r0_o;
    ((global::com.codename1.ui.util.UIBuilder) _r12_o).showForm((global::com.codename1.ui.Form) _r2_o, (global::com.codename1.ui.Command) _r14_o, (global::com.codename1.ui.Component) _r15_o);
    _r10_o = _r1_o;
    goto label29;
    label64:;
    _r10.i = 0;
    _r7_o = ((global::com.codename1.ui.Container) _r4_o).getComponentAt((int) _r10.i);
    _r8.i = _r16.i;
    _r10_o = ((global::com.codename1.ui.Component) _r7_o).getUIManager();
    _r10_o = ((global::com.codename1.ui.plaf.UIManager) _r10_o).getLookAndFeel();
    _r9_o = ((global::com.codename1.ui.plaf.LookAndFeel) _r10_o).getDefaultFormTransitionOut();
    if (_r16.i == 0) goto label161;
    _r10_o = ((global::com.codename1.ui.Container) _r4_o).getComponentForm();
    _r11_o = ((global::com.codename1.ui.util.UIBuilder) _r12_o).getFormNavigationStackForComponent((global::com.codename1.ui.Component) _r15_o);
    ((global::com.codename1.ui.util.UIBuilder) _r12_o).initBackContainer((global::com.codename1.ui.Container) _r1_o, (global::com.codename1.ui.Form) _r10_o, (global::java.util.Vector) _r11_o);
    _r10.i = 1;
    _r9_o = ((global::com.codename1.ui.animations.Transition) _r9_o).copy(0!=_r10.i);
    label101:;
    _r2_o = ((global::com.codename1.ui.Container) _r1_o).getName();
    _r6_o = ((global::com.codename1.ui.util.UIBuilder) _r12_o).getFormNavigationStackForComponent((global::com.codename1.ui.Component) _r7_o);
    if (_r6_o == null) goto label148;
    if (_r8.i != 0) goto label148;
    _r10.i = ((global::com.codename1.ui.util.UIBuilder) _r12_o).allowBackTo((global::java.lang.String) _r2_o) ? 1 : 0;
    if (_r10.i == 0) goto label148;
    _r0_o = _r7_o;
    _r0_o = _r0_o;
    _r8_o = _r0_o;
    _r10.i = ((global::com.codename1.ui.util.UIBuilder) _r12_o).isSameBackDestination((global::com.codename1.ui.Container) _r8_o, (global::com.codename1.ui.Container) _r1_o) ? 1 : 0;
    if (_r10.i != 0) goto label148;
    _r10_o = ((global::com.codename1.ui.Container) _r4_o).getComponentForm();
    _r11_o = null;
    ((global::com.codename1.ui.util.UIBuilder) _r12_o).getFormListenerInstance((global::com.codename1.ui.Component) _r10_o, (global::com.codename1.ui.util.EmbeddedContainer) _r11_o);
    _r0_o = _r7_o;
    _r0_o = _r0_o;
    _r8_o = _r0_o;
    _r10_o = ((global::com.codename1.ui.util.UIBuilder) _r12_o).getContainerState((global::com.codename1.ui.Container) _r8_o);
    ((global::java.util.Vector) _r6_o).addElement((global::java.lang.Object) _r10_o);
    label148:;
    ((global::com.codename1.ui.util.UIBuilder) _r12_o).beforeShowContainer((global::com.codename1.ui.Container) _r1_o);
    _r10.i = 1;
    ((global::com.codename1.ui.Container) _r4_o).replaceAndWait((global::com.codename1.ui.Component) _r7_o, (global::com.codename1.ui.Component) _r1_o, (global::com.codename1.ui.animations.Transition) _r9_o, 0!=_r10.i);
    ((global::com.codename1.ui.util.UIBuilder) _r12_o).postShowContainer((global::com.codename1.ui.Container) _r1_o);
    _r10_o = _r1_o;
    goto label29;
    label161:;
    if (_r14_o == null) goto label101;
    if (_r9_o == null) goto label177;
    _r10_o = ((global::com.codename1.ui.util.UIBuilder) _r12_o)._fbackCommands;
    if (_r10_o == null) goto label177;
    _r10_o = ((global::com.codename1.ui.util.UIBuilder) _r12_o)._fbackCommands;
    _r10.i = ((global::java.util.Vector) _r10_o).contains((global::java.lang.Object) _r14_o) ? 1 : 0;
    if (_r10.i != 0) goto label191;
    label177:;
    _r10_o = global::com.codename1.ui.Display.getInstance();
    _r10_o = ((global::com.codename1.ui.Display) _r10_o).getCurrent();
    _r10_o = ((global::com.codename1.ui.Form) _r10_o).getBackCommand();
    if (_r10_o != _r14_o) goto label101;
    label191:;
    _r8.i = 1;
    _r10.i = 1;
    _r9_o = ((global::com.codename1.ui.animations.Transition) _r9_o).copy(0!=_r10.i);
    goto label101;
    label198:;
    _r10_o = ((global::com.codename1.ui.util.UIBuilder) _r12_o).fetchResourceFile();
    _r1_o = ((global::com.codename1.ui.util.UIBuilder) _r12_o).createContainer((global::com.codename1.ui.util.Resources) _r10_o, (global::java.lang.String) _r13_o);
    _r0_o = _r1_o;
    _r0_o = _r0_o;
    _r2_o = _r0_o;
    ((global::com.codename1.ui.util.UIBuilder) _r12_o).showForm((global::com.codename1.ui.Form) _r2_o, (global::com.codename1.ui.Command) _r14_o, (global::com.codename1.ui.Component) _r15_o);
    _r10_o = _r1_o;
    goto label29;
    label216:;
    _r10_o = ((global::com.codename1.ui.util.UIBuilder) _r12_o).fetchResourceFile();
    _r1_o = ((global::com.codename1.ui.util.UIBuilder) _r12_o).createContainer((global::com.codename1.ui.util.Resources) _r10_o, (global::java.lang.String) _r13_o);
    _r10.i = ((_r1_o != null) && (_r1_o is global::com.codename1.ui.Form)) ? 1 : 0;
    if (_r10.i == 0) goto label238;
    _r0_o = _r1_o;
    _r0_o = _r0_o;
    _r2_o = _r0_o;
    ((global::com.codename1.ui.util.UIBuilder) _r12_o).showForm((global::com.codename1.ui.Form) _r2_o, (global::com.codename1.ui.Command) _r14_o, (global::com.codename1.ui.Component) _r15_o);
    label235:;
    _r10_o = _r1_o;
    goto label29;
    label238:;
    _r5_o = new global::com.codename1.ui.Form();
    ((global::com.codename1.ui.Form) _r5_o).@this();
    _r10_o = new global::com.codename1.ui.layouts.BorderLayout();
    ((global::com.codename1.ui.layouts.BorderLayout) _r10_o).@this();
    ((global::com.codename1.ui.Form) _r5_o).setLayout((global::com.codename1.ui.layouts.Layout) _r10_o);
    // Value=Center
    _r10_o = new global::java.lang.String();
    ((global::java.lang.String)_r10_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)67)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114))}));
    ((global::com.codename1.ui.Form) _r5_o).addComponent((global::java.lang.Object) _r10_o, (global::com.codename1.ui.Component) _r1_o);
    _r10_o = new global::java.lang.StringBuilder();
    ((global::java.lang.StringBuilder) _r10_o).@this();
    // Value=Form
    _r11_o = new global::java.lang.String();
    ((global::java.lang.String)_r11_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)70)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 109))}));
    _r10_o = ((global::java.lang.StringBuilder) _r10_o).append((global::java.lang.String) _r11_o);
    _r11_o = ((global::com.codename1.ui.Container) _r1_o).getName();
    _r10_o = ((global::java.lang.StringBuilder) _r10_o).append((global::java.lang.String) _r11_o);
    _r10_o = ((global::java.lang.StringBuilder) _r10_o).toString();
    ((global::com.codename1.ui.Form) _r5_o).setName((global::java.lang.String) _r10_o);
    ((global::com.codename1.ui.util.UIBuilder) _r12_o).showForm((global::com.codename1.ui.Form) _r5_o, (global::com.codename1.ui.Command) _r14_o, (global::com.codename1.ui.Component) _r15_o);
    goto label235;
//XMLVM_END_WRAPPER[com.codename1.ui.util.UIBuilder: com.codename1.ui.Container showContainerImpl(java.lang.String, com.codename1.ui.Command, com.codename1.ui.Component, boolean)]
}
예제 #5
0
public virtual void showModal(int n1, int n2, int n3, int n4, bool n5, bool n6, bool n7){
//XMLVM_BEGIN_WRAPPER[com.codename1.ui.Form: void showModal(int, int, int, int, boolean, boolean, boolean)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    global::System.Object _r3_o = null;
    global::org.xmlvm._nElement _r4;
    global::System.Object _r4_o = null;
    global::org.xmlvm._nElement _r5;
    global::System.Object _r5_o = null;
    global::org.xmlvm._nElement _r6;
    global::System.Object _r6_o = null;
    global::org.xmlvm._nElement _r7;
    global::System.Object _r7_o = null;
    global::org.xmlvm._nElement _r8;
    global::System.Object _r8_o = null;
    global::org.xmlvm._nElement _r9;
    global::System.Object _r9_o = null;
    global::org.xmlvm._nElement _r10;
    global::System.Object _r10_o = null;
    global::org.xmlvm._nElement _r11;
    global::System.Object _r11_o = null;
    global::org.xmlvm._nElement _r12;
    global::System.Object _r12_o = null;
    global::org.xmlvm._nElement _r13;
    global::System.Object _r13_o = null;
    global::org.xmlvm._nElement _r14;
    global::System.Object _r14_o = null;
    global::org.xmlvm._nElement _r15;
    global::System.Object _r15_o = null;
    global::org.xmlvm._nElement _r16;
    global::System.Object _r16_o = null;
    global::org.xmlvm._nElement _r17;
    global::System.Object _r17_o = null;
    global::org.xmlvm._nElement _r18;
    global::System.Object _r18_o = null;
    global::org.xmlvm._nElement _r19;
    global::System.Object _r19_o = null;
    global::org.xmlvm._nExceptionAdapter _ex = null;
    _r12_o = this;
    _r13.i = n1;
    _r14.i = n2;
    _r15.i = n3;
    _r16.i = n4;
    _r17.i = n5 ? 1 : 0;
    _r18.i = n6 ? 1 : 0;
    _r19.i = n7 ? 1 : 0;
    _r9_o = global::com.codename1.ui.Display.getInstance();
    ((global::com.codename1.ui.Display) _r9_o).flushEdt();
    _r9_o = ((global::com.codename1.ui.Form) _r12_o)._fpreviousForm;
    if (_r9_o != null) goto label42;
    _r9_o = global::com.codename1.ui.Display.getInstance();
    _r9_o = ((global::com.codename1.ui.Display) _r9_o).getCurrent();
    ((global::com.codename1.ui.Form) _r12_o)._fpreviousForm = (global::com.codename1.ui.Form) _r9_o;
    _r9_o = ((global::com.codename1.ui.Form) _r12_o)._fpreviousForm;
    if (_r9_o != null) goto label241;
    _r9_o = new global::com.codename1.ui.Form();
    ((global::com.codename1.ui.Form) _r9_o).@this();
    ((global::com.codename1.ui.Form) _r12_o)._fpreviousForm = (global::com.codename1.ui.Form) _r9_o;
    _r9_o = ((global::com.codename1.ui.Form) _r12_o)._fpreviousForm;
    ((global::com.codename1.ui.Form) _r9_o).show();
    label37:;
    _r9_o = ((global::com.codename1.ui.Form) _r12_o)._fpreviousForm;
    _r10.i = 1;
    ((global::com.codename1.ui.Form) _r9_o)._ftint = 0!=_r10.i;
    label42:;
    _r9_o = ((global::com.codename1.ui.Form) _r12_o).getStyle();
    _r6_o = ((global::com.codename1.ui.plaf.Style) _r9_o).getBgPainter();
    if (_r13.i > 0) goto label58;
    if (_r14.i > 0) goto label58;
    if (_r15.i > 0) goto label58;
    if (_r16.i <= 0) goto label174;
    label58:;
    _r9_o = ((global::com.codename1.ui.Form) _r12_o)._ftitle;
    _r9.i = ((global::com.codename1.ui.Label) _r9_o).isVisible() ? 1 : 0;
    if (_r9.i != 0) goto label68;
    _r17.i = 0;
    label68:;
    _r9_o = ((global::com.codename1.ui.Form) _r12_o)._ftitle;
    _r8_o = ((global::com.codename1.ui.Label) _r9_o).getStyle();
    ((global::com.codename1.ui.plaf.Style) _r8_o).removeListeners();
    _r9_o = ((global::com.codename1.ui.Form) _r12_o)._fcontentPane;
    _r5_o = ((global::com.codename1.ui.Container) _r9_o).getUnselectedStyle();
    ((global::com.codename1.ui.plaf.Style) _r5_o).removeListeners();
    if (_r17.i == 0) goto label269;
    _r9.i = 0;
    _r10.i = 0;
    ((global::com.codename1.ui.plaf.Style) _r8_o).setMargin((int) _r9.i, (int) _r13.i, 0!=_r10.i);
    _r9.i = 2;
    _r10.i = 0;
    _r11.i = 0;
    ((global::com.codename1.ui.plaf.Style) _r8_o).setMargin((int) _r9.i, (int) _r10.i, 0!=_r11.i);
    _r9.i = 1;
    _r10.i = 0;
    ((global::com.codename1.ui.plaf.Style) _r8_o).setMargin((int) _r9.i, (int) _r15.i, 0!=_r10.i);
    _r9.i = 3;
    _r10.i = 0;
    _r0_o = _r8_o;
    _r1.i = _r9.i;
    _r2.i = _r16.i;
    _r3.i = _r10.i;
    ((global::com.codename1.ui.plaf.Style) _r0_o).setMargin((int) _r1.i, (int) _r2.i, 0!=_r3.i);
    _r9.i = 0;
    _r10.i = 0;
    _r11.i = 0;
    ((global::com.codename1.ui.plaf.Style) _r5_o).setMargin((int) _r9.i, (int) _r10.i, 0!=_r11.i);
    _r9.i = 2;
    _r10.i = 0;
    ((global::com.codename1.ui.plaf.Style) _r5_o).setMargin((int) _r9.i, (int) _r14.i, 0!=_r10.i);
    _r9.i = 1;
    _r10.i = 0;
    ((global::com.codename1.ui.plaf.Style) _r5_o).setMargin((int) _r9.i, (int) _r15.i, 0!=_r10.i);
    _r9.i = 3;
    _r10.i = 0;
    _r0_o = _r5_o;
    _r1.i = _r9.i;
    _r2.i = _r16.i;
    _r3.i = _r10.i;
    ((global::com.codename1.ui.plaf.Style) _r0_o).setMargin((int) _r1.i, (int) _r2.i, 0!=_r3.i);
    label140:;
    _r9_o = null;
    ((global::com.codename1.ui.plaf.Style) _r8_o).setMarginUnit((global::org.xmlvm._nArrayAdapter<sbyte>) _r9_o);
    _r9_o = null;
    ((global::com.codename1.ui.plaf.Style) _r5_o).setMarginUnit((global::org.xmlvm._nArrayAdapter<sbyte>) _r9_o);
    _r9.i = ((_r6_o != null) && (_r6_o is global::com.codename1.ui.Component_2BGPainter)) ? 1 : 0;
    if (_r9.i == 0) goto label320;
    _r0_o = _r6_o;
    _r0_o = _r0_o;
    _r7_o = _r0_o;
    _r9_o = ((global::com.codename1.ui.Component_2BGPainter) _r7_o).getPreviousForm();
    if (_r9_o == null) goto label320;
    _r0_o = _r6_o;
    _r0_o = _r0_o;
    _r7_o = _r0_o;
    _r9_o = ((global::com.codename1.ui.Form) _r12_o)._fpreviousForm;
    ((global::com.codename1.ui.Component_2BGPainter) _r7_o).setPreviousForm((global::com.codename1.ui.Form) _r9_o);
    label171:;
    ((global::com.codename1.ui.Form) _r12_o).revalidate();
    label174:;
    ((global::com.codename1.ui.Form) _r12_o).initFocused();
    _r9_o = ((global::com.codename1.ui.Form) _r12_o).getTransitionOutAnimator();
    if (_r9_o != null) goto label196;
    _r9_o = ((global::com.codename1.ui.Form) _r12_o).getTransitionInAnimator();
    if (_r9_o != null) goto label196;
    _r9_o = ((global::com.codename1.ui.Form) _r12_o).getUIManager();
    ((global::com.codename1.ui.Form) _r12_o).initLaf((global::com.codename1.ui.plaf.UIManager) _r9_o);
    label196:;
    ((global::com.codename1.ui.Form) _r12_o).initComponentImpl();
    _r9_o = global::com.codename1.ui.Display.getInstance();
    _r0_o = _r9_o;
    _r1_o = _r12_o;
    _r2.i = _r19.i;
    ((global::com.codename1.ui.Display) _r0_o).setCurrent((global::com.codename1.ui.Form) _r1_o, 0!=_r2.i);
    ((global::com.codename1.ui.Form) _r12_o).onShow();
    if (_r18.i == 0) goto label240;
    _r9_o = global::com.codename1.ui.Display.getInstance();
    _r10_o = new global::com.codename1.ui.RunnableWrapper();
    _r0_o = _r10_o;
    _r1_o = _r12_o;
    _r2_o = _r6_o;
    _r3.i = _r19.i;
    ((global::com.codename1.ui.RunnableWrapper) _r0_o).@this((global::com.codename1.ui.Form) _r1_o, (global::com.codename1.ui.Painter) _r2_o, 0!=_r3.i);
    ((global::com.codename1.ui.Display) _r9_o).invokeAndBlock((global::java.lang.Runnable) _r10_o);
    _r9_o = global::com.codename1.ui.Display.getInstance();
    _r10.i = 0;
    ((global::com.codename1.ui.Display) _r9_o).setShowVirtualKeyboard(0!=_r10.i);
    label240:;
    return;
    label241:;
    _r9_o = ((global::com.codename1.ui.Form) _r12_o)._fpreviousForm;
    _r9.i = ((_r9_o != null) && (_r9_o is global::com.codename1.ui.Dialog)) ? 1 : 0;
    if (_r9.i == 0) goto label37;
    _r7_o = ((global::com.codename1.ui.Form) _r12_o)._fpreviousForm;
    _r7_o = _r7_o;
    _r9.i = ((global::com.codename1.ui.Dialog) _r7_o).isDisposed() ? 1 : 0;
    if (_r9.i == 0) goto label37;
    _r9_o = global::com.codename1.ui.Display.getInstance();
    _r9_o = ((global::com.codename1.ui.Display) _r9_o).getCurrentUpcoming();
    ((global::com.codename1.ui.Form) _r12_o)._fpreviousForm = (global::com.codename1.ui.Form) _r9_o;
    goto label37;
    label269:;
    _r9.i = 0;
    _r10.i = 0;
    _r11.i = 0;
    ((global::com.codename1.ui.plaf.Style) _r8_o).setMargin((int) _r9.i, (int) _r10.i, 0!=_r11.i);
    _r9.i = 2;
    _r10.i = 0;
    _r11.i = 0;
    ((global::com.codename1.ui.plaf.Style) _r8_o).setMargin((int) _r9.i, (int) _r10.i, 0!=_r11.i);
    _r9.i = 1;
    _r10.i = 0;
    _r11.i = 0;
    ((global::com.codename1.ui.plaf.Style) _r8_o).setMargin((int) _r9.i, (int) _r10.i, 0!=_r11.i);
    _r9.i = 3;
    _r10.i = 0;
    _r11.i = 0;
    ((global::com.codename1.ui.plaf.Style) _r8_o).setMargin((int) _r9.i, (int) _r10.i, 0!=_r11.i);
    _r9.i = 0;
    _r10.i = 0;
    ((global::com.codename1.ui.plaf.Style) _r5_o).setMargin((int) _r9.i, (int) _r13.i, 0!=_r10.i);
    _r9.i = 2;
    _r10.i = 0;
    ((global::com.codename1.ui.plaf.Style) _r5_o).setMargin((int) _r9.i, (int) _r14.i, 0!=_r10.i);
    _r9.i = 1;
    _r10.i = 0;
    ((global::com.codename1.ui.plaf.Style) _r5_o).setMargin((int) _r9.i, (int) _r15.i, 0!=_r10.i);
    _r9.i = 3;
    _r10.i = 0;
    _r0_o = _r5_o;
    _r1.i = _r9.i;
    _r2.i = _r16.i;
    _r3.i = _r10.i;
    ((global::com.codename1.ui.plaf.Style) _r0_o).setMargin((int) _r1.i, (int) _r2.i, 0!=_r3.i);
    goto label140;
    label320:;
    _r4_o = new global::com.codename1.ui.Component_2BGPainter();
    ((global::com.codename1.ui.Component_2BGPainter) _r4_o).@this((global::com.codename1.ui.Component) _r12_o, (global::com.codename1.ui.Form) _r12_o, (global::com.codename1.ui.Painter) _r6_o);
    _r9_o = ((global::com.codename1.ui.Form) _r12_o).getStyle();
    ((global::com.codename1.ui.plaf.Style) _r9_o).setBgPainter((global::com.codename1.ui.Painter) _r4_o);
    _r9_o = ((global::com.codename1.ui.Form) _r12_o)._fpreviousForm;
    ((global::com.codename1.ui.Component_2BGPainter) _r4_o).setPreviousForm((global::com.codename1.ui.Form) _r9_o);
    goto label171;
//XMLVM_END_WRAPPER[com.codename1.ui.Form: void showModal(int, int, int, int, boolean, boolean, boolean)]
}
예제 #6
0
public virtual void showAuthentication(global::com.codename1.ui.events.ActionListener n1){
//XMLVM_BEGIN_WRAPPER[com.codename1.io.Oauth2: void showAuthentication(com.codename1.ui.events.ActionListener)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    global::System.Object _r3_o = null;
    global::org.xmlvm._nElement _r4;
    global::System.Object _r4_o = null;
    global::org.xmlvm._nElement _r5;
    global::System.Object _r5_o = null;
    global::org.xmlvm._nElement _r6;
    global::System.Object _r6_o = null;
    global::org.xmlvm._nElement _r7;
    global::System.Object _r7_o = null;
    global::org.xmlvm._nElement _r8;
    global::System.Object _r8_o = null;
    global::org.xmlvm._nExceptionAdapter _ex = null;
    _r7_o = this;
    _r8_o = n1;
    _r5_o = global::com.codename1.ui.Display.getInstance();
    _r3_o = ((global::com.codename1.ui.Display) _r5_o).getCurrent();
    _r2_o = new global::com.codename1.components.InfiniteProgress();
    ((global::com.codename1.components.InfiniteProgress) _r2_o).@this();
    _r4_o = ((global::com.codename1.components.InfiniteProgress) _r2_o).showInifiniteBlocking();
    _r0_o = new global::com.codename1.ui.Form();
    // Value=Login
    _r5_o = new global::java.lang.String();
    ((global::java.lang.String)_r5_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)76)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 103)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 110))}));
    ((global::com.codename1.ui.Form) _r0_o).@this((global::java.lang.String) _r5_o);
    _r5.i = 0;
    ((global::com.codename1.ui.Form) _r0_o).setScrollable(0!=_r5.i);
    if (_r3_o == null) goto label43;
    _r1_o = new global::com.codename1.io.Oauth2_21();
    // Value=Cancel
    _r5_o = new global::java.lang.String();
    ((global::java.lang.String)_r5_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)67)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 108))}));
    ((global::com.codename1.io.Oauth2_21) _r1_o).@this((global::com.codename1.io.Oauth2) _r7_o, (global::java.lang.String) _r5_o, (global::com.codename1.ui.Dialog) _r4_o, (global::com.codename1.ui.Form) _r3_o);
    ((global::com.codename1.ui.Form) _r0_o).addCommand((global::com.codename1.ui.Command) _r1_o);
    ((global::com.codename1.ui.Form) _r0_o).setBackCommand((global::com.codename1.ui.Command) _r1_o);
    label43:;
    _r5_o = new global::com.codename1.ui.layouts.BorderLayout();
    ((global::com.codename1.ui.layouts.BorderLayout) _r5_o).@this();
    ((global::com.codename1.ui.Form) _r0_o).setLayout((global::com.codename1.ui.layouts.Layout) _r5_o);
    // Value=Center
    _r5_o = new global::java.lang.String();
    ((global::java.lang.String)_r5_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)67)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114))}));
    _r6_o = ((global::com.codename1.io.Oauth2) _r7_o).createLoginComponent((global::com.codename1.ui.events.ActionListener) _r8_o, (global::com.codename1.ui.Form) _r0_o, (global::com.codename1.ui.Form) _r3_o, (global::com.codename1.ui.Dialog) _r4_o);
    ((global::com.codename1.ui.Form) _r0_o).addComponent((global::java.lang.Object) _r5_o, (global::com.codename1.ui.Component) _r6_o);
    return;
//XMLVM_END_WRAPPER[com.codename1.io.Oauth2: void showAuthentication(com.codename1.ui.events.ActionListener)]
}
예제 #7
0
public static void showLog(){
//XMLVM_BEGIN_WRAPPER[com.codename1.io.Log: void showLog()]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    global::System.Object _r3_o = null;
    global::org.xmlvm._nElement _r4;
    global::System.Object _r4_o = null;
    global::org.xmlvm._nElement _r5;
    global::System.Object _r5_o = null;
    global::org.xmlvm._nElement _r6;
    global::System.Object _r6_o = null;
    global::org.xmlvm._nElement _r7;
    global::System.Object _r7_o = null;
    global::org.xmlvm._nExceptionAdapter _ex = null;
    try {
    _r5_o = global::com.codename1.io.Log.getLogContent();
    _r0_o = new global::com.codename1.ui.TextArea();
    _r6.i = 5;
    _r7.i = 20;
    ((global::com.codename1.ui.TextArea) _r0_o).@this((global::java.lang.String) _r5_o, (int) _r6.i, (int) _r7.i);
    _r4_o = new global::com.codename1.ui.Form();
    // Value=Log
    _r6_o = new global::java.lang.String();
    ((global::java.lang.String)_r6_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)76)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 103))}));
    ((global::com.codename1.ui.Form) _r4_o).@this((global::java.lang.String) _r6_o);
    _r6.i = 0;
    ((global::com.codename1.ui.Form) _r4_o).setScrollable(0!=_r6.i);
    _r6_o = global::com.codename1.ui.Display.getInstance();
    _r2_o = ((global::com.codename1.ui.Display) _r6_o).getCurrent();
    _r1_o = new global::com.codename1.io.Log_22();
    // Value=Back
    _r6_o = new global::java.lang.String();
    ((global::java.lang.String)_r6_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)66)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 107))}));
    ((global::com.codename1.io.Log_22) _r1_o).@this((global::java.lang.String) _r6_o, (global::com.codename1.ui.Form) _r2_o);
    ((global::com.codename1.ui.Form) _r4_o).addCommand((global::com.codename1.ui.Command) _r1_o);
    ((global::com.codename1.ui.Form) _r4_o).setBackCommand((global::com.codename1.ui.Command) _r1_o);
    _r6_o = new global::com.codename1.ui.layouts.BorderLayout();
    ((global::com.codename1.ui.layouts.BorderLayout) _r6_o).@this();
    ((global::com.codename1.ui.Form) _r4_o).setLayout((global::com.codename1.ui.layouts.Layout) _r6_o);
    // Value=Center
    _r6_o = new global::java.lang.String();
    ((global::java.lang.String)_r6_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)67)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114))}));
    ((global::com.codename1.ui.Form) _r4_o).addComponent((global::java.lang.Object) _r6_o, (global::com.codename1.ui.Component) _r0_o);
    ((global::com.codename1.ui.Form) _r4_o).show();
    }
    catch (global::System.Exception e) {
 global::org.xmlvm._nExceptionAdapter ex = e as global::org.xmlvm._nExceptionAdapter ?? new global::org.xmlvm._nExceptionAdapter(e.ToString(), e.ToJavaException());
        global::System.Object _java_exception = ex.getJavaException();
        if (_java_exception is global::java.lang.Exception) {
            _ex = ex;
            goto label61;
        }
        throw ex;
    } // end catch
    label60:;
    return;
    label61:;
    _r6_o = _ex.getJavaException();
    _ex = null;
    _r3_o = _r6_o;
    ((global::java.lang.Exception) _r3_o).printStackTrace();
    goto label60;
//XMLVM_END_WRAPPER[com.codename1.io.Log: void showLog()]
}