< prev index next >

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

Print this page




  68     }
  69 
  70     /*
  71      * An interface of accessor for the java.awt.Component class.
  72      */
  73     public interface ComponentAccessor {
  74         /*
  75          * Sets whether the native background erase for a component
  76          * has been disabled via SunToolkit.disableBackgroundErase().
  77          */
  78         void setBackgroundEraseDisabled(Component comp, boolean disabled);
  79         /*
  80          * Indicates whether the native background erase for a
  81          * component has been disabled via
  82          * SunToolkit.disableBackgroundErase().
  83          */
  84         boolean getBackgroundEraseDisabled(Component comp);
  85         /*
  86          *
  87          * Gets the bounds of this component in the form of a
  88          * <code>Rectangle</code> object. The bounds specify this
  89          * component's width, height, and location relative to
  90          * its parent.
  91          */
  92         Rectangle getBounds(Component comp);
  93         /*
  94          * Sets the shape of a lw component to cut out from hw components.
  95          *
  96          * See 6797587, 6776743, 6768307, and 6768332 for details
  97          */
  98         void setMixingCutoutShape(Component comp, Shape shape);
  99 
 100         /**
 101          * Sets GraphicsConfiguration value for the component.
 102          */
 103         void setGraphicsConfiguration(Component comp, GraphicsConfiguration gc);
 104         /*
 105          * Requests focus to the component.
 106          */
 107         boolean requestFocus(Component comp, CausedFocusEvent.Cause cause);
 108         /*




  68     }
  69 
  70     /*
  71      * An interface of accessor for the java.awt.Component class.
  72      */
  73     public interface ComponentAccessor {
  74         /*
  75          * Sets whether the native background erase for a component
  76          * has been disabled via SunToolkit.disableBackgroundErase().
  77          */
  78         void setBackgroundEraseDisabled(Component comp, boolean disabled);
  79         /*
  80          * Indicates whether the native background erase for a
  81          * component has been disabled via
  82          * SunToolkit.disableBackgroundErase().
  83          */
  84         boolean getBackgroundEraseDisabled(Component comp);
  85         /*
  86          *
  87          * Gets the bounds of this component in the form of a
  88          * {@code Rectangle} object. The bounds specify this
  89          * component's width, height, and location relative to
  90          * its parent.
  91          */
  92         Rectangle getBounds(Component comp);
  93         /*
  94          * Sets the shape of a lw component to cut out from hw components.
  95          *
  96          * See 6797587, 6776743, 6768307, and 6768332 for details
  97          */
  98         void setMixingCutoutShape(Component comp, Shape shape);
  99 
 100         /**
 101          * Sets GraphicsConfiguration value for the component.
 102          */
 103         void setGraphicsConfiguration(Component comp, GraphicsConfiguration gc);
 104         /*
 105          * Requests focus to the component.
 106          */
 107         boolean requestFocus(Component comp, CausedFocusEvent.Cause cause);
 108         /*


< prev index next >