All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.beans.tools.dataFormatWizard.ItemAttributesDialog

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Dialog
                                   |
                                   +----com.ibm.beans.tools.dataFormatWizard.ItemAttributesDialog

public class ItemAttributesDialog
extends Dialog
implements ActionListener
The ItemAttributesDialog is a dialog that allows the user to edit the various attributes for a schema item.

See Also:
SchemaItem

Constructor Index

 o ItemAttributesDialog(Frame)
Constructs an initially invisible ItemAttributesDialog instance.

Method Index

 o actionPerformed(ActionEvent)
Handles an action event.
 o getTargetItem()
Gets the schema item being edited by the user.
 o isCancelWanted()
Reports whether the user wants to cancel the action that prompted this dialog.
 o setTargetItem(SchemaItem)
Sets the new schema item to be edited by the user.
 o setVisible(boolean)
Shows or hides this component, depending on the boolean flag.

Constructors

 o ItemAttributesDialog
 public ItemAttributesDialog(Frame parent)
Constructs an initially invisible ItemAttributesDialog instance.

Parameters:
parent - The owner of the dialog.

Methods

 o getTargetItem
 public SchemaItem getTargetItem()
Gets the schema item being edited by the user.

Returns:
The schema item being edited by the user.
 o setTargetItem
 public void setTargetItem(SchemaItem newItem)
Sets the new schema item to be edited by the user.

Parameters:
newItem - The new schema item to be edited.
 o isCancelWanted
 public boolean isCancelWanted()
Reports whether the user wants to cancel the action that prompted this dialog.

Returns:
true if the user selected the cancel button; false otherwise.
 o setVisible
 public void setVisible(boolean visible)
Shows or hides this component, depending on the boolean flag.

If the necessary input fields, labels, and buttons do not yet exist, and this component is being shown, it will create them.

Parameters:
visible - If true, show this component; if false, hide this component.
Overrides:
setVisible in class Component
 o actionPerformed
 public void actionPerformed(ActionEvent e)
Handles an action event.

Parameters:
e - An ActionEvent object.

All Packages  Class Hierarchy  This Package  Previous  Next  Index