jdk/src/share/classes/sun/awt/AWTAccessor.java
changeset 23297 2946ef51ee24
parent 23268 2cdb715ff32d
child 24147 204ae465851d
equal deleted inserted replaced
23296:0acf698eee6a 23297:2946ef51ee24
    32 import java.awt.DefaultKeyboardFocusManager;
    32 import java.awt.DefaultKeyboardFocusManager;
    33 import java.awt.event.InputEvent;
    33 import java.awt.event.InputEvent;
    34 import java.awt.event.InvocationEvent;
    34 import java.awt.event.InvocationEvent;
    35 import java.awt.event.KeyEvent;
    35 import java.awt.event.KeyEvent;
    36 import java.awt.geom.Point2D;
    36 import java.awt.geom.Point2D;
       
    37 import java.awt.image.BufferStrategy;
    37 import java.awt.peer.ComponentPeer;
    38 import java.awt.peer.ComponentPeer;
    38 
    39 
    39 import java.lang.reflect.InvocationTargetException;
    40 import java.lang.reflect.InvocationTargetException;
    40 import java.security.AccessControlContext;
    41 import java.security.AccessControlContext;
    41 
    42 
   241         /**
   242         /**
   242          * Revalidates the component synchronously.
   243          * Revalidates the component synchronously.
   243          */
   244          */
   244         void revalidateSynchronously(Component comp);
   245         void revalidateSynchronously(Component comp);
   245 
   246 
       
   247         /**
       
   248          * Creates a new strategy for multi-buffering on this component.
       
   249          */
       
   250         void createBufferStrategy(Component comp, int numBuffers,
       
   251                 BufferCapabilities caps) throws AWTException;
       
   252 
       
   253         /**
       
   254          * returns the buffer strategy used by this component.
       
   255          */
       
   256         BufferStrategy getBufferStrategy(Component comp);
   246     }
   257     }
   247 
   258 
   248     /*
   259     /*
   249      * An interface of accessor for the java.awt.Container class.
   260      * An interface of accessor for the java.awt.Container class.
   250      */
   261      */
   373     public interface InputEventAccessor {
   384     public interface InputEventAccessor {
   374         /*
   385         /*
   375          * Accessor for InputEvent.getButtonDownMasks()
   386          * Accessor for InputEvent.getButtonDownMasks()
   376          */
   387          */
   377         int[] getButtonDownMasks();
   388         int[] getButtonDownMasks();
       
   389 
       
   390         /*
       
   391          * Accessor for InputEvent.canAccessSystemClipboard field
       
   392          */
       
   393         boolean canAccessSystemClipboard(InputEvent event);
   378     }
   394     }
   379 
   395 
   380     /*
   396     /*
   381      * An accessor for the java.awt.Frame class.
   397      * An accessor for the java.awt.Frame class.
   382      */
   398      */