76 public interface ComponentAccessor { 77 /* 78 * Sets whether the native background erase for a component 79 * has been disabled via SunToolkit.disableBackgroundErase(). 80 */ 81 void setBackgroundEraseDisabled(Component comp, boolean disabled); 82 /* 83 * Indicates whether the native background erase for a 84 * component has been disabled via 85 * SunToolkit.disableBackgroundErase(). 86 */ 87 boolean getBackgroundEraseDisabled(Component comp); 88 /* 89 * 90 * Gets the bounds of this component in the form of a 91 * {@code Rectangle} object. The bounds specify this 92 * component's width, height, and location relative to 93 * its parent. 94 */ 95 Rectangle getBounds(Component comp); 96 /* 97 * Sets the shape of a lw component to cut out from hw components. 98 * 99 * See 6797587, 6776743, 6768307, and 6768332 for details 100 */ 101 void setMixingCutoutShape(Component comp, Shape shape); 102 103 /** 104 * Sets GraphicsConfiguration value for the component. 105 */ 106 void setGraphicsConfiguration(Component comp, GraphicsConfiguration gc); 107 /* 108 * Requests focus to the component. 109 */ 110 void requestFocus(Component comp, Cause cause); 111 /* 112 * Determines if the component can gain focus. 113 */ 114 boolean canBeFocusOwner(Component comp); 115 116 /** 117 * Returns whether the component is visible without invoking 118 * any client code. 119 */ 120 boolean isVisible(Component comp); 121 | 76 public interface ComponentAccessor { 77 /* 78 * Sets whether the native background erase for a component 79 * has been disabled via SunToolkit.disableBackgroundErase(). 80 */ 81 void setBackgroundEraseDisabled(Component comp, boolean disabled); 82 /* 83 * Indicates whether the native background erase for a 84 * component has been disabled via 85 * SunToolkit.disableBackgroundErase(). 86 */ 87 boolean getBackgroundEraseDisabled(Component comp); 88 /* 89 * 90 * Gets the bounds of this component in the form of a 91 * {@code Rectangle} object. The bounds specify this 92 * component's width, height, and location relative to 93 * its parent. 94 */ 95 Rectangle getBounds(Component comp); 96 97 /** 98 * Sets GraphicsConfiguration value for the component. 99 */ 100 void setGraphicsConfiguration(Component comp, GraphicsConfiguration gc); 101 /* 102 * Requests focus to the component. 103 */ 104 void requestFocus(Component comp, Cause cause); 105 /* 106 * Determines if the component can gain focus. 107 */ 108 boolean canBeFocusOwner(Component comp); 109 110 /** 111 * Returns whether the component is visible without invoking 112 * any client code. 113 */ 114 boolean isVisible(Component comp); 115 |