|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.squirrel_sql.client.gui.desktopcontainer.DialogWidget
net.sourceforge.squirrel_sql.plugins.sqlparam.gui.AskParamValueDialog
public class AskParamValueDialog
The dialog to ask the user for a value.
| Constructor Summary | |
|---|---|
AskParamValueDialog(String parameter,
String oldValue,
IApplication application)
Creates the dialog. |
|
| Method Summary | |
|---|---|
void |
cancel()
Cancels the dialog. |
String |
getValue()
Gets the value of the input field in this dialog. |
boolean |
isCancelled()
If the user doesn't want to input a value, he hits the close button. |
boolean |
isDone()
|
boolean |
isQuotingNeeded()
Returns if quotes around the value are needed. |
void |
ok()
Confirms the dialog. |
void |
setValue(String defaultValue)
Sets the value of the dialog. |
| Methods inherited from class net.sourceforge.squirrel_sql.client.gui.desktopcontainer.DialogWidget |
|---|
addNotify, addWidgetListener, centerWithinDesktop, dispose, fireWidgetClosed, fireWidgetClosing, getAwtContainer, getBounds, getClientProperty, getContentPane, getDelegate, getHeight, getInternalFrame, getRootPane, getSize, getTitle, getWidth, isClosed, isIcon, isToolWindow, isVisible, makeToolWindow, moveToFront, pack, putClientProperty, removeWidgetListener, requestFocus, setBorder, setBounds, setContentPane, setDefaultCloseOperation, setFrameIcon, setLayer, setMaximum, setPreferredSize, setSelected, setSize, setTitle, setVisible, showOk, toFront, updateUI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AskParamValueDialog(String parameter,
String oldValue,
IApplication application)
parameter - The name of the parameter to replace.oldValue - The old value of the parameter to provide as a default.application - | Method Detail |
|---|
public boolean isDone()
true if the dialog is donepublic boolean isCancelled()
true if the dialog was cancelled by the user.public void setValue(String defaultValue)
defaultValue - the value to set as a default in this dialog.public String getValue()
public boolean isQuotingNeeded()
true if quoting is needed.public void cancel()
public void ok()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||