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.
-
LocationPanel()
- Constructs a LocationPanel object.
-
disableHideOriginal()
- Disables the "hide original bean" check box.
-
enableHideOriginal()
- Enables the "hide original bean" check box.
-
getHideOriginalBean()
- Gets the "hide original bean" check box state.
-
getSaveNewDir()
- Gets the "save to new directory" check box state.
-
getSaveNewJar()
- Gets the "save to new JAR" check box state.
-
getSaveToLocation()
- Gets the text field contents.
-
getSaveToOriginal()
- Gets the "save original bean" check box state.
-
hideHideOriginalCheckBox()
- Hides the "hide original bean" check box.
-
setEditableTextField(boolean)
- Sets the editable text field to read-write or read-only.
-
setHideOriginalBean(boolean)
- Sets the "hide original bean" check box state.
-
setSaveNewDir(boolean)
- Sets the "save to new directory" check box state.
-
setSaveNewJar(boolean)
- Sets the "save to new JAR" check box state.
-
setSaveToLocation(String)
- Sets the text field contents.
-
setSaveToOriginal(boolean)
- Sets the "save original bean" check box state.
LocationPanel
public LocationPanel()
- Constructs a LocationPanel object.
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.
disableHideOriginal
public void disableHideOriginal()
- Disables the "hide original bean" check box.
enableHideOriginal
public void enableHideOriginal()
- Enables the "hide original bean" check box.
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.
getSaveToOriginal
public boolean getSaveToOriginal()
- Gets the "save original bean" check box state.
- Returns:
- true if checked; false otherwise.
setSaveToOriginal
public void setSaveToOriginal(boolean state)
- Sets the "save original bean" check box state.
- Parameters:
- state - true to check; false otherwise.
getHideOriginalBean
public boolean getHideOriginalBean()
- Gets the "hide original bean" check box state.
- Returns:
- true if checked; false otherwise.
setHideOriginalBean
public void setHideOriginalBean(boolean state)
- Sets the "hide original bean" check box state.
- Parameters:
- state - true to check; false otherwise.
getSaveNewJar
public boolean getSaveNewJar()
- Gets the "save to new JAR" check box state.
- Returns:
- true if checked; false otherwise.
setSaveNewJar
public void setSaveNewJar(boolean state)
- Sets the "save to new JAR" check box state.
- Parameters:
- state - true to check; false otherwise.
getSaveNewDir
public boolean getSaveNewDir()
- Gets the "save to new directory" check box state.
- Returns:
- true if checked; false otherwise.
setSaveNewDir
public void setSaveNewDir(boolean state)
- Sets the "save to new directory" check box state.
- Parameters:
- state - true to check; false otherwise.
getSaveToLocation
public String getSaveToLocation()
- Gets the text field contents.
- Returns:
- The contents of the text field containing the save location.
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