51 |
import java.awt.GraphicsConfiguration; |
import java.awt.GraphicsConfiguration; |
52 |
import java.awt.Image; |
import java.awt.Image; |
53 |
import java.awt.Point; |
import java.awt.Point; |
54 |
|
import java.awt.Rectangle; |
55 |
import java.awt.Toolkit; |
import java.awt.Toolkit; |
56 |
import java.awt.event.PaintEvent; |
import java.awt.event.PaintEvent; |
57 |
import java.awt.image.ColorModel; |
import java.awt.image.ColorModel; |
185 |
* @since 1.2 |
* @since 1.2 |
186 |
*/ |
*/ |
187 |
void destroyBuffers(); |
void destroyBuffers(); |
188 |
|
|
189 |
|
/** |
190 |
|
* Get the bounds of this component peer. |
191 |
|
* |
192 |
|
* @return component peer bounds |
193 |
|
* @since 1.5 |
194 |
|
*/ |
195 |
|
Rectangle getBounds(); |
196 |
|
|
197 |
|
/** |
198 |
|
* Reparent this component under another container. |
199 |
|
* |
200 |
|
* @param parent |
201 |
|
* @since 1.5 |
202 |
|
*/ |
203 |
|
void reparent(ContainerPeer parent); |
204 |
|
|
205 |
|
/** |
206 |
|
* Set the bounds of this component peer. |
207 |
|
* |
208 |
|
* @param x the new x co-ordinate |
209 |
|
* @param y the new y co-ordinate |
210 |
|
* @param width the new width |
211 |
|
* @param height the new height |
212 |
|
* @param z the new stacking level |
213 |
|
* @since 1.5 |
214 |
|
*/ |
215 |
|
void setBounds (int x, int y, int width, int height, int z); |
216 |
|
|
217 |
|
/** |
218 |
|
* Check if this component supports being reparented. |
219 |
|
* |
220 |
|
* @return true if this component can be reparented, |
221 |
|
* false otherwise. |
222 |
|
* @since 1.5 |
223 |
|
*/ |
224 |
|
boolean isReparentSupported(); |
225 |
|
|
226 |
|
/** |
227 |
|
* Layout this component peer. |
228 |
|
* |
229 |
|
* @since 1.5 |
230 |
|
*/ |
231 |
|
void layout(); |
232 |
} |
} |