< prev index next >

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

Print this page




 548         long getMostRecentEventTime(EventQueue eventQueue);
 549     }
 550 
 551     /*
 552      * An accessor for the PopupMenu class
 553      */
 554     public interface PopupMenuAccessor {
 555         /*
 556          * Returns whether the popup menu is attached to a tray
 557          */
 558         boolean isTrayIconPopup(PopupMenu popupMenu);
 559     }
 560 
 561     /*
 562      * An accessor for the FileDialog class
 563      */
 564     public interface FileDialogAccessor {
 565         /*
 566          * Sets the files the user selects
 567          */
 568         void setFiles(FileDialog fileDialog, File files[]);
 569 
 570         /*
 571          * Sets the file the user selects
 572          */
 573         void setFile(FileDialog fileDialog, String file);
 574 
 575         /*
 576          * Sets the directory the user selects
 577          */
 578         void setDirectory(FileDialog fileDialog, String directory);
 579 
 580         /*
 581          * Returns whether the file dialog allows the multiple file selection.
 582          */
 583         boolean isMultipleMode(FileDialog fileDialog);
 584     }
 585 
 586     /*
 587      * An accessor for the ScrollPaneAdjustable class.
 588      */




 548         long getMostRecentEventTime(EventQueue eventQueue);
 549     }
 550 
 551     /*
 552      * An accessor for the PopupMenu class
 553      */
 554     public interface PopupMenuAccessor {
 555         /*
 556          * Returns whether the popup menu is attached to a tray
 557          */
 558         boolean isTrayIconPopup(PopupMenu popupMenu);
 559     }
 560 
 561     /*
 562      * An accessor for the FileDialog class
 563      */
 564     public interface FileDialogAccessor {
 565         /*
 566          * Sets the files the user selects
 567          */
 568         void setFiles(FileDialog fileDialog, File[] files);
 569 
 570         /*
 571          * Sets the file the user selects
 572          */
 573         void setFile(FileDialog fileDialog, String file);
 574 
 575         /*
 576          * Sets the directory the user selects
 577          */
 578         void setDirectory(FileDialog fileDialog, String directory);
 579 
 580         /*
 581          * Returns whether the file dialog allows the multiple file selection.
 582          */
 583         boolean isMultipleMode(FileDialog fileDialog);
 584     }
 585 
 586     /*
 587      * An accessor for the ScrollPaneAdjustable class.
 588      */


< prev index next >