src/share/classes/sun/awt/AWTAccessor.java

Print this page




 513         /**
 514          * Returns whether an event is pending on any of the separate Queues.
 515          */
 516         boolean noEvents(EventQueue eventQueue);
 517 
 518         /**
 519          * Called from PostEventQueue.postEvent to notify that a new event
 520          * appeared.
 521          */
 522         void wakeup(EventQueue eventQueue, boolean isShutdown);
 523 
 524         /**
 525          * Static in EventQueue
 526          */
 527         void invokeAndWait(Object source, Runnable r)
 528             throws InterruptedException, InvocationTargetException;
 529 
 530         /**
 531          * Sets the delegate for the EventQueue used by FX/AWT single threaded mode
 532          */
 533         public void setFwDispatcher(EventQueue eventQueue, FwDispatcher dispatcher);





 534     }
 535 
 536     /*
 537      * An accessor for the PopupMenu class
 538      */
 539     public interface PopupMenuAccessor {
 540         /*
 541          * Returns whether the popup menu is attached to a tray
 542          */
 543         boolean isTrayIconPopup(PopupMenu popupMenu);
 544     }
 545 
 546     /*
 547      * An accessor for the FileDialog class
 548      */
 549     public interface FileDialogAccessor {
 550         /*
 551          * Sets the files the user selects
 552          */
 553         void setFiles(FileDialog fileDialog, File files[]);




 513         /**
 514          * Returns whether an event is pending on any of the separate Queues.
 515          */
 516         boolean noEvents(EventQueue eventQueue);
 517 
 518         /**
 519          * Called from PostEventQueue.postEvent to notify that a new event
 520          * appeared.
 521          */
 522         void wakeup(EventQueue eventQueue, boolean isShutdown);
 523 
 524         /**
 525          * Static in EventQueue
 526          */
 527         void invokeAndWait(Object source, Runnable r)
 528             throws InterruptedException, InvocationTargetException;
 529 
 530         /**
 531          * Sets the delegate for the EventQueue used by FX/AWT single threaded mode
 532          */
 533         void setFwDispatcher(EventQueue eventQueue, FwDispatcher dispatcher);
 534 
 535         /**
 536          * Gets most recent event time in EventQueue which the {@code target} belongs to.
 537          */
 538         long getMostRecentEventTimeForTarget(Object target);
 539     }
 540 
 541     /*
 542      * An accessor for the PopupMenu class
 543      */
 544     public interface PopupMenuAccessor {
 545         /*
 546          * Returns whether the popup menu is attached to a tray
 547          */
 548         boolean isTrayIconPopup(PopupMenu popupMenu);
 549     }
 550 
 551     /*
 552      * An accessor for the FileDialog class
 553      */
 554     public interface FileDialogAccessor {
 555         /*
 556          * Sets the files the user selects
 557          */
 558         void setFiles(FileDialog fileDialog, File files[]);