com.metamatrix.console.ui.dialog
Class ConsoleLogin

java.lang.Object
  extended by com.metamatrix.console.ui.dialog.ConsoleLogin

public class ConsoleLogin
extends java.lang.Object


Field Summary
static java.lang.String APPLICATION_NAME
           
static int CANCELLED_LOGON
           
static int LOGON_SUCCEEDED
           
 
Constructor Summary
ConsoleLogin(java.util.List urls, boolean isFirstLogin, ConnectionInfo[] existingConnections)
           
ConsoleLogin(java.util.List urls, boolean isFirstLogin, ConnectionInfo[] existingConnections, java.lang.String password)
           
 
Method Summary
 ConnectionInfo getConnectionInfo()
           
 LoginPanel getLoginPanel()
           
 java.lang.String getPassword()
           
 boolean isExistingConnectionURLAndUserEntered()
           
 boolean selectNewConnection()
           
 int showDialog()
          All initialization happens in this method creates a new instance of the underlying LoginPanel and ConsoleLoginDialog or ConsoleLoginWindow
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

APPLICATION_NAME

public static final java.lang.String APPLICATION_NAME

LOGON_SUCCEEDED

public static final int LOGON_SUCCEEDED
See Also:
Constant Field Values

CANCELLED_LOGON

public static final int CANCELLED_LOGON
See Also:
Constant Field Values
Constructor Detail

ConsoleLogin

public ConsoleLogin(java.util.List urls,
                    boolean isFirstLogin,
                    ConnectionInfo[] existingConnections,
                    java.lang.String password)

ConsoleLogin

public ConsoleLogin(java.util.List urls,
                    boolean isFirstLogin,
                    ConnectionInfo[] existingConnections)
Method Detail

showDialog

public int showDialog()
All initialization happens in this method creates a new instance of the underlying LoginPanel and ConsoleLoginDialog or ConsoleLoginWindow

Returns:
one of LOGON_SUCCEEDED, etc., above

isExistingConnectionURLAndUserEntered

public boolean isExistingConnectionURLAndUserEntered()

getLoginPanel

public LoginPanel getLoginPanel()
Returns:
The LoginPanel used to display the login window
Since:
2.0

getPassword

public java.lang.String getPassword()

getConnectionInfo

public ConnectionInfo getConnectionInfo()

selectNewConnection

public boolean selectNewConnection()


Copyright © 2009. All Rights Reserved.