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 the EventQueue
 537          * Gets most recent event time in the EventQueue
 538          */
 539         long getMostRecentEventTime(EventQueue eventQueue);
 540     }
 541 
 542     /*
 543      * An accessor for the PopupMenu class
 544      */
 545     public interface PopupMenuAccessor {
 546         /*
 547          * Returns whether the popup menu is attached to a tray
 548          */
 549         boolean isTrayIconPopup(PopupMenu popupMenu);
 550     }
 551 
 552     /*
 553      * An accessor for the FileDialog class
 554      */
 555     public interface FileDialogAccessor {
 556         /*
 557          * Sets the files the user selects
 558          */
 559         void setFiles(FileDialog fileDialog, File files[]);