Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.plugin.iptelaccregwizz
Class IptelAccountRegistrationWizard

java.lang.Object
  extended by net.java.sip.communicator.service.gui.AccountRegistrationWizard
      extended by net.java.sip.communicator.service.gui.ExtendedAccountRegistrationWizard
          extended by net.java.sip.communicator.plugin.sipaccregwizz.SIPAccountRegistrationWizard
              extended by net.java.sip.communicator.plugin.iptelaccregwizz.IptelAccountRegistrationWizard

public class IptelAccountRegistrationWizard
extends SIPAccountRegistrationWizard

The IptelAccountRegistrationWizard is an implementation of the AccountRegistrationWizard for the SIP protocol. It should allow the user to create and configure a new SIP account.

Author:
Yana Stamcheva

Field Summary
static String PROTOCOL
          The protocol name.
 
Constructor Summary
IptelAccountRegistrationWizard(WizardContainer wizardContainer)
          Creates an instance of IptelAccountRegistrationWizard.
 
Method Summary
 String getAccountIconPath()
          Returns the account icon path.
 byte[] getIcon()
          Implements the AccountRegistrationWizard.getIcon method.
 byte[] getPageImage()
          Implements the AccountRegistrationWizard.getPageImage method.
 Iterator<WizardPage> getPages()
          Returns the set of pages contained in this wizard.
 String getProtocol()
          Returns the protocol name as listed in "ProtocolNames" or just the name of the service.
 String getProtocolDescription()
          Implements the AccountRegistrationWizard.getProtocolDescription method.
 String getProtocolIconPath()
          Returns the protocol icon path.
 String getProtocolName()
          Implements the AccountRegistrationWizard.getProtocolName method.
 Object getSimpleForm(boolean isCreateAccount)
          Returns a simple account registration form that would be the first form shown to the user.
 String getUserNameExample()
          Returns an example string, which should indicate to the user how the user name should look like.
 String getWebSignupLinkName()
          Returns the name of the web sign up link.
 void webSignup()
          Opens the browser on the page sign up
 
Methods inherited from class net.java.sip.communicator.plugin.sipaccregwizz.SIPAccountRegistrationWizard
getCreateAccountLabel, getCreateAccountService, getExistingAccountLabel, getFirstPageIdentifier, getLastPageIdentifier, getPages, getRegistration, getSimpleForm, getSize, getSummary, getUsernameLabel, isSignupSupported, isWebSignupSupported, loadAccount, setCreateAccountView, setRegistration, signin, signin
 
Methods inherited from class net.java.sip.communicator.service.gui.AccountRegistrationWizard
accountRemoved, getForgotPasswordLink, getForgotPasswordLinkName, getWizardContainer, isHidden, isModification, isPreferredProtocol, isSimpleFormEnabled, setModification, setWizardContainer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROTOCOL

public static final String PROTOCOL
The protocol name.

See Also:
Constant Field Values
Constructor Detail

IptelAccountRegistrationWizard

public IptelAccountRegistrationWizard(WizardContainer wizardContainer)
Creates an instance of IptelAccountRegistrationWizard.

Parameters:
wizardContainer - the wizard container
Method Detail

getPages

public Iterator<WizardPage> getPages()
Returns the set of pages contained in this wizard.

Overrides:
getPages in class SIPAccountRegistrationWizard
Returns:
Iterator

getSimpleForm

public Object getSimpleForm(boolean isCreateAccount)
Returns a simple account registration form that would be the first form shown to the user. Only if the user needs more settings she'll choose to open the advanced wizard, consisted by all pages.

Overrides:
getSimpleForm in class SIPAccountRegistrationWizard
Parameters:
isCreateAccount - indicates if the simple form should be opened as a create account form or as a login form
Returns:
a simple account registration form

getIcon

public byte[] getIcon()
Implements the AccountRegistrationWizard.getIcon method. Returns the icon to be used for this wizard.

Overrides:
getIcon in class SIPAccountRegistrationWizard
Returns:
byte[]

getPageImage

public byte[] getPageImage()
Implements the AccountRegistrationWizard.getPageImage method. Returns the image used to decorate the wizard page

Overrides:
getPageImage in class SIPAccountRegistrationWizard
Returns:
byte[] the image used to decorate the wizard page

getProtocolName

public String getProtocolName()
Implements the AccountRegistrationWizard.getProtocolName method. Returns the protocol name for this wizard.

Overrides:
getProtocolName in class SIPAccountRegistrationWizard
Returns:
String

getProtocolDescription

public String getProtocolDescription()
Implements the AccountRegistrationWizard.getProtocolDescription method. Returns the description of the protocol for this wizard.

Overrides:
getProtocolDescription in class SIPAccountRegistrationWizard
Returns:
String

getUserNameExample

public String getUserNameExample()
Returns an example string, which should indicate to the user how the user name should look like.

Overrides:
getUserNameExample in class SIPAccountRegistrationWizard
Returns:
an example string, which should indicate to the user how the user name should look like.

getProtocol

public String getProtocol()
Returns the protocol name as listed in "ProtocolNames" or just the name of the service.

Overrides:
getProtocol in class SIPAccountRegistrationWizard
Returns:
the protocol name

getProtocolIconPath

public String getProtocolIconPath()
Returns the protocol icon path.

Overrides:
getProtocolIconPath in class SIPAccountRegistrationWizard
Returns:
the protocol icon path

getAccountIconPath

public String getAccountIconPath()
Returns the account icon path.

Overrides:
getAccountIconPath in class SIPAccountRegistrationWizard
Returns:
the account icon path

webSignup

public void webSignup()
Opens the browser on the page sign up

Overrides:
webSignup in class AccountRegistrationWizard

getWebSignupLinkName

public String getWebSignupLinkName()
Returns the name of the web sign up link.

Overrides:
getWebSignupLinkName in class SIPAccountRegistrationWizard
Returns:
the name of the web sign up link

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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