Class AWTComponentView
All Packages Class Hierarchy This Package Previous Next Index
Class AWTComponentView
public class netscape.application.AWTComponentView
extends netscape.application.View
{
/* Constructors
*/
public AWTComponentView();
public AWTComponentView(Rect);
public AWTComponentView(int, int, int, int);
/* Methods
*/
protected void ancestorWasAddedToViewHierarchy(View);
protected void ancestorWillRemoveFromViewHierarchy(View);
public java.awt.Component awtComponent();
public void setAWTComponent(Component);
}
View subclass that supports the embedding of an AWT Component in an IFC
application. The component will not be clipped by other IFC Views,
including the AWTComponentView itself, or any of its ancestors.
Constructors
AWTComponentView
public AWTComponentView()
- Constructs an AWTComponentView with origin (0, 0) and zero width and
height.
AWTComponentView
public AWTComponentView(Rect rect)
- Constructs an AWTComponentView with bounds rect.
AWTComponentView
public AWTComponentView(int x,
int y,
int width,
int height)
- Constructs an AWTComponentView with
bounds (x, y, width, height).
Methods
setAWTComponent
public void setAWTComponent(java.awt.Component aComponent)
- Sets the AWT component that will be embedded in the AWTComponentView.
awtComponent
public java.awt.Component awtComponent()
- Returns the AWT component.
- See Also:
- setComponent
ancestorWillRemoveFromViewHierarchy
protected void ancestorWillRemoveFromViewHierarchy(View removedView)
- Overridden to take special action when the AWTComponentView or an
ancestor leaves the Application's View hierarchy.
- Overrides:
- ancestorWillRemoveFromViewHierarchy in class View
- See Also:
- ancestorWillRemoveFromViewHierarchy
ancestorWasAddedToViewHierarchy
protected void ancestorWasAddedToViewHierarchy(View addedView)
- Overridden to take special action when the AWTComponentView or an
ancestor becomes part of the Application's View hierarchy.
- Overrides:
- ancestorWasAddedToViewHierarchy in class View
- See Also:
- ancestorWasAddedToViewHierarchy
All Packages Class Hierarchy This Package Previous Next Index
Copyright © 1997 Netscape Communications Corporation. All rights reserved
Please send any comments or corrections to ifcfeedback@netscape.com
HTML generated on 21 Apr 1997