All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.beans.tools.dip.LocationPanel

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----com.ibm.beans.tools.dip.LocationPanel

public class LocationPanel
extends Panel
The LocationPanel class defines a user interface where you can specify the repository location for a bean. The user has the choice of saving a bean back to the original repository or saving it to a new repository. The user also has the choice of hiding the original bean.

The location panel just gets and sets values, it is still up to the user to correctly put the bean in the designated repository and optionally hide it.


Constructor Index

 o LocationPanel()
Constructs a LocationPanel object.

Method Index

 o disableHideOriginal()
Disables the "hide original bean" check box.
 o enableHideOriginal()
Enables the "hide original bean" check box.
 o getHideOriginalBean()
Gets the "hide original bean" check box state.
 o getSaveNewDir()
Gets the "save to new directory" check box state.
 o getSaveNewJar()
Gets the "save to new JAR" check box state.
 o getSaveToLocation()
Gets the text field contents.
 o getSaveToOriginal()
Gets the "save original bean" check box state.
 o hideHideOriginalCheckBox()
Hides the "hide original bean" check box.
 o setEditableTextField(boolean)
Sets the editable text field to read-write or read-only.
 o setHideOriginalBean(boolean)
Sets the "hide original bean" check box state.
 o setSaveNewDir(boolean)
Sets the "save to new directory" check box state.
 o setSaveNewJar(boolean)
Sets the "save to new JAR" check box state.
 o setSaveToLocation(String)
Sets the text field contents.
 o setSaveToOriginal(boolean)
Sets the "save original bean" check box state.

Constructors

 o LocationPanel
 public LocationPanel()
Constructs a LocationPanel object.

Methods

 o setEditableTextField
 public void setEditableTextField(boolean boolValue)
Sets the editable text field to read-write or read-only.

Parameters:
boolValue - true for read-write text; false for read-only text.
 o disableHideOriginal
 public void disableHideOriginal()
Disables the "hide original bean" check box.

 o enableHideOriginal
 public void enableHideOriginal()
Enables the "hide original bean" check box.

 o hideHideOriginalCheckBox
 public void hideHideOriginalCheckBox()
Hides the "hide original bean" check box. For example, dipping cannot hide the bean being dipped, so dipping uses this method to hide the "hide original bean" check box.

 o getSaveToOriginal
 public boolean getSaveToOriginal()
Gets the "save original bean" check box state.

Returns:
true if checked; false otherwise.
 o setSaveToOriginal
 public void setSaveToOriginal(boolean state)
Sets the "save original bean" check box state.

Parameters:
state - true to check; false otherwise.
 o getHideOriginalBean
 public boolean getHideOriginalBean()
Gets the "hide original bean" check box state.

Returns:
true if checked; false otherwise.
 o setHideOriginalBean
 public void setHideOriginalBean(boolean state)
Sets the "hide original bean" check box state.

Parameters:
state - true to check; false otherwise.
 o getSaveNewJar
 public boolean getSaveNewJar()
Gets the "save to new JAR" check box state.

Returns:
true if checked; false otherwise.
 o setSaveNewJar
 public void setSaveNewJar(boolean state)
Sets the "save to new JAR" check box state.

Parameters:
state - true to check; false otherwise.
 o getSaveNewDir
 public boolean getSaveNewDir()
Gets the "save to new directory" check box state.

Returns:
true if checked; false otherwise.
 o setSaveNewDir
 public void setSaveNewDir(boolean state)
Sets the "save to new directory" check box state.

Parameters:
state - true to check; false otherwise.
 o getSaveToLocation
 public String getSaveToLocation()
Gets the text field contents.

Returns:
The contents of the text field containing the save location.
 o setSaveToLocation
 public void setSaveToLocation(String location)
Sets the text field contents.

Parameters:
location - The contents of the text field containing the save location.

All Packages  Class Hierarchy  This Package  Previous  Next  Index