APIdia Launch Partner
Top Description Fields Methods
java.awt.peer

public Interface ContainerPeer

extends ComponentPeer
Known Direct Subinterfaces
java.awt.peer.PanelPeer, java.awt.peer.ScrollPanePeer, java.awt.peer.WindowPeer
Imports
java.awt.*

The peer interface for Container. This is the parent interface for all container like widgets. The peer interfaces are intended only for use in porting the AWT. They are not intended for use by application developers, and developers should not implement peers nor invoke any of the peer methods directly on the peer instances.

Field Summary

Inherited from java.awt.peer.ComponentPeer:
DEFAULT_OPERATIONNO_EMBEDDED_CHECKRESET_OPERATIONSET_BOUNDSSET_CLIENT_SIZESET_LOCATIONSET_SIZE

Method Summary

Modifier and TypeMethod and Description
public void
beginLayout()

Notifies the peer that layout is about to begin.

public void
beginValidate()

Notifies the peer that validation of the component tree is about to begin.

public void
endLayout()

Notifies the peer that layout is finished.

public void
endValidate()

Notifies the peer that validation of the component tree is finished.

public Insets

Returns:

the insets of this container
getInsets
()

Returns the insets of this container.

Inherited from java.awt.peer.ComponentPeer:
applyShapecanDetermineObscuritycoalescePaintEventcreateBufferscreateImagecreateVolatileImagedestroyBuffersdisposeflipgetBackBuffergetColorModelgetFontMetricsgetGraphicsgetGraphicsConfigurationgetLocationOnScreengetMinimumSizegetPreferredSizehandleEventhandlesWheelScrollingisFocusableisObscuredisReparentSupportedlayoutpaintprintreparentrequestFocussetBackgroundsetBoundssetEnabledsetFontsetForegroundsetVisiblesetZOrderupdateCursorImmediatelyupdateGraphicsData

Method Detail

beginLayoutback to summary
public void beginLayout()

Notifies the peer that layout is about to begin. This is called before the container itself and its children are laid out.

See Also
Container#validateTree()
beginValidateback to summary
public void beginValidate()

Notifies the peer that validation of the component tree is about to begin.

See Also
Container#validate()
endLayoutback to summary
public void endLayout()

Notifies the peer that layout is finished. This is called after the container and its children have been laid out.

See Also
Container#validateTree()
endValidateback to summary
public void endValidate()

Notifies the peer that validation of the component tree is finished.

See Also
Container#validate()
getInsetsback to summary
public Insets getInsets()

Returns the insets of this container. Insets usually is the space that is occupied by things like borders.

Returns:Insets

the insets of this container