Beispiel #1
0
public void @this(){
//XMLVM_BEGIN_WRAPPER[com.codename1.components.FileTree: 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._nExceptionAdapter _ex = null;
    _r2_o = this;
    _r0_o = new global::com.codename1.components.FileTreeModel();
    _r1.i = 1;
    ((global::com.codename1.components.FileTreeModel) _r0_o).@this(0!=_r1.i);
    ((global::com.codename1.ui.tree.Tree) _r2_o).@this((global::com.codename1.ui.tree.TreeModel) _r0_o);
    // Value=FileTree
    _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)70)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 84)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 101))}));
    ((global::com.codename1.components.FileTree) _r2_o).setUIID((global::java.lang.String) _r0_o);
    return;
//XMLVM_END_WRAPPER[com.codename1.components.FileTree: void <init>()]
}
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)]
}