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

Print this page




 234         /*
 235          * Returns the acc this component was constructed with.
 236          */
 237         AccessControlContext getAccessControlContext(Component comp);
 238 
 239         /**
 240          * Revalidates the component synchronously.
 241          */
 242         void revalidateSynchronously(Component comp);
 243 
 244     }
 245 
 246     /*
 247      * An interface of accessor for the java.awt.Container class.
 248      */
 249     public interface ContainerAccessor {
 250         /**
 251          * Validates the container unconditionally.
 252          */
 253         void validateUnconditionally(Container cont);








 254     }
 255 
 256     /*
 257      * An interface of accessor for java.awt.Window class.
 258      */
 259     public interface WindowAccessor {
 260         /*
 261          * Get opacity level of the given window.
 262          */
 263         float getOpacity(Window window);
 264         /*
 265          * Set opacity level to the given window.
 266          */
 267         void setOpacity(Window window, float opacity);
 268         /*
 269          * Get a shape assigned to the given window.
 270          */
 271         Shape getShape(Window window);
 272         /*
 273          * Set a shape to the given window.




 234         /*
 235          * Returns the acc this component was constructed with.
 236          */
 237         AccessControlContext getAccessControlContext(Component comp);
 238 
 239         /**
 240          * Revalidates the component synchronously.
 241          */
 242         void revalidateSynchronously(Component comp);
 243 
 244     }
 245 
 246     /*
 247      * An interface of accessor for the java.awt.Container class.
 248      */
 249     public interface ContainerAccessor {
 250         /**
 251          * Validates the container unconditionally.
 252          */
 253         void validateUnconditionally(Container cont);
 254 
 255         /**
 256          * 
 257          * Access to the private version of findComponentAt method which has
 258          * a controllable behavior. Setting 'ignoreEnabled' to 'false'
 259          * bypasses disabled Components during the search. 
 260          */
 261         Component findComponentAt(Container cont, int x, int y, boolean ignoreEnabled);
 262     }
 263 
 264     /*
 265      * An interface of accessor for java.awt.Window class.
 266      */
 267     public interface WindowAccessor {
 268         /*
 269          * Get opacity level of the given window.
 270          */
 271         float getOpacity(Window window);
 272         /*
 273          * Set opacity level to the given window.
 274          */
 275         void setOpacity(Window window, float opacity);
 276         /*
 277          * Get a shape assigned to the given window.
 278          */
 279         Shape getShape(Window window);
 280         /*
 281          * Set a shape to the given window.