cor.gui
Class JspmCoreDbLogin

java.lang.Object
cor.gui.JspmCoreDbLogin
- public class JspmCoreDbLogin
- extends java.lang.Object
This class is displaying the repository login dialog. The OK button is the
default button, pressing return will automatically close the dialog and return
the default values.
- Version:
- 0.0.1
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
userNameField
private javax.swing.JTextField userNameField
passwordField
private javax.swing.JTextField passwordField
serverField
private javax.swing.JTextField serverField
mainPanel
private javax.swing.JPanel mainPanel
dialog
private javax.swing.JDialog dialog
okButton
private javax.swing.JButton okButton
result
private boolean result
frame
private javax.swing.JFrame frame
osName
private java.lang.String osName
JspmCoreDbLogin
public JspmCoreDbLogin(java.lang.String host,
java.lang.String helpDir)
- Simple Constructor
getResult
public boolean getResult()
- Return the result of this dialog. If true the OK button was pressed else
the CANCEL button was pressed.
getHost
public java.lang.String getHost()
- Return the result of host text field.
getUser
public java.lang.String getUser()
- Return the result of user text field.
getPasswd
public java.lang.String getPasswd()
- Return the result of password text field.
createConnectionDialog
private void createConnectionDialog(java.lang.String host,
java.lang.String helpDir)
- Actually create the dialog, with the fileds and he button panel.