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:
- the name of the element (obtained via the getHandle() method
of the AppObject associated with the element)
- a list of attribute names (possibly restricted using the
editList parameter)
- for a selected attribute, its default value is displayed
- for a selected attribute, its current value is displayed
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
-
AttributePanel(Frame)
- Constructs an AttributePanel which is assumed will be contained in
the supplied Frame.
-
loadAttributePanel(Element)
- A convenience method equivalent to calling loadAttributePanel with
a null value for the editList parameter.
-
loadAttributePanel(Element, Vector)
- Fills the AttributePanel with information regarding the supplied
Element.
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.
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.
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