예제 #1
0
 public void setLang(final String lang) {
   // METHOD-BODY-START - autogenerated code
   final Runnable r =
       new Runnable() {
         public void run() {
           getInstanceAsnsIDOMHTMLElement().setLang(lang);
         }
       };
   ThreadProxy.getSingleton().syncExec(r);
   // METHOD-BODY-END - autogenerated code
 }
예제 #2
0
 public String getLang() {
   // METHOD-BODY-START - autogenerated code
   Callable<String> c =
       new Callable<String>() {
         public String call() {
           String result = getInstanceAsnsIDOMHTMLElement().getLang();
           return result;
         }
       };
   return ThreadProxy.getSingleton().syncExec(c);
   // METHOD-BODY-END - autogenerated code
 }