public virtual global::System.Object componentDisplaySide(int n1, int n2){
//XMLVM_BEGIN_WRAPPER[com.codename1.ui.layouts.GridBagLayout$Grid$GridSide: com.codename1.ui.layouts.GridBagLayout$Segment componentDisplaySide(int, 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._nExceptionAdapter _ex = null;
    _r5_o = this;
    _r6.i = n1;
    _r7.i = n2;
    _r0.i = 0;
    _r1.i = _r6.i;
    label2:;
    _r2.i = _r6.i + _r7.i;
    if (_r1.i >= _r2.i) goto label14;
    _r2_o = ((global::com.codename1.ui.layouts.GridBagLayout_2Grid_2GridSide) _r5_o)._flengths;
    _r2.i = ((global::org.xmlvm._nArrayAdapter<int>) _r2_o)[_r1.i];
    _r0.i = _r0.i + _r2.i;
    _r1.i = _r1.i + 1;
    goto label2;
    label14:;
    _r2_o = new global::com.codename1.ui.layouts.GridBagLayout_2Segment();
    _r3_o = ((global::com.codename1.ui.layouts.GridBagLayout_2Grid_2GridSide) _r5_o)._fthis_21;
    _r3_o = ((global::com.codename1.ui.layouts.GridBagLayout_2Grid) _r3_o)._fthis_20;
    _r4_o = ((global::com.codename1.ui.layouts.GridBagLayout_2Grid_2GridSide) _r5_o)._fcoordinates;
    _r4.i = ((global::org.xmlvm._nArrayAdapter<int>) _r4_o)[_r6.i];
    ((global::com.codename1.ui.layouts.GridBagLayout_2Segment) _r2_o).@this((global::com.codename1.ui.layouts.GridBagLayout) _r3_o, (int) _r4.i, (int) _r0.i);
    return (global::com.codename1.ui.layouts.GridBagLayout_2Segment) _r2_o;
//XMLVM_END_WRAPPER[com.codename1.ui.layouts.GridBagLayout$Grid$GridSide: com.codename1.ui.layouts.GridBagLayout$Segment componentDisplaySide(int, int)]
}
예제 #2
0
public virtual void fit2Client(global::com.codename1.ui.geom.Rectangle n1){
//XMLVM_BEGIN_WRAPPER[com.codename1.ui.layouts.GridBagLayout$Grid: void fit2Client(com.codename1.ui.geom.Rectangle)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    global::System.Object _r3_o = null;
    global::org.xmlvm._nElement _r4;
    global::System.Object _r4_o = null;
    global::org.xmlvm._nElement _r5;
    global::System.Object _r5_o = null;
    global::org.xmlvm._nElement _r6;
    global::System.Object _r6_o = null;
    global::org.xmlvm._nExceptionAdapter _ex = null;
    _r5_o = this;
    _r6_o = n1;
    _r0_o = new global::com.codename1.ui.layouts.GridBagLayout_2Segment();
    _r2_o = ((global::com.codename1.ui.layouts.GridBagLayout_2Grid) _r5_o)._fthis_20;
    _r3.i = ((global::com.codename1.ui.geom.Rectangle) _r6_o).getX();
    _r4.i = ((global::com.codename1.ui.geom.Rectangle) _r6_o).getWidth();
    ((global::com.codename1.ui.layouts.GridBagLayout_2Segment) _r0_o).@this((global::com.codename1.ui.layouts.GridBagLayout) _r2_o, (int) _r3.i, (int) _r4.i);
    _r2_o = ((global::com.codename1.ui.layouts.GridBagLayout_2Grid) _r5_o)._fcols;
    ((global::com.codename1.ui.layouts.GridBagLayout_2Grid_2GridSide) _r2_o).fit2Client((global::com.codename1.ui.layouts.GridBagLayout_2Segment) _r0_o);
    _r2.i = ((global::com.codename1.ui.layouts.GridBagLayout_2Segment) _r0_o)._fstart;
    ((global::com.codename1.ui.geom.Rectangle) _r6_o).setX((int) _r2.i);
    _r2.i = ((global::com.codename1.ui.layouts.GridBagLayout_2Segment) _r0_o)._flength;
    ((global::com.codename1.ui.geom.Rectangle) _r6_o).setWidth((int) _r2.i);
    _r1_o = new global::com.codename1.ui.layouts.GridBagLayout_2Segment();
    _r2_o = ((global::com.codename1.ui.layouts.GridBagLayout_2Grid) _r5_o)._fthis_20;
    _r3.i = ((global::com.codename1.ui.geom.Rectangle) _r6_o).getY();
    _r4.i = ((global::com.codename1.ui.geom.Rectangle) _r6_o).getHeight();
    ((global::com.codename1.ui.layouts.GridBagLayout_2Segment) _r1_o).@this((global::com.codename1.ui.layouts.GridBagLayout) _r2_o, (int) _r3.i, (int) _r4.i);
    _r2_o = ((global::com.codename1.ui.layouts.GridBagLayout_2Grid) _r5_o)._frows;
    ((global::com.codename1.ui.layouts.GridBagLayout_2Grid_2GridSide) _r2_o).fit2Client((global::com.codename1.ui.layouts.GridBagLayout_2Segment) _r1_o);
    _r2.i = ((global::com.codename1.ui.layouts.GridBagLayout_2Segment) _r1_o)._fstart;
    ((global::com.codename1.ui.geom.Rectangle) _r6_o).setY((int) _r2.i);
    _r2.i = ((global::com.codename1.ui.layouts.GridBagLayout_2Segment) _r1_o)._flength;
    ((global::com.codename1.ui.geom.Rectangle) _r6_o).setHeight((int) _r2.i);
    return;
//XMLVM_END_WRAPPER[com.codename1.ui.layouts.GridBagLayout$Grid: void fit2Client(com.codename1.ui.geom.Rectangle)]
}