All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class att.grappa.AttributePanel

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----att.grappa.AttributePanel

public class AttributePanel
extends Panel
This class provides a panel for displaying and editing Element attributes. The information displayed includes: Buttons to apply changes and to dismiss the panel are also supplied.

Version:
1.1, 30 Sep 1999; Copyright 1996 - 1999 by AT&T Corp.
Author:
John Mocenigo, Research @ AT&T Labs
See Also:
getHandle

Constructor Index

 o AttributePanel(Frame)
Constructs an AttributePanel which is assumed will be contained in the supplied Frame.

Method Index

 o loadAttributePanel(Element)
A convenience method equivalent to calling loadAttributePanel with a null value for the editList parameter.
 o loadAttributePanel(Element, Vector)
Fills the AttributePanel with information regarding the supplied Element.

Constructors

 o AttributePanel
 public AttributePanel(Frame root)
Constructs an AttributePanel which is assumed will be contained in the supplied Frame.

Parameters:
root - the Frame containing this panel, used by the Dismiss button to set its visibility to false.

Methods

 o loadAttributePanel
 public void loadAttributePanel(Element element,
                                Vector editList)
Fills the AttributePanel with information regarding the supplied Element.

Parameters:
element - the Element about which information is to be displayed
editList - a Vector of String objects that specifies the names of the Element attributes to display. If editList is null, then all attributes for the element are displayed.
 o loadAttributePanel
 public void loadAttributePanel(Element elem)
A convenience method equivalent to calling loadAttributePanel with a null value for the editList parameter.

Parameters:
element - the Element about which information is to be displayed
See Also:
loadAttributePanel

All Packages  Class Hierarchy  This Package  Previous  Next  Index