Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

cor.gui
Class JspmCoreDbLogin  view JspmCoreDbLogin download JspmCoreDbLogin.java

java.lang.Object
  extended bycor.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

Field Summary
private  javax.swing.JDialog dialog
           
private  javax.swing.JFrame frame
           
private  javax.swing.JPanel mainPanel
           
private  javax.swing.JButton okButton
           
private  java.lang.String osName
           
private  javax.swing.JTextField passwordField
           
private  boolean result
           
private  javax.swing.JTextField serverField
           
private  javax.swing.JTextField userNameField
           
 
Constructor Summary
JspmCoreDbLogin(java.lang.String host, java.lang.String helpDir)
          Simple Constructor
 
Method Summary
private  void createConnectionDialog(java.lang.String host, java.lang.String helpDir)
          Actually create the dialog, with the fileds and he button panel.
 java.lang.String getHost()
          Return the result of host text field.
 java.lang.String getPasswd()
          Return the result of password text field.
 boolean getResult()
          Return the result of this dialog.
 java.lang.String getUser()
          Return the result of user text field.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

JspmCoreDbLogin

public JspmCoreDbLogin(java.lang.String host,
                       java.lang.String helpDir)
Simple Constructor

Method Detail

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.