Java AWT

Previous Chapter 23
java.awt.peer Reference
Next
 

ContainerPeer

Name

ContainerPeer

[Graphic: Figure from the text]

Description

ContainerPeer is an interface that defines the basis for containers.

Interface Definition

public abstract interface java.awt.peer.ContainerPeer
   extends java.awt.peer.ComponentPeer {
  // Interface Methods
  public abstract void beginValidate(); (New)
  public abstract void endValidate(); (New)
  public abstract Insets getInsets(); (New)
  public abstract Insets insets(); (Deprecated)
}

Interface Methods

beginValidate

public abstract void beginValidate() (New)

Description

Notifies the peer that the Container is going to validate its contents.

endValidate

public abstract void endValidate() (New)

Description

Notifies the peer that the Container is finished validating its contents.

getInsets

public Insets getInsets() (New)

Returns

Current Insets of container's peer.

insets

public Insets insets() (Deprecated)

Returns

Current Insets of container's peer. Replaced by getInsets().

See Also

ComponentPeer, Insets, PanelPeer, ScrollPanePeer, WindowPeer


Previous Home Next
ComponentPeer Book Index DialogPeer

Java in a Nutshell Java Language Reference Java AWT Java Fundamental Classes Exploring Java