Exemple #1
0
public void @this(){
//XMLVM_BEGIN_WRAPPER[com.codename1.ui.table.Table: void <init>()]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    global::System.Object _r3_o = null;
    global::org.xmlvm._nElement _r4;
    global::System.Object _r4_o = null;
    global::org.xmlvm._nElement _r5;
    global::System.Object _r5_o = null;
    global::org.xmlvm._nElement _r6;
    global::System.Object _r6_o = null;
    global::org.xmlvm._nElement _r7;
    global::System.Object _r7_o = null;
    global::org.xmlvm._nElement _r8;
    global::System.Object _r8_o = null;
    global::org.xmlvm._nExceptionAdapter _ex = null;
    _r8_o = this;
    _r7.i = 2;
    _r6.i = 1;
    _r5.i = 0;
    _r0_o = new global::com.codename1.ui.table.DefaultTableModel();
    _r1_o = new global::org.xmlvm._nArrayAdapter<global::System.Object>(new global::System.Object[_r7.i]);
    // Value=Col1
    _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) 108)), unchecked((char) unchecked((uint) 49))}));
    ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r1_o)[_r5.i] = _r2_o;
    // Value=Col2
    _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) 108)), unchecked((char) unchecked((uint) 50))}));
    ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r1_o)[_r6.i] = _r2_o;
    _r2_o = new global::org.xmlvm._nArrayAdapter<global::System.Object>(new global::System.Object[_r7.i]);
    _r3_o = new global::org.xmlvm._nArrayAdapter<global::System.Object>(new global::System.Object[_r7.i]);
    // Value=1
    _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)49))}));
    ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r3_o)[_r5.i] = _r4_o;
    // Value=2
    _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)50))}));
    ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r3_o)[_r6.i] = _r4_o;
    ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r2_o)[_r5.i] = _r3_o;
    _r3_o = new global::org.xmlvm._nArrayAdapter<global::System.Object>(new global::System.Object[_r7.i]);
    // Value=3
    _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)51))}));
    ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r3_o)[_r5.i] = _r4_o;
    // Value=4
    _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)52))}));
    ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r3_o)[_r6.i] = _r4_o;
    ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r2_o)[_r6.i] = _r3_o;
    ((global::com.codename1.ui.table.DefaultTableModel) _r0_o).@this((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r1_o, (global::org.xmlvm._nArrayAdapter<global::System.Object>) _r2_o);
    ((global::com.codename1.ui.table.Table) _r8_o).@this((global::com.codename1.ui.table.TableModel) _r0_o);
    return;
//XMLVM_END_WRAPPER[com.codename1.ui.table.Table: void <init>()]
}
Exemple #2
0
public override global::System.Object setPropertyValue(global::java.lang.String n1, global::java.lang.Object n2){
//XMLVM_BEGIN_WRAPPER[com.codename1.ui.table.Table: java.lang.String setPropertyValue(java.lang.String, java.lang.Object)]
    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;
    _r3_o = this;
    _r4_o = n1;
    _r5_o = n2;
    _r2_o = null;
    // Value=data
    _r0_o = new global::java.lang.String();
    ((global::java.lang.String)_r0_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)100)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 97))}));
    _r0.i = ((global::java.lang.String) _r4_o).equals((global::java.lang.Object) _r0_o) ? 1 : 0;
    if (_r0.i == 0) goto label29;
    _r1_o = new global::com.codename1.ui.table.DefaultTableModel();
    _r0_o = ((global::com.codename1.ui.table.Table) _r3_o)._fmodel;
    _r0_o = _r0_o;
    _r0_o = ((global::com.codename1.ui.table.DefaultTableModel) _r0_o)._fcolumnNames;
    _r5_o = _r5_o;
    _r5_o = _r5_o;
    ((global::com.codename1.ui.table.DefaultTableModel) _r1_o).@this((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r0_o, (global::org.xmlvm._nArrayAdapter<global::System.Object>) _r5_o);
    ((global::com.codename1.ui.table.Table) _r3_o).setModel((global::com.codename1.ui.table.TableModel) _r1_o);
    _r0_o = _r2_o;
    label28:;
    return (global::java.lang.String) _r0_o;
    label29:;
    // Value=header
    _r0_o = new global::java.lang.String();
    ((global::java.lang.String)_r0_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)104)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114))}));
    _r0.i = ((global::java.lang.String) _r4_o).equals((global::java.lang.Object) _r0_o) ? 1 : 0;
    if (_r0.i == 0) goto label57;
    _r1_o = new global::com.codename1.ui.table.DefaultTableModel();
    _r5_o = _r5_o;
    _r5_o = _r5_o;
    _r0_o = ((global::com.codename1.ui.table.Table) _r3_o)._fmodel;
    _r0_o = _r0_o;
    _r0_o = ((global::com.codename1.ui.table.DefaultTableModel) _r0_o)._fdata;
    ((global::com.codename1.ui.table.DefaultTableModel) _r1_o).@this((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r5_o, (global::org.xmlvm._nArrayAdapter<global::System.Object>) _r0_o);
    ((global::com.codename1.ui.table.Table) _r3_o).setModel((global::com.codename1.ui.table.TableModel) _r1_o);
    _r0_o = _r2_o;
    goto label28;
    label57:;
    _r0_o = base.setPropertyValue((global::java.lang.String) _r4_o, (global::java.lang.Object) _r5_o);
    goto label28;
//XMLVM_END_WRAPPER[com.codename1.ui.table.Table: java.lang.String setPropertyValue(java.lang.String, java.lang.Object)]
}