com.metamatrix.console.ui.dialog
Class ConsoleLogin
java.lang.Object
com.metamatrix.console.ui.dialog.ConsoleLogin
public class ConsoleLogin
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
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)
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.