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()] }
public static global::System.Object show(global::java.lang.String n1, global::com.codename1.ui.Component n2, global::com.codename1.ui.Command n3, global::org.xmlvm._nArrayAdapter<global::System.Object> n4, int n5, global::com.codename1.ui.Image n6, long n7, global::com.codename1.ui.animations.Transition n8){ //XMLVM_BEGIN_WRAPPER[com.codename1.ui.Dialog: com.codename1.ui.Command show(java.lang.String, com.codename1.ui.Component, com.codename1.ui.Command, com.codename1.ui.Command[], int, com.codename1.ui.Image, long, com.codename1.ui.animations.Transition)] 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._nExceptionAdapter _ex = null; _r5_o = n1; _r6_o = n2; _r7_o = n3; _r8_o = n4; _r9.i = n5; _r10_o = n6; _r11.l = n7; _r13_o = n8; _r4.i = 0; _r0_o = new global::com.codename1.ui.Dialog(); ((global::com.codename1.ui.Dialog) _r0_o).@this((global::java.lang.String) _r5_o); ((global::com.codename1.ui.Dialog) _r0_o)._fdialogType = _r9.i; ((global::com.codename1.ui.Dialog) _r0_o).setTransitionInAnimator((global::com.codename1.ui.animations.Transition) _r13_o); ((global::com.codename1.ui.Dialog) _r0_o).setTransitionOutAnimator((global::com.codename1.ui.animations.Transition) _r13_o); _r2_o = null; ((global::com.codename1.ui.Dialog) _r0_o)._flastCommandPressed = (global::com.codename1.ui.Command) _r2_o; _r2_o = new global::com.codename1.ui.layouts.BorderLayout(); ((global::com.codename1.ui.layouts.BorderLayout) _r2_o).@this(); ((global::com.codename1.ui.Dialog) _r0_o).setLayout((global::com.codename1.ui.layouts.Layout) _r2_o); if (_r8_o == null) goto label47; _r2.i = global::com.codename1.ui.Dialog._fcommandsAsButtons ? 1 : 0; if (_r2.i == 0) goto label97; ((global::com.codename1.ui.Dialog) _r0_o).placeButtonCommands((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r8_o); label34:; _r2.i = ((global::org.xmlvm._nIArray) _r8_o).Length; _r3.i = 1; if (_r2.i == _r3.i) goto label42; _r2.i = ((global::org.xmlvm._nIArray) _r8_o).Length; _r3.i = 2; if (_r2.i != _r3.i) goto label47; label42:; _r2_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r8_o)[_r4.i]; ((global::com.codename1.ui.Dialog) _r0_o).setBackCommand((global::com.codename1.ui.Command) _r2_o); label47:; if (_r7_o == null) goto label52; ((global::com.codename1.ui.Dialog) _r0_o).setDefaultCommand((global::com.codename1.ui.Command) _r7_o); label52:; // 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))})); ((global::com.codename1.ui.Dialog) _r0_o).addComponent((global::java.lang.Object) _r2_o, (global::com.codename1.ui.Component) _r6_o); if (_r10_o == null) goto label69; // Value=East _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)69)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 116))})); _r3_o = new global::com.codename1.ui.Label(); ((global::com.codename1.ui.Label) _r3_o).@this((global::com.codename1.ui.Image) _r10_o); ((global::com.codename1.ui.Dialog) _r0_o).addComponent((global::java.lang.Object) _r2_o, (global::com.codename1.ui.Component) _r3_o); label69:; _r2.l = 0L; _r2.i = _r11.l > _r2.l ? 1 : (_r11.l == _r2.l ? 0 : -1); if (_r2.i == 0) goto label78; ((global::com.codename1.ui.Dialog) _r0_o).setTimeout((long) _r11.l); label78:; _r2.i = ((global::com.codename1.ui.Component) _r6_o).isScrollable() ? 1 : 0; if (_r2.i != 0) goto label88; _r2.i = global::com.codename1.ui.Dialog._fdisableStaticDialogScrolling ? 1 : 0; if (_r2.i == 0) goto label91; label88:; ((global::com.codename1.ui.Dialog) _r0_o).setScrollable(0!=_r4.i); label91:; ((global::com.codename1.ui.Dialog) _r0_o).show(); _r2_o = ((global::com.codename1.ui.Dialog) _r0_o)._flastCommandPressed; return (global::com.codename1.ui.Command) _r2_o; label97:; _r1.i = 0; label98:; _r2.i = ((global::org.xmlvm._nIArray) _r8_o).Length; if (_r1.i >= _r2.i) goto label34; _r2_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r8_o)[_r1.i]; ((global::com.codename1.ui.Dialog) _r0_o).addCommand((global::com.codename1.ui.Command) _r2_o); _r1.i = _r1.i + 1; goto label98; //XMLVM_END_WRAPPER[com.codename1.ui.Dialog: com.codename1.ui.Command show(java.lang.String, com.codename1.ui.Component, com.codename1.ui.Command, com.codename1.ui.Command[], int, com.codename1.ui.Image, long, com.codename1.ui.animations.Transition)] }
public virtual void actionPerformed(global::com.codename1.ui.events.ActionEvent n1){ //XMLVM_BEGIN_WRAPPER[com.codename1.ui.spinner.Picker$1: void actionPerformed(com.codename1.ui.events.ActionEvent)] 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._nElement _r20; global::System.Object _r20_o = null; global::org.xmlvm._nElement _r21; global::System.Object _r21_o = null; global::org.xmlvm._nExceptionAdapter _ex = null; _r20_o = this; _r21_o = n1; _r15_o = global::com.codename1.ui.Display.getInstance(); _r0_o = _r20_o; _r0_o = ((global::com.codename1.ui.spinner.Picker_21) _r0_o)._fthis_20; _r16_o = _r0_o; _r16.i = global::com.codename1.ui.spinner.Picker.access_2000((global::com.codename1.ui.spinner.Picker) _r16_o); _r15.i = ((global::com.codename1.ui.Display) _r15_o).isNativePickerTypeSupported((int) _r16.i) ? 1 : 0; if (_r15.i == 0) goto label103; _r0_o = _r20_o; _r0_o = ((global::com.codename1.ui.spinner.Picker_21) _r0_o)._fthis_20; _r15_o = _r0_o; _r16.i = 0; ((global::com.codename1.ui.spinner.Picker) _r15_o).setEnabled(0!=_r16.i); _r15_o = global::com.codename1.ui.Display.getInstance(); _r0_o = _r20_o; _r0_o = ((global::com.codename1.ui.spinner.Picker_21) _r0_o)._fthis_20; _r16_o = _r0_o; _r16.i = global::com.codename1.ui.spinner.Picker.access_2000((global::com.codename1.ui.spinner.Picker) _r16_o); _r0_o = _r20_o; _r0_o = ((global::com.codename1.ui.spinner.Picker_21) _r0_o)._fthis_20; _r17_o = _r0_o; _r0_o = _r20_o; _r0_o = ((global::com.codename1.ui.spinner.Picker_21) _r0_o)._fthis_20; _r18_o = _r0_o; _r18_o = global::com.codename1.ui.spinner.Picker.access_2100((global::com.codename1.ui.spinner.Picker) _r18_o); _r0_o = _r20_o; _r0_o = ((global::com.codename1.ui.spinner.Picker_21) _r0_o)._fthis_20; _r19_o = _r0_o; _r19_o = global::com.codename1.ui.spinner.Picker.access_2200((global::com.codename1.ui.spinner.Picker) _r19_o); _r14_o = ((global::com.codename1.ui.Display) _r15_o).showNativePicker((int) _r16.i, (global::com.codename1.ui.Component) _r17_o, (global::java.lang.Object) _r18_o, (global::java.lang.Object) _r19_o); if (_r14_o == null) goto label92; _r0_o = _r20_o; _r0_o = ((global::com.codename1.ui.spinner.Picker_21) _r0_o)._fthis_20; _r15_o = _r0_o; global::com.codename1.ui.spinner.Picker.access_2102((global::com.codename1.ui.spinner.Picker) _r15_o, (global::java.lang.Object) _r14_o); _r0_o = _r20_o; _r0_o = ((global::com.codename1.ui.spinner.Picker_21) _r0_o)._fthis_20; _r15_o = _r0_o; ((global::com.codename1.ui.spinner.Picker) _r15_o).updateValue(); label92:; _r0_o = _r20_o; _r0_o = ((global::com.codename1.ui.spinner.Picker_21) _r0_o)._fthis_20; _r15_o = _r0_o; _r16.i = 1; ((global::com.codename1.ui.spinner.Picker) _r15_o).setEnabled(0!=_r16.i); label102:; return; label103:; _r10_o = new global::com.codename1.ui.Dialog(); ((global::com.codename1.ui.Dialog) _r10_o).@this(); _r15.i = 1; ((global::com.codename1.ui.Dialog) _r10_o).setDisposeWhenPointerOutOfBounds(0!=_r15.i); _r15_o = new global::com.codename1.ui.layouts.BorderLayout(); ((global::com.codename1.ui.layouts.BorderLayout) _r15_o).@this(); ((global::com.codename1.ui.Dialog) _r10_o).setLayout((global::com.codename1.ui.layouts.Layout) _r15_o); _r3_o = global::java.util.Calendar.getInstance(); _r0_o = _r20_o; _r0_o = ((global::com.codename1.ui.spinner.Picker_21) _r0_o)._fthis_20; _r15_o = _r0_o; _r15.i = global::com.codename1.ui.spinner.Picker.access_2000((global::com.codename1.ui.spinner.Picker) _r15_o); switch (_r15.i) { case 1: goto label265; case 2: goto label379; case 3: goto label506; case 4: goto label145; } label136:; _r0_o = _r20_o; _r0_o = ((global::com.codename1.ui.spinner.Picker_21) _r0_o)._fthis_20; _r15_o = _r0_o; ((global::com.codename1.ui.spinner.Picker) _r15_o).updateValue(); goto label102; label145:; _r6_o = new global::com.codename1.ui.spinner.GenericSpinner(); ((global::com.codename1.ui.spinner.GenericSpinner) _r6_o).@this(); _r0_o = _r20_o; _r0_o = ((global::com.codename1.ui.spinner.Picker_21) _r0_o)._fthis_20; _r15_o = _r0_o; _r15_o = global::com.codename1.ui.spinner.Picker.access_2300((global::com.codename1.ui.spinner.Picker) _r15_o); if (_r15_o == null) goto label178; _r0_o = _r20_o; _r0_o = ((global::com.codename1.ui.spinner.Picker_21) _r0_o)._fthis_20; _r15_o = _r0_o; _r21_o = global::com.codename1.ui.spinner.Picker.access_2300((global::com.codename1.ui.spinner.Picker) _r15_o); _r21_o = _r21_o; _r0_o = _r6_o; _r1_o = _r21_o; ((global::com.codename1.ui.spinner.GenericSpinner) _r0_o).setRenderingPrototype((global::java.lang.String) _r1_o); label178:; _r0_o = _r20_o; _r0_o = ((global::com.codename1.ui.spinner.Picker_21) _r0_o)._fthis_20; _r15_o = _r0_o; _r21_o = global::com.codename1.ui.spinner.Picker.access_2200((global::com.codename1.ui.spinner.Picker) _r15_o); _r21_o = _r21_o; _r0_o = _r21_o; _r0_o = _r0_o; _r11_o = _r0_o; _r15_o = new global::com.codename1.ui.list.DefaultListModel(); ((global::com.codename1.ui.list.DefaultListModel) _r15_o).@this((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r11_o); ((global::com.codename1.ui.spinner.GenericSpinner) _r6_o).setModel((global::com.codename1.ui.list.ListModel) _r15_o); _r0_o = _r20_o; _r0_o = ((global::com.codename1.ui.spinner.Picker_21) _r0_o)._fthis_20; _r15_o = _r0_o; _r15_o = global::com.codename1.ui.spinner.Picker.access_2100((global::com.codename1.ui.spinner.Picker) _r15_o); if (_r15_o == null) goto label242; _r8.i = 0; label214:; _r15.i = ((global::org.xmlvm._nIArray) _r11_o).Length; if (_r8.i >= _r15.i) goto label242; _r15_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r11_o)[_r8.i]; _r0_o = _r20_o; _r0_o = ((global::com.codename1.ui.spinner.Picker_21) _r0_o)._fthis_20; _r16_o = _r0_o; _r16_o = global::com.codename1.ui.spinner.Picker.access_2100((global::com.codename1.ui.spinner.Picker) _r16_o); _r15.i = ((global::java.lang.String) _r15_o).equals((global::java.lang.Object) _r16_o) ? 1 : 0; if (_r15.i == 0) goto label262; _r15_o = ((global::com.codename1.ui.spinner.GenericSpinner) _r6_o).getModel(); ((global::com.codename1.ui.list.ListModel) _r15_o).setSelectedIndex((int) _r8.i); label242:; _r0_o = _r20_o; _r1_o = _r10_o; _r2_o = _r6_o; ((global::com.codename1.ui.spinner.Picker_21) _r0_o).showDialog((global::com.codename1.ui.Dialog) _r1_o, (global::com.codename1.ui.Component) _r2_o); _r0_o = _r20_o; _r0_o = ((global::com.codename1.ui.spinner.Picker_21) _r0_o)._fthis_20; _r15_o = _r0_o; _r16_o = ((global::com.codename1.ui.spinner.GenericSpinner) _r6_o).getValue(); global::com.codename1.ui.spinner.Picker.access_2102((global::com.codename1.ui.spinner.Picker) _r15_o, (global::java.lang.Object) _r16_o); goto label136; label262:; _r8.i = _r8.i + 1; goto label214; label265:; _r4_o = new global::com.codename1.ui.spinner.DateSpinner(); ((global::com.codename1.ui.spinner.DateSpinner) _r4_o).@this(); _r0_o = _r20_o; _r0_o = ((global::com.codename1.ui.spinner.Picker_21) _r0_o)._fthis_20; _r15_o = _r0_o; _r21_o = global::com.codename1.ui.spinner.Picker.access_2100((global::com.codename1.ui.spinner.Picker) _r15_o); _r21_o = _r21_o; _r0_o = _r3_o; _r1_o = _r21_o; ((global::java.util.Calendar) _r0_o).setTime((global::java.util.Date) _r1_o); _r15.i = 1900; ((global::com.codename1.ui.spinner.DateSpinner) _r4_o).setStartYear((int) _r15.i); _r15.i = 5; _r15.i = ((global::java.util.Calendar) _r3_o).get((int) _r15.i); ((global::com.codename1.ui.spinner.DateSpinner) _r4_o).setCurrentDay((int) _r15.i); _r15.i = 2; _r15.i = ((global::java.util.Calendar) _r3_o).get((int) _r15.i); _r15.i = _r15.i + 1; ((global::com.codename1.ui.spinner.DateSpinner) _r4_o).setCurrentMonth((int) _r15.i); _r15.i = 1; _r15.i = ((global::java.util.Calendar) _r3_o).get((int) _r15.i); ((global::com.codename1.ui.spinner.DateSpinner) _r4_o).setCurrentYear((int) _r15.i); _r0_o = _r20_o; _r1_o = _r10_o; _r2_o = _r4_o; ((global::com.codename1.ui.spinner.Picker_21) _r0_o).showDialog((global::com.codename1.ui.Dialog) _r1_o, (global::com.codename1.ui.Component) _r2_o); _r15.i = 5; _r16.i = ((global::com.codename1.ui.spinner.DateSpinner) _r4_o).getCurrentDay(); _r0_o = _r3_o; _r1.i = _r15.i; _r2.i = _r16.i; ((global::java.util.Calendar) _r0_o).set((int) _r1.i, (int) _r2.i); _r15.i = 2; _r16.i = ((global::com.codename1.ui.spinner.DateSpinner) _r4_o).getCurrentMonth(); _r17.i = 1; _r16.i = _r16.i - _r17.i; _r0_o = _r3_o; _r1.i = _r15.i; _r2.i = _r16.i; ((global::java.util.Calendar) _r0_o).set((int) _r1.i, (int) _r2.i); _r15.i = 1; _r16.i = ((global::com.codename1.ui.spinner.DateSpinner) _r4_o).getCurrentYear(); _r0_o = _r3_o; _r1.i = _r15.i; _r2.i = _r16.i; ((global::java.util.Calendar) _r0_o).set((int) _r1.i, (int) _r2.i); _r0_o = _r20_o; _r0_o = ((global::com.codename1.ui.spinner.Picker_21) _r0_o)._fthis_20; _r15_o = _r0_o; _r16_o = ((global::java.util.Calendar) _r3_o).getTime(); global::com.codename1.ui.spinner.Picker.access_2102((global::com.codename1.ui.spinner.Picker) _r15_o, (global::java.lang.Object) _r16_o); goto label136; label379:; _r0_o = _r20_o; _r0_o = ((global::com.codename1.ui.spinner.Picker_21) _r0_o)._fthis_20; _r15_o = _r0_o; _r21_o = global::com.codename1.ui.spinner.Picker.access_2100((global::com.codename1.ui.spinner.Picker) _r15_o); _r21_o = _r21_o; _r13.i = ((global::java.lang.Integer) _r21_o).intValue(); _r7.i = _r13.i / 60; _r9.i = _r13.i % 60; _r12_o = new global::com.codename1.ui.spinner.TimeSpinner(); ((global::com.codename1.ui.spinner.TimeSpinner) _r12_o).@this(); _r0_o = _r20_o; _r0_o = ((global::com.codename1.ui.spinner.Picker_21) _r0_o)._fthis_20; _r15_o = _r0_o; _r15.i = ((global::com.codename1.ui.spinner.Picker) _r15_o).isShowMeridiem() ? 1 : 0; ((global::com.codename1.ui.spinner.TimeSpinner) _r12_o).setShowMeridiem(0!=_r15.i); _r0_o = _r20_o; _r0_o = ((global::com.codename1.ui.spinner.Picker_21) _r0_o)._fthis_20; _r15_o = _r0_o; _r15.i = global::com.codename1.ui.spinner.Picker.access_2400((global::com.codename1.ui.spinner.Picker) _r15_o) ? 1 : 0; if (_r15.i == 0) goto label497; _r15.i = 12; if (_r7.i <= _r15.i) goto label497; _r15.i = 1; ((global::com.codename1.ui.spinner.TimeSpinner) _r12_o).setCurrentMeridiem(0!=_r15.i); _r15.i = 12; _r15.i = _r7.i - _r15.i; ((global::com.codename1.ui.spinner.TimeSpinner) _r12_o).setCurrentHour((int) _r15.i); label441:; ((global::com.codename1.ui.spinner.TimeSpinner) _r12_o).setCurrentMinute((int) _r9.i); _r0_o = _r20_o; _r1_o = _r10_o; _r2_o = _r12_o; ((global::com.codename1.ui.spinner.Picker_21) _r0_o).showDialog((global::com.codename1.ui.Dialog) _r1_o, (global::com.codename1.ui.Component) _r2_o); _r0_o = _r20_o; _r0_o = ((global::com.codename1.ui.spinner.Picker_21) _r0_o)._fthis_20; _r15_o = _r0_o; _r15.i = ((global::com.codename1.ui.spinner.Picker) _r15_o).isShowMeridiem() ? 1 : 0; if (_r15.i == 0) goto label501; _r15.i = ((global::com.codename1.ui.spinner.TimeSpinner) _r12_o).isCurrentMeridiem() ? 1 : 0; if (_r15.i == 0) goto label501; _r15.i = ((global::com.codename1.ui.spinner.TimeSpinner) _r12_o).getCurrentHour(); _r7.i = _r15.i + 12; label474:; _r0_o = _r20_o; _r0_o = ((global::com.codename1.ui.spinner.Picker_21) _r0_o)._fthis_20; _r15_o = _r0_o; _r16_o = new global::java.lang.Integer(); _r17.i = _r7.i * 60; _r18.i = ((global::com.codename1.ui.spinner.TimeSpinner) _r12_o).getCurrentMinute(); _r17.i = _r17.i + _r18.i; ((global::java.lang.Integer) _r16_o).@this((int) _r17.i); global::com.codename1.ui.spinner.Picker.access_2102((global::com.codename1.ui.spinner.Picker) _r15_o, (global::java.lang.Object) _r16_o); goto label136; label497:; ((global::com.codename1.ui.spinner.TimeSpinner) _r12_o).setCurrentHour((int) _r7.i); goto label441; label501:; _r7.i = ((global::com.codename1.ui.spinner.TimeSpinner) _r12_o).getCurrentHour(); goto label474; label506:; _r5_o = new global::com.codename1.ui.spinner.DateTimeSpinner(); ((global::com.codename1.ui.spinner.DateTimeSpinner) _r5_o).@this(); _r0_o = _r20_o; _r0_o = ((global::com.codename1.ui.spinner.Picker_21) _r0_o)._fthis_20; _r15_o = _r0_o; _r21_o = global::com.codename1.ui.spinner.Picker.access_2100((global::com.codename1.ui.spinner.Picker) _r15_o); _r21_o = _r21_o; _r0_o = _r3_o; _r1_o = _r21_o; ((global::java.util.Calendar) _r0_o).setTime((global::java.util.Date) _r1_o); _r0_o = _r20_o; _r0_o = ((global::com.codename1.ui.spinner.Picker_21) _r0_o)._fthis_20; _r15_o = _r0_o; _r21_o = global::com.codename1.ui.spinner.Picker.access_2100((global::com.codename1.ui.spinner.Picker) _r15_o); _r21_o = _r21_o; _r0_o = _r5_o; _r1_o = _r21_o; ((global::com.codename1.ui.spinner.DateTimeSpinner) _r0_o).setCurrentDate((global::java.util.Date) _r1_o); _r0_o = _r20_o; _r0_o = ((global::com.codename1.ui.spinner.Picker_21) _r0_o)._fthis_20; _r15_o = _r0_o; _r15.i = ((global::com.codename1.ui.spinner.Picker) _r15_o).isShowMeridiem() ? 1 : 0; ((global::com.codename1.ui.spinner.DateTimeSpinner) _r5_o).setShowMeridiem(0!=_r15.i); _r0_o = _r20_o; _r0_o = ((global::com.codename1.ui.spinner.Picker_21) _r0_o)._fthis_20; _r15_o = _r0_o; _r15.i = ((global::com.codename1.ui.spinner.Picker) _r15_o).isShowMeridiem() ? 1 : 0; if (_r15.i == 0) goto label674; _r15.i = ((global::com.codename1.ui.spinner.DateTimeSpinner) _r5_o).isCurrentMeridiem() ? 1 : 0; if (_r15.i == 0) goto label674; _r15.i = 10; _r15.i = ((global::java.util.Calendar) _r3_o).get((int) _r15.i); ((global::com.codename1.ui.spinner.DateTimeSpinner) _r5_o).setCurrentHour((int) _r15.i); label583:; _r15.i = 12; _r15.i = ((global::java.util.Calendar) _r3_o).get((int) _r15.i); ((global::com.codename1.ui.spinner.DateTimeSpinner) _r5_o).setCurrentMinute((int) _r15.i); _r0_o = _r20_o; _r1_o = _r10_o; _r2_o = _r5_o; ((global::com.codename1.ui.spinner.Picker_21) _r0_o).showDialog((global::com.codename1.ui.Dialog) _r1_o, (global::com.codename1.ui.Component) _r2_o); _r15_o = ((global::com.codename1.ui.spinner.DateTimeSpinner) _r5_o).getCurrentDate(); ((global::java.util.Calendar) _r3_o).setTime((global::java.util.Date) _r15_o); _r0_o = _r20_o; _r0_o = ((global::com.codename1.ui.spinner.Picker_21) _r0_o)._fthis_20; _r15_o = _r0_o; _r15.i = ((global::com.codename1.ui.spinner.Picker) _r15_o).isShowMeridiem() ? 1 : 0; if (_r15.i == 0) goto label684; _r15.i = ((global::com.codename1.ui.spinner.DateTimeSpinner) _r5_o).isCurrentMeridiem() ? 1 : 0; if (_r15.i == 0) goto label684; _r15.i = 9; _r16.i = 1; _r0_o = _r3_o; _r1.i = _r15.i; _r2.i = _r16.i; ((global::java.util.Calendar) _r0_o).set((int) _r1.i, (int) _r2.i); _r15.i = 10; _r16.i = ((global::com.codename1.ui.spinner.DateTimeSpinner) _r5_o).getCurrentHour(); _r0_o = _r3_o; _r1.i = _r15.i; _r2.i = _r16.i; ((global::java.util.Calendar) _r0_o).set((int) _r1.i, (int) _r2.i); label647:; _r15.i = 12; _r16.i = ((global::com.codename1.ui.spinner.DateTimeSpinner) _r5_o).getCurrentMinute(); _r0_o = _r3_o; _r1.i = _r15.i; _r2.i = _r16.i; ((global::java.util.Calendar) _r0_o).set((int) _r1.i, (int) _r2.i); _r0_o = _r20_o; _r0_o = ((global::com.codename1.ui.spinner.Picker_21) _r0_o)._fthis_20; _r15_o = _r0_o; _r16_o = ((global::java.util.Calendar) _r3_o).getTime(); global::com.codename1.ui.spinner.Picker.access_2102((global::com.codename1.ui.spinner.Picker) _r15_o, (global::java.lang.Object) _r16_o); goto label136; label674:; _r15.i = 11; _r15.i = ((global::java.util.Calendar) _r3_o).get((int) _r15.i); ((global::com.codename1.ui.spinner.DateTimeSpinner) _r5_o).setCurrentHour((int) _r15.i); goto label583; label684:; _r15.i = 11; _r16.i = ((global::com.codename1.ui.spinner.DateTimeSpinner) _r5_o).getCurrentHour(); _r0_o = _r3_o; _r1.i = _r15.i; _r2.i = _r16.i; ((global::java.util.Calendar) _r0_o).set((int) _r1.i, (int) _r2.i); goto label647; label698:; //XMLVM_END_WRAPPER[com.codename1.ui.spinner.Picker$1: void actionPerformed(com.codename1.ui.events.ActionEvent)] }
public virtual void openGallery(global::com.codename1.ui.events.ActionListener n1, int n2){ //XMLVM_BEGIN_WRAPPER[com.codename1.impl.CodenameOneImplementation: void openGallery(com.codename1.ui.events.ActionListener, int)] 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._nExceptionAdapter _ex = null; _r10_o = this; _r11_o = n1; _r12.i = n2; _r5.i = 1; _r1.i = 2; // Value=jpg _r9_o = new global::java.lang.String(); ((global::java.lang.String)_r9_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)106)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 103))})); // Value=avi _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)97)), unchecked((char) unchecked((uint) 118)), unchecked((char) unchecked((uint) 105))})); // Value=3pg _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)51)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 103))})); _r0_o = new global::com.codename1.ui.Dialog(); // Value=Select a picture _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)83)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 101))})); ((global::com.codename1.ui.Dialog) _r0_o).@this((global::java.lang.String) _r2_o); _r2_o = new global::com.codename1.ui.layouts.BorderLayout(); ((global::com.codename1.ui.layouts.BorderLayout) _r2_o).@this(); ((global::com.codename1.ui.Dialog) _r0_o).setLayout((global::com.codename1.ui.layouts.Layout) _r2_o); _r7_o = new global::com.codename1.components.FileTreeModel(); ((global::com.codename1.components.FileTreeModel) _r7_o).@this(0!=_r5.i); if (_r12.i != 0) goto label79; // Value=jpg _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)106)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 103))})); ((global::com.codename1.components.FileTreeModel) _r7_o).addExtensionFilter((global::java.lang.String) _r9_o); // Value=png _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)112)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 103))})); ((global::com.codename1.components.FileTreeModel) _r7_o).addExtensionFilter((global::java.lang.String) _r2_o); label40:; _r8_o = new global::com.codename1.impl.CodenameOneImplementation_22(); ((global::com.codename1.impl.CodenameOneImplementation_22) _r8_o).@this((global::com.codename1.impl.CodenameOneImplementation) _r10_o, (global::com.codename1.components.FileTreeModel) _r7_o, (global::com.codename1.ui.events.ActionListener) _r11_o, (global::com.codename1.ui.Dialog) _r0_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))})); ((global::com.codename1.ui.Dialog) _r0_o).addComponent((global::java.lang.Object) _r2_o, (global::com.codename1.ui.Component) _r8_o); _r2_o = new global::org.xmlvm._nArrayAdapter<global::System.Object>(new global::System.Object[_r5.i]); _r3.i = 0; _r4_o = new global::com.codename1.ui.Command(); // Value=Cancel _r9_o = new global::java.lang.String(); ((global::java.lang.String)_r9_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.ui.Command) _r4_o).@this((global::java.lang.String) _r9_o); ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r2_o)[_r3.i] = _r4_o; ((global::com.codename1.ui.Dialog) _r0_o).placeButtonCommands((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r2_o); _r2.i = _r1.i; _r3.i = _r1.i; _r4.i = _r1.i; _r6_o = ((global::com.codename1.ui.Dialog) _r0_o).showAtPosition((int) _r1.i, (int) _r2.i, (int) _r3.i, (int) _r4.i, 0!=_r5.i); if (_r6_o == null) goto label78; _r1_o = null; ((global::com.codename1.ui.events.ActionListener) _r11_o).actionPerformed((global::com.codename1.ui.events.ActionEvent) _r1_o); label78:; return; label79:; if (_r12.i != _r5.i) goto label102; // Value=mp4 _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)109)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 52))})); ((global::com.codename1.components.FileTreeModel) _r7_o).addExtensionFilter((global::java.lang.String) _r2_o); // Value=3pg _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)51)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 103))})); ((global::com.codename1.components.FileTreeModel) _r7_o).addExtensionFilter((global::java.lang.String) _r3_o); // Value=avi _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)97)), unchecked((char) unchecked((uint) 118)), unchecked((char) unchecked((uint) 105))})); ((global::com.codename1.components.FileTreeModel) _r7_o).addExtensionFilter((global::java.lang.String) _r4_o); // Value=mov _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)109)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 118))})); ((global::com.codename1.components.FileTreeModel) _r7_o).addExtensionFilter((global::java.lang.String) _r2_o); goto label40; label102:; if (_r12.i != _r1.i) goto label40; // Value=jpg _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)106)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 103))})); ((global::com.codename1.components.FileTreeModel) _r7_o).addExtensionFilter((global::java.lang.String) _r9_o); // Value=png _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)112)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 103))})); ((global::com.codename1.components.FileTreeModel) _r7_o).addExtensionFilter((global::java.lang.String) _r2_o); // Value=mp4 _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)109)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 52))})); ((global::com.codename1.components.FileTreeModel) _r7_o).addExtensionFilter((global::java.lang.String) _r2_o); // Value=3pg _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)51)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 103))})); ((global::com.codename1.components.FileTreeModel) _r7_o).addExtensionFilter((global::java.lang.String) _r3_o); // Value=avi _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)97)), unchecked((char) unchecked((uint) 118)), unchecked((char) unchecked((uint) 105))})); ((global::com.codename1.components.FileTreeModel) _r7_o).addExtensionFilter((global::java.lang.String) _r4_o); // Value=mov _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)109)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 118))})); ((global::com.codename1.components.FileTreeModel) _r7_o).addExtensionFilter((global::java.lang.String) _r2_o); goto label40; //XMLVM_END_WRAPPER[com.codename1.impl.CodenameOneImplementation: void openGallery(com.codename1.ui.events.ActionListener, int)] }
public virtual void actionPerformed(global::com.codename1.ui.events.ActionEvent n1){ //XMLVM_BEGIN_WRAPPER[com.codename1.components.ShareButton: void actionPerformed(com.codename1.ui.events.ActionEvent)] 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._nExceptionAdapter _ex = null; _r14_o = this; _r15_o = n1; _r7.i = 1; _r5_o = global::com.codename1.ui.Display.getInstance(); _r5.i = ((global::com.codename1.ui.Display) _r5_o).isNativeShareSupported() ? 1 : 0; if (_r5.i == 0) goto label46; _r5_o = global::com.codename1.ui.Display.getInstance(); _r6_o = ((global::com.codename1.components.ShareButton) _r14_o)._ftextToShare; _r7_o = ((global::com.codename1.components.ShareButton) _r14_o)._fimageToShare; _r8_o = ((global::com.codename1.components.ShareButton) _r14_o)._fimageMimeType; _r9_o = new global::com.codename1.ui.geom.Rectangle(); _r10.i = ((global::com.codename1.components.ShareButton) _r14_o).getAbsoluteX(); _r11.i = ((global::com.codename1.components.ShareButton) _r14_o).getAbsoluteY(); _r12.i = ((global::com.codename1.components.ShareButton) _r14_o).getWidth(); _r13.i = ((global::com.codename1.components.ShareButton) _r14_o).getHeight(); ((global::com.codename1.ui.geom.Rectangle) _r9_o).@this((int) _r10.i, (int) _r11.i, (int) _r12.i, (int) _r13.i); ((global::com.codename1.ui.Display) _r5_o).share((global::java.lang.String) _r6_o, (global::java.lang.String) _r7_o, (global::java.lang.String) _r8_o, (global::com.codename1.ui.geom.Rectangle) _r9_o); label45:; return; label46:; _r5_o = ((global::com.codename1.components.ShareButton) _r14_o)._fimageToShare; if (_r5_o == null) goto label84; _r4_o = new global::java.util.Vector(); ((global::java.util.Vector) _r4_o).@this(); _r1.i = 0; label56:; _r5_o = ((global::com.codename1.components.ShareButton) _r14_o)._fshareServices; _r5.i = ((global::java.util.Vector) _r5_o).size(); if (_r1.i >= _r5.i) goto label86; _r5_o = ((global::com.codename1.components.ShareButton) _r14_o)._fshareServices; _r3_o = ((global::java.util.Vector) _r5_o).elementAt((int) _r1.i); _r3_o = _r3_o; _r5.i = ((global::com.codename1.share.ShareService) _r3_o).canShareImage() ? 1 : 0; if (_r5.i == 0) goto label81; ((global::java.util.Vector) _r4_o).add((global::java.lang.Object) _r3_o); label81:; _r1.i = _r1.i + 1; goto label56; label84:; _r4_o = ((global::com.codename1.components.ShareButton) _r14_o)._fshareServices; label86:; _r1.i = 0; label87:; _r5.i = ((global::java.util.Vector) _r4_o).size(); if (_r1.i >= _r5.i) goto label121; _r3_o = ((global::java.util.Vector) _r4_o).elementAt((int) _r1.i); _r3_o = _r3_o; _r5_o = ((global::com.codename1.components.ShareButton) _r14_o)._ftextToShare; ((global::com.codename1.share.ShareService) _r3_o).setMessage((global::java.lang.String) _r5_o); _r5_o = ((global::com.codename1.components.ShareButton) _r14_o)._fimageToShare; _r6_o = ((global::com.codename1.components.ShareButton) _r14_o)._fimageMimeType; ((global::com.codename1.share.ShareService) _r3_o).setImage((global::java.lang.String) _r5_o, (global::java.lang.String) _r6_o); _r5_o = ((global::com.codename1.components.ShareButton) _r14_o).getComponentForm(); ((global::com.codename1.share.ShareService) _r3_o).setOriginalForm((global::com.codename1.ui.Form) _r5_o); _r1.i = _r1.i + 1; goto label87; label121:; _r2_o = new global::com.codename1.ui.List(); ((global::com.codename1.ui.List) _r2_o).@this((global::java.util.Vector) _r4_o); ((global::com.codename1.ui.List) _r2_o).setCommandList(0!=_r7.i); _r0_o = new global::com.codename1.ui.Dialog(); // Value=Share _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)83)), unchecked((char) unchecked((uint) 104)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 101))})); ((global::com.codename1.ui.Dialog) _r0_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.Dialog) _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))})); ((global::com.codename1.ui.Dialog) _r0_o).addComponent((global::java.lang.Object) _r5_o, (global::com.codename1.ui.Component) _r2_o); _r5_o = new global::org.xmlvm._nArrayAdapter<global::System.Object>(new global::System.Object[_r7.i]); _r6.i = 0; _r7_o = new global::com.codename1.ui.Command(); // Value=Cancel _r8_o = new global::java.lang.String(); ((global::java.lang.String)_r8_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.ui.Command) _r7_o).@this((global::java.lang.String) _r8_o); ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r5_o)[_r6.i] = _r7_o; ((global::com.codename1.ui.Dialog) _r0_o).placeButtonCommands((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r5_o); _r5_o = new global::com.codename1.components.ShareButton_21(); ((global::com.codename1.components.ShareButton_21) _r5_o).@this((global::com.codename1.components.ShareButton) _r14_o, (global::com.codename1.ui.Dialog) _r0_o); ((global::com.codename1.ui.List) _r2_o).addActionListener((global::com.codename1.ui.events.ActionListener) _r5_o); ((global::com.codename1.ui.Dialog) _r0_o).show(); goto label45; //XMLVM_END_WRAPPER[com.codename1.components.ShareButton: void actionPerformed(com.codename1.ui.events.ActionEvent)] }
public override void actionPerformed(global::com.codename1.ui.events.ActionEvent n1){ //XMLVM_BEGIN_WRAPPER[com.codename1.components.MasterDetail$1: void actionPerformed(com.codename1.ui.events.ActionEvent)] 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._nExceptionAdapter _ex = null; _r11_o = this; _r12_o = n1; _r9.i = 250; _r7.i = 1; _r6.i = 0; // Value=Container _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) 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))})); // Value=Center _r8_o = new global::java.lang.String(); ((global::java.lang.String)_r8_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))})); _r1_o = new global::com.codename1.ui.Dialog(); ((global::com.codename1.ui.Dialog) _r1_o).@this(); _r4_o = new global::com.codename1.ui.layouts.BorderLayout(); ((global::com.codename1.ui.layouts.BorderLayout) _r4_o).@this(); ((global::com.codename1.ui.Dialog) _r1_o).setLayout((global::com.codename1.ui.layouts.Layout) _r4_o); // Value=Container _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) 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) _r1_o).setDialogUIID((global::java.lang.String) _r10_o); _r4_o = ((global::com.codename1.ui.Dialog) _r1_o).getContentPane(); // Value=Container _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) 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.Container) _r4_o).setUIID((global::java.lang.String) _r10_o); _r3_o = new global::com.codename1.ui.Container(); _r4_o = new global::com.codename1.ui.layouts.BorderLayout(); ((global::com.codename1.ui.layouts.BorderLayout) _r4_o).@this(); ((global::com.codename1.ui.Container) _r3_o).@this((global::com.codename1.ui.layouts.Layout) _r4_o); // Value=North _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)78)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 104))})); ((global::com.codename1.ui.Dialog) _r1_o).addComponent((global::java.lang.Object) _r4_o, (global::com.codename1.ui.Component) _r3_o); // Value=TitleArea _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)84)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 65)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 97))})); ((global::com.codename1.ui.Container) _r3_o).setUIID((global::java.lang.String) _r4_o); _r2_o = new global::com.codename1.ui.Label(); _r4_o = ((global::com.codename1.components.MasterDetail_21) _r11_o)._fval_2commandTitle; ((global::com.codename1.ui.Label) _r2_o).@this((global::java.lang.String) _r4_o); // 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))})); ((global::com.codename1.ui.Container) _r3_o).addComponent((global::java.lang.Object) _r8_o, (global::com.codename1.ui.Component) _r2_o); // Value=Title _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)84)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 101))})); ((global::com.codename1.ui.Label) _r2_o).setUIID((global::java.lang.String) _r4_o); _r0_o = new global::com.codename1.ui.Container(); _r4_o = new global::com.codename1.ui.layouts.BorderLayout(); ((global::com.codename1.ui.layouts.BorderLayout) _r4_o).@this(); ((global::com.codename1.ui.Container) _r0_o).@this((global::com.codename1.ui.layouts.Layout) _r4_o); // Value=Form _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)70)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 109))})); ((global::com.codename1.ui.Container) _r0_o).setUIID((global::java.lang.String) _r4_o); // 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))})); _r4_o = ((global::com.codename1.components.MasterDetail_21) _r11_o)._fval_2portraitUI; ((global::com.codename1.ui.Container) _r0_o).addComponent((global::java.lang.Object) _r8_o, (global::com.codename1.ui.Component) _r4_o); _r4_o = global::com.codename1.ui.animations.CommonTransitions.createSlide((int) _r6.i, 0!=_r6.i, (int) _r9.i); ((global::com.codename1.ui.Dialog) _r1_o).setTransitionInAnimator((global::com.codename1.ui.animations.Transition) _r4_o); _r4_o = global::com.codename1.ui.animations.CommonTransitions.createSlide((int) _r6.i, 0!=_r7.i, (int) _r9.i); ((global::com.codename1.ui.Dialog) _r1_o).setTransitionOutAnimator((global::com.codename1.ui.animations.Transition) _r4_o); // 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))})); ((global::com.codename1.ui.Dialog) _r1_o).addComponent((global::java.lang.Object) _r8_o, (global::com.codename1.ui.Component) _r0_o); ((global::com.codename1.ui.Dialog) _r1_o).setDisposeWhenPointerOutOfBounds(0!=_r7.i); // Value=West _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)87)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 116))})); ((global::com.codename1.ui.Dialog) _r1_o).showStetched((global::java.lang.String) _r4_o, 0!=_r7.i); _r4_o = ((global::com.codename1.components.MasterDetail_21) _r11_o)._fval_2portraitUI; ((global::com.codename1.ui.Dialog) _r1_o).removeComponent((global::com.codename1.ui.Component) _r4_o); return; //XMLVM_END_WRAPPER[com.codename1.components.MasterDetail$1: void actionPerformed(com.codename1.ui.events.ActionEvent)] }
public virtual void showMenu(){ //XMLVM_BEGIN_WRAPPER[com.codename1.ui.MenuBar: void showMenu()] 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; _r9_o = this; _r8.i = 1; _r7.i = 0; _r1_o = new global::com.codename1.ui.Dialog(); // Value=Menu _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)77)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 117))})); // Value= _r6_o = new global::java.lang.String(); ((global::java.lang.String)_r6_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {})); ((global::com.codename1.ui.Dialog) _r1_o).@this((global::java.lang.String) _r5_o, (global::java.lang.String) _r6_o); ((global::com.codename1.ui.Dialog) _r1_o).setDisposeWhenPointerOutOfBounds(0!=_r8.i); ((global::com.codename1.ui.Dialog) _r1_o).setMenu(0!=_r8.i); _r5_o = ((global::com.codename1.ui.MenuBar) _r9_o)._ftransitionIn; ((global::com.codename1.ui.Dialog) _r1_o).setTransitionInAnimator((global::com.codename1.ui.animations.Transition) _r5_o); _r5_o = ((global::com.codename1.ui.MenuBar) _r9_o)._ftransitionOut; ((global::com.codename1.ui.Dialog) _r1_o).setTransitionOutAnimator((global::com.codename1.ui.animations.Transition) _r5_o); _r5_o = new global::com.codename1.ui.layouts.BorderLayout(); ((global::com.codename1.ui.layouts.BorderLayout) _r5_o).@this(); ((global::com.codename1.ui.Dialog) _r1_o).setLayout((global::com.codename1.ui.layouts.Layout) _r5_o); ((global::com.codename1.ui.Dialog) _r1_o).setScrollable(0!=_r7.i); _r5_o = ((global::com.codename1.ui.Form) _r1_o).getMenuBar(); _r6_o = ((global::com.codename1.ui.MenuBar) _r9_o)._fcommands; _r6_o = ((global::com.codename1.ui.MenuBar) _r9_o).createCommandComponent((global::java.util.Vector) _r6_o); ((global::com.codename1.ui.MenuBar) _r5_o)._fcommandList = (global::com.codename1.ui.Component) _r6_o; _r5_o = ((global::com.codename1.ui.MenuBar) _r9_o)._fmenuCellRenderer; if (_r5_o == null) goto label77; _r5_o = ((global::com.codename1.ui.Form) _r1_o).getMenuBar(); _r5_o = ((global::com.codename1.ui.MenuBar) _r5_o)._fcommandList; _r5.i = ((_r5_o != null) && (_r5_o is global::com.codename1.ui.List)) ? 1 : 0; if (_r5.i == 0) goto label77; _r5_o = ((global::com.codename1.ui.Form) _r1_o).getMenuBar(); _r5_o = ((global::com.codename1.ui.MenuBar) _r5_o)._fcommandList; _r5_o = _r5_o; _r6_o = ((global::com.codename1.ui.MenuBar) _r9_o)._fmenuCellRenderer; ((global::com.codename1.ui.List) _r5_o).setListCellRenderer((global::com.codename1.ui.list.ListCellRenderer) _r6_o); label77:; _r5_o = ((global::com.codename1.ui.Dialog) _r1_o).getContentPane(); _r5_o = ((global::com.codename1.ui.Container) _r5_o).getStyle(); ((global::com.codename1.ui.plaf.Style) _r5_o).setMargin((int) _r7.i, (int) _r7.i, (int) _r7.i, (int) _r7.i); // 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.ui.Form) _r1_o).getMenuBar(); _r6_o = ((global::com.codename1.ui.MenuBar) _r6_o)._fcommandList; ((global::com.codename1.ui.Dialog) _r1_o).addComponent((global::java.lang.Object) _r5_o, (global::com.codename1.ui.Component) _r6_o); _r5.i = ((global::com.codename1.ui.MenuBar) _r9_o)._fthirdSoftButton ? 1 : 0; if (_r5.i == 0) goto label229; _r5_o = ((global::com.codename1.ui.MenuBar) _r9_o)._fselectMenuItem; ((global::com.codename1.ui.Dialog) _r1_o).addCommand((global::com.codename1.ui.Command) _r5_o); _r5_o = ((global::com.codename1.ui.MenuBar) _r9_o)._fcancelMenuItem; ((global::com.codename1.ui.Dialog) _r1_o).addCommand((global::com.codename1.ui.Command) _r5_o); label113:; _r5_o = ((global::com.codename1.ui.MenuBar) _r9_o)._fcancelMenuItem; ((global::com.codename1.ui.Dialog) _r1_o).setClearCommand((global::com.codename1.ui.Command) _r5_o); _r5_o = ((global::com.codename1.ui.MenuBar) _r9_o)._fcancelMenuItem; ((global::com.codename1.ui.Dialog) _r1_o).setBackCommand((global::com.codename1.ui.Command) _r5_o); _r5_o = ((global::com.codename1.ui.Form) _r1_o).getMenuBar(); _r5_o = ((global::com.codename1.ui.MenuBar) _r5_o)._fcommandList; _r5.i = ((_r5_o != null) && (_r5_o is global::com.codename1.ui.List)) ? 1 : 0; if (_r5.i == 0) goto label148; _r5_o = ((global::com.codename1.ui.Form) _r1_o).getMenuBar(); _r5_o = ((global::com.codename1.ui.MenuBar) _r5_o)._fcommandList; _r5_o = _r5_o; _r6_o = ((global::com.codename1.ui.Form) _r1_o).getMenuBar(); ((global::com.codename1.ui.List) _r5_o).addActionListener((global::com.codename1.ui.events.ActionListener) _r6_o); label148:; _r3_o = ((global::com.codename1.ui.MenuBar) _r9_o).showMenuDialog((global::com.codename1.ui.Dialog) _r1_o); _r5_o = ((global::com.codename1.ui.MenuBar) _r9_o)._fcancelMenuItem; if (_r3_o == _r5_o) goto label188; _r0_o = null; _r5_o = ((global::com.codename1.ui.MenuBar) _r9_o)._fselectMenuItem; if (_r3_o != _r5_o) goto label246; _r5_o = ((global::com.codename1.ui.Form) _r1_o).getMenuBar(); _r5_o = ((global::com.codename1.ui.MenuBar) _r5_o)._fcommandList; _r0_o = ((global::com.codename1.ui.MenuBar) _r9_o).getComponentSelectedCommand((global::com.codename1.ui.Component) _r5_o); if (_r0_o == null) goto label181; _r2_o = new global::com.codename1.ui.events.ActionEvent(); ((global::com.codename1.ui.events.ActionEvent) _r2_o).@this((global::java.lang.Object) _r0_o); ((global::com.codename1.ui.Command) _r0_o).actionPerformed((global::com.codename1.ui.events.ActionEvent) _r2_o); label181:; if (_r0_o == null) goto label188; _r5_o = ((global::com.codename1.ui.MenuBar) _r9_o)._fparent; ((global::com.codename1.ui.Form) _r5_o).actionCommandImpl((global::com.codename1.ui.Command) _r0_o); label188:; _r5_o = ((global::com.codename1.ui.Form) _r1_o).getMenuBar(); _r5_o = ((global::com.codename1.ui.MenuBar) _r5_o)._fcommandList; _r5.i = ((_r5_o != null) && (_r5_o is global::com.codename1.ui.List)) ? 1 : 0; if (_r5.i == 0) goto label213; _r5_o = ((global::com.codename1.ui.Form) _r1_o).getMenuBar(); _r5_o = ((global::com.codename1.ui.MenuBar) _r5_o)._fcommandList; _r5_o = _r5_o; _r6_o = ((global::com.codename1.ui.Form) _r1_o).getMenuBar(); ((global::com.codename1.ui.List) _r5_o).removeActionListener((global::com.codename1.ui.events.ActionListener) _r6_o); label213:; _r5_o = global::com.codename1.ui.Display.getInstance(); _r4_o = ((global::com.codename1.ui.Display) _r5_o).getCurrentUpcoming(); _r5_o = ((global::com.codename1.ui.MenuBar) _r9_o)._fparent; if (_r4_o != _r5_o) goto label265; ((global::com.codename1.ui.Dialog) _r1_o).disposeImpl(); label228:; return; label229:; _r5_o = ((global::com.codename1.ui.MenuBar) _r9_o)._fcancelMenuItem; ((global::com.codename1.ui.Dialog) _r1_o).addCommand((global::com.codename1.ui.Command) _r5_o); _r5_o = ((global::com.codename1.ui.MenuBar) _r9_o)._fsoft; _r5.i = ((global::org.xmlvm._nIArray) _r5_o).Length; if (_r5.i <= _r8.i) goto label113; _r5_o = ((global::com.codename1.ui.MenuBar) _r9_o)._fselectMenuItem; ((global::com.codename1.ui.Dialog) _r1_o).addCommand((global::com.codename1.ui.Command) _r5_o); goto label113; label246:; _r0_o = _r3_o; _r5.i = ((global::com.codename1.ui.MenuBar) _r9_o).isTouchMenus() ? 1 : 0; if (_r5.i != 0) goto label181; _r0_o = _r3_o; if (_r0_o == null) goto label181; _r2_o = new global::com.codename1.ui.events.ActionEvent(); ((global::com.codename1.ui.events.ActionEvent) _r2_o).@this((global::java.lang.Object) _r0_o); ((global::com.codename1.ui.Command) _r0_o).actionPerformed((global::com.codename1.ui.events.ActionEvent) _r2_o); goto label181; label265:; _r5_o = ((global::com.codename1.ui.MenuBar) _r9_o)._fparent; _r6.i = ((_r4_o != null) && (_r4_o is global::com.codename1.ui.Dialog)) ? 1 : 0; ((global::com.codename1.ui.Form) _r5_o)._ftint = 0!=_r6.i; goto label228; //XMLVM_END_WRAPPER[com.codename1.ui.MenuBar: void showMenu()] }
public virtual void exception(global::java.lang.Throwable n1){ //XMLVM_BEGIN_WRAPPER[com.codename1.system.DefaultCrashReporter: void exception(java.lang.Throwable)] 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._nExceptionAdapter _ex = null; _r12_o = this; _r13_o = n1; // Value=$CN1_pendingCrash _r9_o = new global::java.lang.String(); ((global::java.lang.String)_r9_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)36)), unchecked((char) unchecked((uint) 67)), unchecked((char) unchecked((uint) 78)), unchecked((char) unchecked((uint) 49)), unchecked((char) unchecked((uint) 95)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 103)), unchecked((char) unchecked((uint) 67)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 104))})); _r10.i = 1; global::com.codename1.io.Preferences.set((global::java.lang.String) _r9_o, 0!=_r10.i); _r9.i = ((global::com.codename1.system.DefaultCrashReporter) _r12_o)._fpromptUser ? 1 : 0; if (_r9.i == 0) goto label145; _r3_o = new global::com.codename1.ui.Dialog(); // Value=Error _r9_o = new global::java.lang.String(); ((global::java.lang.String)_r9_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)69)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 114))})); ((global::com.codename1.ui.Dialog) _r3_o).@this((global::java.lang.String) _r9_o); _r9_o = new global::com.codename1.ui.layouts.BoxLayout(); _r10.i = 2; ((global::com.codename1.ui.layouts.BoxLayout) _r9_o).@this((int) _r10.i); ((global::com.codename1.ui.Dialog) _r3_o).setLayout((global::com.codename1.ui.layouts.Layout) _r9_o); _r8_o = new global::com.codename1.ui.TextArea(); _r9_o = global::com.codename1.system.DefaultCrashReporter._ferrorText; ((global::com.codename1.ui.TextArea) _r8_o).@this((global::java.lang.String) _r9_o); _r9.i = 0; ((global::com.codename1.ui.TextArea) _r8_o).setEditable(0!=_r9.i); // Value=DialogBody _r9_o = new global::java.lang.String(); ((global::java.lang.String)_r9_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)68)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 103)), unchecked((char) unchecked((uint) 66)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 121))})); ((global::com.codename1.ui.TextArea) _r8_o).setUIID((global::java.lang.String) _r9_o); ((global::com.codename1.ui.Dialog) _r3_o).addComponent((global::com.codename1.ui.Component) _r8_o); _r0_o = new global::com.codename1.ui.CheckBox(); _r9_o = global::com.codename1.system.DefaultCrashReporter._fcheckboxText; ((global::com.codename1.ui.CheckBox) _r0_o).@this((global::java.lang.String) _r9_o); // Value=DialogBody _r9_o = new global::java.lang.String(); ((global::java.lang.String)_r9_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)68)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 103)), unchecked((char) unchecked((uint) 66)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 121))})); ((global::com.codename1.ui.CheckBox) _r0_o).setUIID((global::java.lang.String) _r9_o); ((global::com.codename1.ui.Dialog) _r3_o).addComponent((global::com.codename1.ui.Component) _r0_o); _r4_o = new global::com.codename1.ui.Container(); _r9_o = new global::com.codename1.ui.layouts.GridLayout(); _r10.i = 1; _r11.i = 2; ((global::com.codename1.ui.layouts.GridLayout) _r9_o).@this((int) _r10.i, (int) _r11.i); ((global::com.codename1.ui.Container) _r4_o).@this((global::com.codename1.ui.layouts.Layout) _r9_o); ((global::com.codename1.ui.Dialog) _r3_o).addComponent((global::com.codename1.ui.Component) _r4_o); _r5_o = new global::com.codename1.ui.Command(); _r9_o = global::com.codename1.system.DefaultCrashReporter._fsendButtonText; ((global::com.codename1.ui.Command) _r5_o).@this((global::java.lang.String) _r9_o); _r1_o = new global::com.codename1.ui.Command(); _r9_o = global::com.codename1.system.DefaultCrashReporter._fdontSendButtonText; ((global::com.codename1.ui.Command) _r1_o).@this((global::java.lang.String) _r9_o); _r7_o = new global::com.codename1.ui.Button(); ((global::com.codename1.ui.Button) _r7_o).@this((global::com.codename1.ui.Command) _r5_o); _r2_o = new global::com.codename1.ui.Button(); ((global::com.codename1.ui.Button) _r2_o).@this((global::com.codename1.ui.Command) _r1_o); ((global::com.codename1.ui.Container) _r4_o).addComponent((global::com.codename1.ui.Component) _r7_o); ((global::com.codename1.ui.Container) _r4_o).addComponent((global::com.codename1.ui.Component) _r2_o); // Value=Center _r9_o = new global::java.lang.String(); ((global::java.lang.String)_r9_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))})); _r10.i = 1; _r6_o = ((global::com.codename1.ui.Dialog) _r3_o).showPacked((global::java.lang.String) _r9_o, 0!=_r10.i); if (_r6_o != _r1_o) goto label133; _r9.i = ((global::com.codename1.ui.CheckBox) _r0_o).isSelected() ? 1 : 0; if (_r9.i == 0) goto label126; // Value=$CN1_crashBlocked _r9_o = new global::java.lang.String(); ((global::java.lang.String)_r9_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)36)), unchecked((char) unchecked((uint) 67)), unchecked((char) unchecked((uint) 78)), unchecked((char) unchecked((uint) 49)), unchecked((char) unchecked((uint) 95)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 104)), unchecked((char) unchecked((uint) 66)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 107)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 100))})); _r10.i = 1; global::com.codename1.io.Preferences.set((global::java.lang.String) _r9_o, 0!=_r10.i); label126:; // Value=$CN1_pendingCrash _r9_o = new global::java.lang.String(); ((global::java.lang.String)_r9_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)36)), unchecked((char) unchecked((uint) 67)), unchecked((char) unchecked((uint) 78)), unchecked((char) unchecked((uint) 49)), unchecked((char) unchecked((uint) 95)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 103)), unchecked((char) unchecked((uint) 67)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 104))})); _r10.i = 0; global::com.codename1.io.Preferences.set((global::java.lang.String) _r9_o, 0!=_r10.i); label132:; return; label133:; _r9.i = ((global::com.codename1.ui.CheckBox) _r0_o).isSelected() ? 1 : 0; if (_r9.i == 0) goto label145; // Value=$CN1_prompt _r9_o = new global::java.lang.String(); ((global::java.lang.String)_r9_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)36)), unchecked((char) unchecked((uint) 67)), unchecked((char) unchecked((uint) 78)), unchecked((char) unchecked((uint) 49)), unchecked((char) unchecked((uint) 95)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 116))})); _r10.i = 0; global::com.codename1.io.Preferences.set((global::java.lang.String) _r9_o, 0!=_r10.i); label145:; global::com.codename1.io.Log.sendLog(); // Value=$CN1_pendingCrash _r9_o = new global::java.lang.String(); ((global::java.lang.String)_r9_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)36)), unchecked((char) unchecked((uint) 67)), unchecked((char) unchecked((uint) 78)), unchecked((char) unchecked((uint) 49)), unchecked((char) unchecked((uint) 95)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 103)), unchecked((char) unchecked((uint) 67)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 104))})); _r10.i = 0; global::com.codename1.io.Preferences.set((global::java.lang.String) _r9_o, 0!=_r10.i); goto label132; //XMLVM_END_WRAPPER[com.codename1.system.DefaultCrashReporter: void exception(java.lang.Throwable)] }
public virtual global::System.Object authenticate(){ //XMLVM_BEGIN_WRAPPER[com.codename1.io.Oauth2: java.lang.String authenticate()] 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; _r9_o = this; _r4.i = 300; _r3_o = null; _r6.i = 1; _r1.i = 0; _r0_o = ((global::com.codename1.io.Oauth2) _r9_o)._ftoken; if (_r0_o != null) goto label91; _r0_o = new global::com.codename1.ui.Dialog(); ((global::com.codename1.ui.Dialog) _r0_o).@this(); ((global::com.codename1.io.Oauth2) _r9_o)._flogin = (global::com.codename1.ui.Dialog) _r0_o; _r8.i = global::com.codename1.ui.Dialog.isAutoAdjustDialogSize() ? 1 : 0; global::com.codename1.ui.Dialog.setAutoAdjustDialogSize(0!=_r1.i); _r0_o = ((global::com.codename1.io.Oauth2) _r9_o)._flogin; _r2_o = new global::com.codename1.ui.layouts.BorderLayout(); ((global::com.codename1.ui.layouts.BorderLayout) _r2_o).@this(); ((global::com.codename1.ui.Dialog) _r0_o).setLayout((global::com.codename1.ui.layouts.Layout) _r2_o); _r0_o = ((global::com.codename1.io.Oauth2) _r9_o)._flogin; ((global::com.codename1.ui.Dialog) _r0_o).setScrollable(0!=_r1.i); _r7_o = ((global::com.codename1.io.Oauth2) _r9_o).createLoginComponent((global::com.codename1.ui.events.ActionListener) _r3_o, (global::com.codename1.ui.Form) _r3_o, (global::com.codename1.ui.Form) _r3_o, (global::com.codename1.ui.Dialog) _r3_o); _r0_o = ((global::com.codename1.io.Oauth2) _r9_o)._flogin; // 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))})); ((global::com.codename1.ui.Dialog) _r0_o).addComponent((global::java.lang.Object) _r2_o, (global::com.codename1.ui.Component) _r7_o); _r0_o = ((global::com.codename1.io.Oauth2) _r9_o)._flogin; ((global::com.codename1.ui.Dialog) _r0_o).setScrollable(0!=_r1.i); _r0_o = ((global::com.codename1.io.Oauth2) _r9_o)._flogin; // Value=Container _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) 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) _r2_o); _r0_o = ((global::com.codename1.io.Oauth2) _r9_o)._flogin; _r2_o = global::com.codename1.ui.animations.CommonTransitions.createSlide((int) _r6.i, 0!=_r6.i, (int) _r4.i); ((global::com.codename1.ui.Dialog) _r0_o).setTransitionInAnimator((global::com.codename1.ui.animations.Transition) _r2_o); _r0_o = ((global::com.codename1.io.Oauth2) _r9_o)._flogin; _r2_o = global::com.codename1.ui.animations.CommonTransitions.createSlide((int) _r6.i, 0!=_r1.i, (int) _r4.i); ((global::com.codename1.ui.Dialog) _r0_o).setTransitionOutAnimator((global::com.codename1.ui.animations.Transition) _r2_o); _r0_o = ((global::com.codename1.io.Oauth2) _r9_o)._flogin; _r2.i = _r1.i; _r3.i = _r1.i; _r4.i = _r1.i; _r5.i = _r1.i; ((global::com.codename1.ui.Dialog) _r0_o).show((int) _r1.i, (int) _r2.i, (int) _r3.i, (int) _r4.i, 0!=_r5.i, 0!=_r6.i); global::com.codename1.ui.Dialog.setAutoAdjustDialogSize(0!=_r8.i); label91:; _r0_o = ((global::com.codename1.io.Oauth2) _r9_o)._ftoken; return (global::java.lang.String) _r0_o; //XMLVM_END_WRAPPER[com.codename1.io.Oauth2: java.lang.String authenticate()] }