Package java.awt.peer |
![]() Previous |
![]() Java API |
![]() Index |
![]() Next |
The container peer interface specifies the methods that all implementations of Abstract Window Toolkit containers must define.
public interface java.awt.peer.ContainerPeer extends java.awt.peer.ComponentPeer { // Methods public abstract Insets insets(); }
public abstract Insets insets()Determines the insets of the container, which indicate the size of the border of the container.
A Frame, for example, has a top inset that corresponds to the height of the frame's title bar.
© 1996 Sun Microsystems, Inc. All rights reserved.