|
SIP Communicator: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Frame
javax.swing.JFrame
net.java.sip.communicator.util.swing.SIPCommFrame
net.java.sip.communicator.impl.gui.main.login.AuthenticationWindow
public class AuthenticationWindow
The LoginWindow is the window where the user should type his user identifier and password to login.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class net.java.sip.communicator.util.swing.SIPCommFrame |
|---|
SIPCommFrame.MainContentPane |
| Nested classes/interfaces inherited from class javax.swing.JFrame |
|---|
JFrame.AccessibleJFrame |
| Nested classes/interfaces inherited from class java.awt.Frame |
|---|
Frame.AccessibleAWTFrame |
| Nested classes/interfaces inherited from class java.awt.Window |
|---|
Window.AccessibleAWTWindow |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class javax.swing.JFrame |
|---|
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled |
| Fields inherited from class java.awt.Frame |
|---|
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface javax.swing.WindowConstants |
|---|
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
AuthenticationWindow(MainFrame mainFrame)
Creates an instance of the LoginWindow. |
|
AuthenticationWindow(MainFrame mainFrame,
ProtocolProviderService protocolProvider,
String realm,
UserCredentials userCredentials,
boolean isUserNameEditable)
Creates an instance of the LoginWindow. |
|
AuthenticationWindow(MainFrame mainFrame,
ProtocolProviderService protocolProvider,
String realm,
UserCredentials userCredentials,
boolean isUserNameEditable,
String errorMessage)
Creates an instance of the LoginWindow. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent evt)
Handles the ActionEvent triggered when one of the buttons is clicked. |
protected void |
close(boolean isEscaped)
All functions implemented in this method will be invoked when user presses the Escape key. |
(package private) void |
setParams(Object[] windowParams)
|
void |
setVisible(boolean isVisible)
Shows this modal dialog. |
| Methods inherited from class net.java.sip.communicator.util.swing.SIPCommFrame |
|---|
addKeybindingAction, dispose, setKeybindingInput, setSizeAndLocation, setVisible, update, validate, windowClosing |
| Methods inherited from class java.awt.Frame |
|---|
addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.awt.MenuContainer |
|---|
getFont, postEvent |
| Constructor Detail |
|---|
public AuthenticationWindow(MainFrame mainFrame,
ProtocolProviderService protocolProvider,
String realm,
UserCredentials userCredentials,
boolean isUserNameEditable)
mainFrame - the parent MainFrame window.protocolProvider - the protocol provider.realm - the realmuserCredentials - the user credentialsisUserNameEditable - indicates if the user name should be editable
by the user or not.public AuthenticationWindow(MainFrame mainFrame)
mainFrame - the parent MainFrame window.
public AuthenticationWindow(MainFrame mainFrame,
ProtocolProviderService protocolProvider,
String realm,
UserCredentials userCredentials,
boolean isUserNameEditable,
String errorMessage)
mainFrame - the parent MainFrame window.protocolProvider - the protocol provider.realm - the realmuserCredentials - the user credentialsisUserNameEditable - indicates if the user name should be editable
by the user or not.errorMessage - an error message explaining a reason for opening
the authentication dialog (when a wrong password was provided, etc.)| Method Detail |
|---|
public void actionPerformed(ActionEvent evt)
actionPerformed in interface ActionListenerevt - the action event that has just occurred.protected void close(boolean isEscaped)
SIPCommFrame
close in class SIPCommFrameisEscaped - indicates if this frame has been closed by pressing the
Esc keypublic void setVisible(boolean isVisible)
setVisible in class SIPCommFrameisVisible - specifies whether we should be showing or hiding the
window.void setParams(Object[] windowParams)
|
SIP Communicator: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||