343 /** Sets the synchronous status of focus requests on lightweight 344 * components in the specified window to the specified value. 345 */ 346 void setLWRequestStatus(Window changed, boolean status); 347 348 /** 349 * Indicates whether this window should receive focus on subsequently 350 * being shown, or being moved to the front. 351 */ 352 boolean isAutoRequestFocus(Window w); 353 354 /** 355 * Indicates whether the specified window is an utility window for TrayIcon. 356 */ 357 boolean isTrayIconWindow(Window w); 358 359 /** 360 * Marks the specified window as an utility window for TrayIcon. 361 */ 362 void setTrayIconWindow(Window w, boolean isTrayIconWindow); 363 } 364 365 /** 366 * An accessor for the AWTEvent class. 367 */ 368 public interface AWTEventAccessor { 369 /** 370 * Marks the event as posted. 371 */ 372 void setPosted(AWTEvent ev); 373 374 /** 375 * Sets the flag on this AWTEvent indicating that it was 376 * generated by the system. 377 */ 378 void setSystemGenerated(AWTEvent ev); 379 380 /** 381 * Indicates whether this AWTEvent was generated by the system. 382 */ | 343 /** Sets the synchronous status of focus requests on lightweight 344 * components in the specified window to the specified value. 345 */ 346 void setLWRequestStatus(Window changed, boolean status); 347 348 /** 349 * Indicates whether this window should receive focus on subsequently 350 * being shown, or being moved to the front. 351 */ 352 boolean isAutoRequestFocus(Window w); 353 354 /** 355 * Indicates whether the specified window is an utility window for TrayIcon. 356 */ 357 boolean isTrayIconWindow(Window w); 358 359 /** 360 * Marks the specified window as an utility window for TrayIcon. 361 */ 362 void setTrayIconWindow(Window w, boolean isTrayIconWindow); 363 364 /** 365 * Return an array containing all the windows this 366 * window currently owns. 367 */ 368 Window[] getOwnedWindows(Window w); 369 } 370 371 /** 372 * An accessor for the AWTEvent class. 373 */ 374 public interface AWTEventAccessor { 375 /** 376 * Marks the event as posted. 377 */ 378 void setPosted(AWTEvent ev); 379 380 /** 381 * Sets the flag on this AWTEvent indicating that it was 382 * generated by the system. 383 */ 384 void setSystemGenerated(AWTEvent ev); 385 386 /** 387 * Indicates whether this AWTEvent was generated by the system. 388 */ |