public virtual void actionPerformed(global::com.codename1.ui.events.ActionEvent n1){
//XMLVM_BEGIN_WRAPPER[com.codename1.components.RSSReader$EventHandler: 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._nExceptionAdapter _ex = null;
    _r15_o = this;
    _r16_o = n1;
    _r14.i = 1;
    _r0_o = _r16_o;
    _r0.i = ((_r0_o != null) && (_r0_o is global::com.codename1.io.NetworkEvent)) ? 1 : 0;
    _r9.i = _r0.i;
    if (_r9.i == 0) goto label158;
    _r9_o = ((global::com.codename1.components.RSSReader_2EventHandler) _r15_o)._fthis_20;
    _r10.i = 0;
    global::com.codename1.components.RSSReader.access_2102((global::com.codename1.components.RSSReader) _r9_o, 0!=_r10.i);
    _r0_o = _r16_o;
    _r0_o = _r0_o;
    _r1_o = _r0_o;
    _r8_o = ((global::com.codename1.io.NetworkEvent) _r1_o).getMetaData();
    _r8_o = _r8_o;
    _r6_o = ((global::com.codename1.io.NetworkEvent) _r1_o).getConnectionRequest();
    _r6_o = _r6_o;
    _r9_o = ((global::com.codename1.components.RSSReader_2EventHandler) _r15_o)._fthis_20;
    _r9_o = global::com.codename1.components.RSSReader.access_2200((global::com.codename1.components.RSSReader) _r9_o);
    if (_r9_o == null) goto label77;
    _r9_o = ((global::com.codename1.components.RSSReader_2EventHandler) _r15_o)._fthis_20;
    _r9_o = global::com.codename1.components.RSSReader.access_2200((global::com.codename1.components.RSSReader) _r9_o);
    _r10_o = global::com.codename1.components.RSSReader.access_2300();
    ((global::java.util.Vector) _r9_o).removeElement((global::java.lang.Object) _r10_o);
    _r4.i = 0;
    label53:;
    _r9.i = ((global::java.util.Vector) _r8_o).size();
    if (_r4.i >= _r9.i) goto label82;
    _r2_o = ((global::java.util.Vector) _r8_o).elementAt((int) _r4.i);
    _r2_o = _r2_o;
    _r9_o = ((global::com.codename1.components.RSSReader_2EventHandler) _r15_o)._fthis_20;
    _r9_o = global::com.codename1.components.RSSReader.access_2200((global::com.codename1.components.RSSReader) _r9_o);
    ((global::java.util.Vector) _r9_o).addElement((global::java.lang.Object) _r2_o);
    _r4.i = _r4.i + 1;
    goto label53;
    label77:;
    _r9_o = ((global::com.codename1.components.RSSReader_2EventHandler) _r15_o)._fthis_20;
    global::com.codename1.components.RSSReader.access_2202((global::com.codename1.components.RSSReader) _r9_o, (global::java.util.Vector) _r8_o);
    label82:;
    _r9.i = ((global::com.codename1.io.services.RSSService) _r6_o).hasMore() ? 1 : 0;
    if (_r9.i == 0) goto label95;
    _r9_o = global::com.codename1.components.RSSReader.access_2300();
    ((global::java.util.Vector) _r8_o).addElement((global::java.lang.Object) _r9_o);
    label95:;
    _r9_o = ((global::com.codename1.components.RSSReader_2EventHandler) _r15_o)._fthis_20;
    _r10_o = new global::com.codename1.ui.list.DefaultListModel();
    _r11_o = ((global::com.codename1.components.RSSReader_2EventHandler) _r15_o)._fthis_20;
    _r11_o = global::com.codename1.components.RSSReader.access_2200((global::com.codename1.components.RSSReader) _r11_o);
    ((global::com.codename1.ui.list.DefaultListModel) _r10_o).@this((global::java.util.Vector) _r11_o);
    ((global::com.codename1.components.RSSReader) _r9_o).setModel((global::com.codename1.ui.list.ListModel) _r10_o);
    _r4.i = 0;
    label112:;
    _r9_o = ((global::com.codename1.components.RSSReader_2EventHandler) _r15_o)._fthis_20;
    _r9_o = global::com.codename1.components.RSSReader.access_2200((global::com.codename1.components.RSSReader) _r9_o);
    _r9.i = ((global::java.util.Vector) _r9_o).size();
    if (_r4.i >= _r9.i) goto label180;
    _r9_o = ((global::com.codename1.components.RSSReader_2EventHandler) _r15_o)._fthis_20;
    _r9_o = global::com.codename1.components.RSSReader.access_2200((global::com.codename1.components.RSSReader) _r9_o);
    _r2_o = ((global::java.util.Vector) _r9_o).elementAt((int) _r4.i);
    _r2_o = _r2_o;
    // Value=icon
    _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)105)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 110))}));
    _r3_o = ((global::java.util.Hashtable) _r2_o).get((global::java.lang.Object) _r9_o);
    if (_r3_o == null) goto label155;
    _r9_o = ((global::com.codename1.components.RSSReader_2EventHandler) _r15_o)._fthis_20;
    _r9_o = global::com.codename1.components.RSSReader.access_2000((global::com.codename1.components.RSSReader) _r9_o);
    if (_r3_o != _r9_o) goto label155;
    ((global::com.codename1.components.RSSReader_2EventHandler) _r15_o).downloadImage((global::java.util.Hashtable) _r2_o, (int) _r4.i);
    label155:;
    _r4.i = _r4.i + 1;
    goto label112;
    label158:;
    _r9_o = ((global::com.codename1.components.RSSReader_2EventHandler) _r15_o)._fthis_20;
    _r7_o = ((global::com.codename1.components.RSSReader) _r9_o).getSelectedItem();
    _r7_o = _r7_o;
    _r9_o = global::com.codename1.components.RSSReader.access_2300();
    if (_r7_o != _r9_o) goto label297;
    _r9_o = ((global::com.codename1.components.RSSReader_2EventHandler) _r15_o)._fthis_20;
    _r9.i = global::com.codename1.components.RSSReader.access_2100((global::com.codename1.components.RSSReader) _r9_o) ? 1 : 0;
    if (_r9.i == 0) goto label181;
    label180:;
    return;
    label181:;
    _r9_o = ((global::com.codename1.components.RSSReader_2EventHandler) _r15_o)._fthis_20;
    global::com.codename1.components.RSSReader.access_2102((global::com.codename1.components.RSSReader) _r9_o, 0!=_r14.i);
    _r9_o = ((global::com.codename1.components.RSSReader_2EventHandler) _r15_o)._fthis_20;
    _r10_o = new global::com.codename1.io.services.RSSService();
    _r11_o = ((global::com.codename1.components.RSSReader_2EventHandler) _r15_o)._fthis_20;
    _r11_o = global::com.codename1.components.RSSReader.access_2500((global::com.codename1.components.RSSReader) _r11_o);
    _r12_o = ((global::com.codename1.components.RSSReader_2EventHandler) _r15_o)._fthis_20;
    _r12.i = global::com.codename1.components.RSSReader.access_2600((global::com.codename1.components.RSSReader) _r12_o);
    _r13_o = ((global::com.codename1.components.RSSReader_2EventHandler) _r15_o)._fthis_20;
    _r13_o = global::com.codename1.components.RSSReader.access_2200((global::com.codename1.components.RSSReader) _r13_o);
    _r13.i = ((global::java.util.Vector) _r13_o).size();
    _r13.i = _r13.i - _r14.i;
    ((global::com.codename1.io.services.RSSService) _r10_o).@this((global::java.lang.String) _r11_o, (int) _r12.i, (int) _r13.i);
    global::com.codename1.components.RSSReader.access_2402((global::com.codename1.components.RSSReader) _r9_o, (global::com.codename1.io.services.RSSService) _r10_o);
    _r9_o = ((global::com.codename1.components.RSSReader_2EventHandler) _r15_o)._fthis_20;
    _r9_o = global::com.codename1.components.RSSReader.access_2000((global::com.codename1.components.RSSReader) _r9_o);
    if (_r9_o == null) goto label242;
    _r9_o = ((global::com.codename1.components.RSSReader_2EventHandler) _r15_o)._fthis_20;
    _r9_o = global::com.codename1.components.RSSReader.access_2400((global::com.codename1.components.RSSReader) _r9_o);
    _r10_o = ((global::com.codename1.components.RSSReader_2EventHandler) _r15_o)._fthis_20;
    _r10_o = global::com.codename1.components.RSSReader.access_2000((global::com.codename1.components.RSSReader) _r10_o);
    ((global::com.codename1.io.services.RSSService) _r9_o).setIconPlaceholder((global::com.codename1.ui.Image) _r10_o);
    label242:;
    _r9_o = ((global::com.codename1.components.RSSReader_2EventHandler) _r15_o)._fthis_20;
    _r9_o = global::com.codename1.components.RSSReader.access_2400((global::com.codename1.components.RSSReader) _r9_o);
    _r10_o = new global::com.codename1.components.RSSReader_2EventHandler();
    _r11_o = ((global::com.codename1.components.RSSReader_2EventHandler) _r15_o)._fthis_20;
    ((global::com.codename1.components.RSSReader_2EventHandler) _r10_o).@this((global::com.codename1.components.RSSReader) _r11_o);
    ((global::com.codename1.io.services.RSSService) _r9_o).addResponseListener((global::com.codename1.ui.events.ActionListener) _r10_o);
    _r5_o = new global::com.codename1.components.Progress();
    // Value=Fetching RSS
    _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)70)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 104)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 103)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 82)), unchecked((char) unchecked((uint) 83)), unchecked((char) unchecked((uint) 83))}));
    _r10_o = ((global::com.codename1.components.RSSReader_2EventHandler) _r15_o)._fthis_20;
    _r10_o = global::com.codename1.components.RSSReader.access_2400((global::com.codename1.components.RSSReader) _r10_o);
    _r11_o = ((global::com.codename1.components.RSSReader_2EventHandler) _r15_o)._fthis_20;
    _r11.i = global::com.codename1.components.RSSReader.access_2700((global::com.codename1.components.RSSReader) _r11_o) ? 1 : 0;
    ((global::com.codename1.components.Progress) _r5_o).@this((global::java.lang.String) _r9_o, (global::com.codename1.io.ConnectionRequest) _r10_o, 0!=_r11.i);
    ((global::com.codename1.components.Progress) _r5_o).setAutoShow(0!=_r14.i);
    ((global::com.codename1.components.Progress) _r5_o).setDisposeOnCompletion(0!=_r14.i);
    _r9_o = global::com.codename1.io.NetworkManager.getInstance();
    _r10_o = ((global::com.codename1.components.RSSReader_2EventHandler) _r15_o)._fthis_20;
    _r10_o = global::com.codename1.components.RSSReader.access_2400((global::com.codename1.components.RSSReader) _r10_o);
    ((global::com.codename1.io.NetworkManager) _r9_o).addToQueue((global::com.codename1.io.ConnectionRequest) _r10_o);
    goto label180;
    label297:;
    _r9_o = ((global::com.codename1.components.RSSReader_2EventHandler) _r15_o)._fthis_20;
    ((global::com.codename1.components.RSSReader) _r9_o).showRSSEntry((global::java.util.Hashtable) _r7_o);
    goto label180;
//XMLVM_END_WRAPPER[com.codename1.components.RSSReader$EventHandler: void actionPerformed(com.codename1.ui.events.ActionEvent)]
}
Пример #2
0
public virtual void sendRequest(){
//XMLVM_BEGIN_WRAPPER[com.codename1.components.RSSReader: void sendRequest()]
    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;
    _r4.i = 1;
    _r1_o = ((global::com.codename1.components.RSSReader) _r5_o)._fservice;
    if (_r1_o != null) goto label72;
    _r1_o = new global::com.codename1.io.services.RSSService();
    _r2_o = ((global::com.codename1.components.RSSReader) _r5_o)._furl;
    _r3.i = ((global::com.codename1.components.RSSReader) _r5_o)._flimit;
    ((global::com.codename1.io.services.RSSService) _r1_o).@this((global::java.lang.String) _r2_o, (int) _r3.i);
    ((global::com.codename1.components.RSSReader) _r5_o)._fservice = (global::com.codename1.io.services.RSSService) _r1_o;
    _r1_o = ((global::com.codename1.components.RSSReader) _r5_o)._ficonPlaceholder;
    if (_r1_o == null) goto label27;
    _r1_o = ((global::com.codename1.components.RSSReader) _r5_o)._fservice;
    _r2_o = ((global::com.codename1.components.RSSReader) _r5_o)._ficonPlaceholder;
    ((global::com.codename1.io.services.RSSService) _r1_o).setIconPlaceholder((global::com.codename1.ui.Image) _r2_o);
    label27:;
    _r1_o = ((global::com.codename1.components.RSSReader) _r5_o)._fservice;
    _r2_o = new global::com.codename1.components.RSSReader_2EventHandler();
    ((global::com.codename1.components.RSSReader_2EventHandler) _r2_o).@this((global::com.codename1.components.RSSReader) _r5_o);
    ((global::com.codename1.io.services.RSSService) _r1_o).addResponseListener((global::com.codename1.ui.events.ActionListener) _r2_o);
    _r1.i = ((global::com.codename1.components.RSSReader) _r5_o)._fblockList ? 1 : 0;
    if (_r1.i == 0) goto label58;
    _r0_o = new global::com.codename1.components.Progress();
    _r1_o = ((global::com.codename1.components.RSSReader) _r5_o)._fprogressTitle;
    _r2_o = ((global::com.codename1.components.RSSReader) _r5_o)._fservice;
    _r3.i = ((global::com.codename1.components.RSSReader) _r5_o)._fdisplayProgressPercentage ? 1 : 0;
    ((global::com.codename1.components.Progress) _r0_o).@this((global::java.lang.String) _r1_o, (global::com.codename1.io.ConnectionRequest) _r2_o, 0!=_r3.i);
    ((global::com.codename1.components.Progress) _r0_o).setAutoShow(0!=_r4.i);
    ((global::com.codename1.components.Progress) _r0_o).setDisposeOnCompletion(0!=_r4.i);
    label58:;
    _r1_o = ((global::com.codename1.components.RSSReader) _r5_o)._fprogressTitle;
    ((global::com.codename1.components.RSSReader) _r5_o).setHint((global::java.lang.String) _r1_o);
    _r1_o = global::com.codename1.io.NetworkManager.getInstance();
    _r2_o = ((global::com.codename1.components.RSSReader) _r5_o)._fservice;
    ((global::com.codename1.io.NetworkManager) _r1_o).addToQueue((global::com.codename1.io.ConnectionRequest) _r2_o);
    label72:;
    return;
//XMLVM_END_WRAPPER[com.codename1.components.RSSReader: void sendRequest()]
}