- Derived from
- Extended by
Base class for containers that can have child components.
The style class for Container.
Creates a new instance of Container.
Adds a child component to this container, using its current layout settings.
Use this method if you have configured the layout settings of component in earlier (see Component.LayoutInfo) and want those to be used when adding component in as a child of this container.
Adds a child component to this container, using the given layout settings.
This is the usual way of constructing a hierarchy of components: create new components, adjust their default layout settings and put into the layout grid of the parent container.
Use this method if the current layout settings of component in shall be discarded (e.g. it is a newly created Component object with zero layout settings).
Returns the bounds of the given child (or descendant) in this container.
Translate the given child (or descendant) bounds so that they are relative to this container.
The actual layout insets, as computed by ComputeLayoutInsets.
Containers with a round client rectangle can override this property in order to return proper information.
The insets of this container.
- See also
Computes the actual insets of this component.
The default implementation returns LayoutInsets. Subclasses can perform additional computations here.