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
-
ItemAttributesDialog(Frame)
- Constructs an initially invisible ItemAttributesDialog instance.
-
actionPerformed(ActionEvent)
- Handles an action event.
-
getTargetItem()
- Gets the schema item being edited by the user.
-
isCancelWanted()
- Reports whether the user wants to cancel the action that prompted
this dialog.
-
setTargetItem(SchemaItem)
- Sets the new schema item to be edited by the user.
-
setVisible(boolean)
- Shows or hides this component, depending on the boolean flag.
ItemAttributesDialog
public ItemAttributesDialog(Frame parent)
- Constructs an initially invisible ItemAttributesDialog instance.
- Parameters:
- parent - The owner of the dialog.
getTargetItem
public SchemaItem getTargetItem()
- Gets the schema item being edited by the user.
- Returns:
- The schema item being edited by the user.
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.
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.
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
actionPerformed
public void actionPerformed(ActionEvent e)
- Handles an action event.
- Parameters:
- e - An ActionEvent object.
All Packages Class Hierarchy This Package Previous Next Index