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

Print this page




 464          * Return the current focus cycle root
 465          */
 466         Container getCurrentFocusCycleRoot();
 467     }
 468 
 469     /**
 470      * An accessor for the MenuComponent class.
 471      */
 472     public interface MenuComponentAccessor {
 473         /**
 474          * Returns the appContext of the menu component.
 475          */
 476         AppContext getAppContext(MenuComponent menuComp);
 477 
 478         /**
 479          * Sets the appContext of the menu component.
 480          */
 481         void setAppContext(MenuComponent menuComp, AppContext appContext);
 482 
 483         /**
 484          * Returns the menu container of the menu component
 485          */
 486         MenuContainer getParent(MenuComponent menuComp);
 487 
 488         /**





 489          * Gets the font used for this menu component.
 490          */
 491         Font getFont_NoClientCode(MenuComponent menuComp);
 492     }
 493 
 494     /**
 495      * An accessor for the EventQueue class
 496      */
 497     public interface EventQueueAccessor {
 498         /**
 499          * Gets the event dispatch thread.
 500          */
 501         Thread getDispatchThread(EventQueue eventQueue);
 502 
 503         /**
 504          * Checks if the current thread is EDT for the given EQ.
 505          */
 506         public boolean isDispatchThreadImpl(EventQueue eventQueue);
 507 
 508         /**




 464          * Return the current focus cycle root
 465          */
 466         Container getCurrentFocusCycleRoot();
 467     }
 468 
 469     /**
 470      * An accessor for the MenuComponent class.
 471      */
 472     public interface MenuComponentAccessor {
 473         /**
 474          * Returns the appContext of the menu component.
 475          */
 476         AppContext getAppContext(MenuComponent menuComp);
 477 
 478         /**
 479          * Sets the appContext of the menu component.
 480          */
 481         void setAppContext(MenuComponent menuComp, AppContext appContext);
 482 
 483         /**
 484          * Returns the menu container of the menu component.
 485          */
 486         MenuContainer getParent(MenuComponent menuComp);
 487 
 488         /**
 489          * Sets the menu container of the menu component.
 490          */
 491         void  setParent(MenuComponent menuComp, MenuContainer menuContainer);
 492 
 493         /**
 494          * Gets the font used for this menu component.
 495          */
 496         Font getFont_NoClientCode(MenuComponent menuComp);
 497     }
 498 
 499     /**
 500      * An accessor for the EventQueue class
 501      */
 502     public interface EventQueueAccessor {
 503         /**
 504          * Gets the event dispatch thread.
 505          */
 506         Thread getDispatchThread(EventQueue eventQueue);
 507 
 508         /**
 509          * Checks if the current thread is EDT for the given EQ.
 510          */
 511         public boolean isDispatchThreadImpl(EventQueue eventQueue);
 512 
 513         /**