316 /** Sets the synchronous status of focus requests on lightweight 317 * components in the specified window to the specified value. 318 */ 319 void setLWRequestStatus(Window changed, boolean status); 320 321 /** 322 * Indicates whether this window should receive focus on subsequently 323 * being shown, or being moved to the front. 324 */ 325 boolean isAutoRequestFocus(Window w); 326 327 /** 328 * Indicates whether the specified window is an utility window for TrayIcon. 329 */ 330 boolean isTrayIconWindow(Window w); 331 332 /** 333 * Marks the specified window as an utility window for TrayIcon. 334 */ 335 void setTrayIconWindow(Window w, boolean isTrayIconWindow); 336 } 337 338 /** 339 * An accessor for the AWTEvent class. 340 */ 341 public interface AWTEventAccessor { 342 /** 343 * Marks the event as posted. 344 */ 345 void setPosted(AWTEvent ev); 346 347 /** 348 * Sets the flag on this AWTEvent indicating that it was 349 * generated by the system. 350 */ 351 void setSystemGenerated(AWTEvent ev); 352 353 /** 354 * Indicates whether this AWTEvent was generated by the system. 355 */ | 316 /** Sets the synchronous status of focus requests on lightweight 317 * components in the specified window to the specified value. 318 */ 319 void setLWRequestStatus(Window changed, boolean status); 320 321 /** 322 * Indicates whether this window should receive focus on subsequently 323 * being shown, or being moved to the front. 324 */ 325 boolean isAutoRequestFocus(Window w); 326 327 /** 328 * Indicates whether the specified window is an utility window for TrayIcon. 329 */ 330 boolean isTrayIconWindow(Window w); 331 332 /** 333 * Marks the specified window as an utility window for TrayIcon. 334 */ 335 void setTrayIconWindow(Window w, boolean isTrayIconWindow); 336 337 /** 338 * Return an array containing all the windows this 339 * window currently owns. 340 */ 341 Window[] getOwnedWindows(Window w); 342 } 343 344 /** 345 * An accessor for the AWTEvent class. 346 */ 347 public interface AWTEventAccessor { 348 /** 349 * Marks the event as posted. 350 */ 351 void setPosted(AWTEvent ev); 352 353 /** 354 * Sets the flag on this AWTEvent indicating that it was 355 * generated by the system. 356 */ 357 void setSystemGenerated(AWTEvent ev); 358 359 /** 360 * Indicates whether this AWTEvent was generated by the system. 361 */ |