SIP Communicator: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.gui.main.login
Class AuthenticationExportedWindow

java.lang.Object
  extended by net.java.sip.communicator.service.gui.AbstractExportedWindow<AuthenticationWindow>
      extended by net.java.sip.communicator.impl.gui.main.login.AuthenticationExportedWindow
All Implemented Interfaces:
ExportedWindow

public class AuthenticationExportedWindow
extends AbstractExportedWindow<AuthenticationWindow>

Implements ExportedWindow for AuthenticationWindow in order to delay its creation and spare memory and execution time on statup.

Author:
Lubomir Marinov

Field Summary
 
Fields inherited from class net.java.sip.communicator.service.gui.AbstractExportedWindow
window
 
Fields inherited from interface net.java.sip.communicator.service.gui.ExportedWindow
ABOUT_WINDOW, ADD_CONTACT_WINDOW, AUTHENTICATION_WINDOW, CHAT_WINDOW, MAIN_WINDOW
 
Constructor Summary
AuthenticationExportedWindow(AuthenticationWindow window)
           
AuthenticationExportedWindow(MainFrame mainFrame)
           
 
Method Summary
 AuthenticationWindow createWindow()
          Creates the Window instance to be wrapped by this instance and to which ExportedWindow capabilities are provided.
 WindowID getIdentifier()
          Returns the WindowID corresponding to this window.
 void setParams(Object[] windowParams)
          Implements ExportedWindow.setParams(Object[]).
 
Methods inherited from class net.java.sip.communicator.service.gui.AbstractExportedWindow
bringToFront, getSource, getWindow, isFocused, isVisible, maximize, minimize, setLocation, setSize, setVisible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthenticationExportedWindow

public AuthenticationExportedWindow(AuthenticationWindow window)

AuthenticationExportedWindow

public AuthenticationExportedWindow(MainFrame mainFrame)
Method Detail

createWindow

public AuthenticationWindow createWindow()
Description copied from class: AbstractExportedWindow
Creates the Window instance to be wrapped by this instance and to which ExportedWindow capabilities are provided.

Specified by:
createWindow in class AbstractExportedWindow<AuthenticationWindow>
Returns:
the Window instance to be wrapped by this instance and to which ExportedWindow capabilities are provided

getIdentifier

public WindowID getIdentifier()
Description copied from interface: ExportedWindow
Returns the WindowID corresponding to this window. The window id should be one of the defined in this class XXX_WINDOW constants.

Returns:
the WindowID corresponding to this window

setParams

public void setParams(Object[] windowParams)
Description copied from class: AbstractExportedWindow
Implements ExportedWindow.setParams(Object[]). Does nothing.

Specified by:
setParams in interface ExportedWindow
Overrides:
setParams in class AbstractExportedWindow<AuthenticationWindow>
Parameters:
windowParams - the parameters to set to the Window wrapped in this instance

SIP Communicator: the OpenSource Java VoIP and Instant Messaging client.

SIP Communicator, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.