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

net.java.sip.communicator.impl.gui.main.contactlist.addcontact
Class AddContactWizardExportedWindow

java.lang.Object
  extended by net.java.sip.communicator.service.gui.AbstractExportedWindow<AddContactWizard>
      extended by net.java.sip.communicator.impl.gui.main.contactlist.addcontact.AddContactWizardExportedWindow
All Implemented Interfaces:
ExportedWindow

public class AddContactWizardExportedWindow
extends AbstractExportedWindow<AddContactWizard>

Implements ExportedWindow for the purposes of delaying the initialization of an associated AddContactWizard instance because it is slow.

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
AddContactWizardExportedWindow(MainFrame mainFrame)
          Initializes a new AddContactWizardExportedWindow which is to delay the initialization of a AddContactWizard with a specific MainFrame.
 
Method Summary
protected  AddContactWizard 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

AddContactWizardExportedWindow

public AddContactWizardExportedWindow(MainFrame mainFrame)
Initializes a new AddContactWizardExportedWindow which is to delay the initialization of a AddContactWizard with a specific MainFrame.

Parameters:
mainFrame - the argument required by the AddContactWizard constructor
Method Detail

createWindow

protected AddContactWizard 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<AddContactWizard>
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)
Implements ExportedWindow.setParams(Object[]).

Specified by:
setParams in interface ExportedWindow
Overrides:
setParams in class AbstractExportedWindow<AddContactWizard>
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.