| net.sourceforge.squirrel_sql.client.gui.BaseInternalFrame net.sourceforge.squirrel_sql.plugins.sqlparam.gui.AskParamValueDialog
AskParamValueDialog | public class AskParamValueDialog extends BaseInternalFrame (Code) | | The dialog to ask the user for a value.
author: Thorsten Mürell |
Method Summary | |
public void | cancel() Cancels the dialog. | public String | getValue() Gets the value of the input field in this dialog. | public boolean | isCancelled() If the user doesn't want to input a value, he hits the close
button. | public boolean | isDone() | public boolean | isQuotingNeeded() Returns if quotes around the value are needed. | public void | ok() Confirms the dialog. | public void | setValue(String defaultValue) Sets the value of the dialog. |
AskParamValueDialog | public AskParamValueDialog(String parameter, String oldValue)(Code) | | Creates the dialog.
Parameters: parameter - The name of the parameter to replace. Parameters: oldValue - The old value of the parameter to provide as a default. |
cancel | public void cancel()(Code) | | Cancels the dialog.
|
getValue | public String getValue()(Code) | | Gets the value of the input field in this dialog.
The value for the parameter. |
isCancelled | public boolean isCancelled()(Code) | | If the user doesn't want to input a value, he hits the close
button. The this method returns true.
true if the dialog was cancelled by the user. |
isDone | public boolean isDone()(Code) | | true if the dialog is done |
isQuotingNeeded | public boolean isQuotingNeeded()(Code) | | Returns if quotes around the value are needed.
true if quoting is needed. |
ok | public void ok()(Code) | | Confirms the dialog.
|
setValue | public void setValue(String defaultValue)(Code) | | Sets the value of the dialog.
Parameters: defaultValue - the value to set as a default in this dialog. |
Methods inherited from net.sourceforge.squirrel_sql.client.gui.BaseInternalFrame | public void processKeyEvent(KeyEvent evt)(Code)(Java Doc)
|
|
|