Packages  This Package  Prev  Next  Index  

§3.7 Interface ContainerPeer

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  (II-§3.6)
{
        // Methods
    public abstract Insets insets();	§3.7.1
}

Methods

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.

Packages  This Package  Prev  Next  Index
Java API Document (HTML generated by dkramer on April 22, 1996)
Copyright © 1996 Sun Microsystems, Inc. All rights reserved
Please send any comments or corrections to doug.kramer@sun.com