Package ptolemy.actor.gui
Class AWTContainer
- java.lang.Object
-
- ptolemy.actor.gui.AWTContainer
-
- All Implemented Interfaces:
PortableContainer
public class AWTContainer extends java.lang.Object implements PortableContainer
The portable container that wraps java.awt.Container.- Since:
- Ptolemy II 10.0
- Version:
- $Id$
- Author:
- Anar Huseynov
- Pt.AcceptedRating:
- Red (ahuseyno)
- Pt.ProposedRating:
- Red (ahuseyno)
-
-
Constructor Summary
Constructors Constructor Description AWTContainer(java.awt.Container container)Create a new instance of the object by wrapping the provided container.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(java.lang.Object component)Add the component to the container.java.awt.ContainergetPlatformContainer()Return the AWT container that this instance wraps.
-
-
-
Method Detail
-
add
public void add(java.lang.Object component)
Add the component to the container.- Specified by:
addin interfacePortableContainer- Parameters:
component- the component to be added to the container.- See Also:
PortableContainer.add(java.lang.Object)
-
getPlatformContainer
public java.awt.Container getPlatformContainer()
Return the AWT container that this instance wraps.- Specified by:
getPlatformContainerin interfacePortableContainer- Returns:
- the AWT container that this instance wraps.
- See Also:
PortableContainer.getPlatformContainer()
-
-