예제 #1
0
 static Object windowKeyword(Window paramWindow, String paramString, Object paramObject) {
   if (paramString == "title") {
     if (paramObject == null) {}
     for (paramString = null; ; paramString = paramObject.toString()) {
       paramWindow.setTitle(paramString);
       return Values.empty;
     }
   }
   if (paramString == "content") {
     paramWindow.setContent(paramObject);
     return Values.empty;
   }
   if (paramString == "menubar") {
     paramWindow.setMenuBar(paramObject);
     return Values.empty;
   }
   return misc.error$V(
       Format.formatToString(0, new Object[] {"unknown window attribute ~s", paramString}),
       new Object[0]);
 }
예제 #2
0
 static void windowNonKeyword(Window paramWindow, Object paramObject) {
   paramWindow.setContent(paramObject);
 }
예제 #3
0
 public static void setContent(Window paramWindow, Object paramObject) {
   paramWindow.setContent(paramObject);
 }