/[classpath]/classpath/java/awt/peer/ComponentPeer.java
ViewVC logotype

Diff of /classpath/java/awt/peer/ComponentPeer.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.12.2.2 by gnu_andrew, Tue Aug 2 20:12:16 2005 UTC revision 1.12.2.3 by gnu_andrew, Sat Sep 10 15:31:45 2005 UTC
# Line 51  import java.awt.Graphics; Line 51  import java.awt.Graphics;
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;
# Line 184  public interface ComponentPeer Line 185  public interface ComponentPeer
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  }  }

Legend:
Removed from v.1.12.2.2  
changed lines
  Added in v.1.12.2.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26