public class AWTContainer extends java.lang.Object implements PortableContainer
Red (ahuseyno) |
Red (ahuseyno) |
Constructor and Description |
---|
AWTContainer(java.awt.Container container)
Create a new instance of the object by wrapping the provided container.
|
Modifier and Type | Method and Description |
---|---|
void |
add(java.lang.Object component)
Add the component to the container.
|
java.awt.Container |
getPlatformContainer()
Return the AWT container that this instance wraps.
|
public AWTContainer(java.awt.Container container)
container
- The container to wrap.public void add(java.lang.Object component)
add
in interface PortableContainer
component
- the component to be added to the container.PortableContainer.add(java.lang.Object)
public java.awt.Container getPlatformContainer()
getPlatformContainer
in interface PortableContainer
PortableContainer.getPlatformContainer()