public class GoogleTalkAccountRegistrationWizard extends JabberAccountRegistrationWizard
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PAGE_IMAGE
A constant pointing to the Aim protocol wizard page image.
|
static java.lang.String |
PROTOCOL
The Google Talk protocol name.
|
static java.lang.String |
PROTOCOL_ICON
A constant pointing to the Google Talk protocol logo image.
|
Constructor and Description |
---|
GoogleTalkAccountRegistrationWizard(WizardContainer wizardContainer)
Creates an instance of GoogleTalkAccountRegistrationWizard.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAccountIconPath()
Returns the account icon path.
|
protected java.lang.String |
getCreateAccountButtonLabel()
Return the string for add existing account button.
|
protected java.lang.String |
getCreateAccountLabel()
Return the string for create new account button.
|
protected JabberAccountCreationFormService |
getCreateAccountService()
Returns an instance of CreateAccountService through which the
user could create an account.
|
byte[] |
getIcon()
Implements the
AccountRegistrationWizard.getIcon method. |
byte[] |
getPageImage()
Implements the
AccountRegistrationWizard.getPageImage method. |
java.util.Iterator<WizardPage> |
getPages()
Returns the set of pages contained in this wizard.
|
java.lang.String |
getProtocol()
Returns the protocol name as listed in "ProtocolNames" or just the name
of the service.
|
java.lang.String |
getProtocolDescription()
Implements the
AccountRegistrationWizard.getProtocolDescription
method. |
java.lang.String |
getProtocolIconPath()
Returns the protocol icon path.
|
java.lang.String |
getProtocolName()
Implements the
AccountRegistrationWizard.getProtocolName
method. |
java.lang.Object |
getSimpleForm(boolean isCreateAccount)
Returns a simple account registration form that would be the first form
shown to the user.
|
java.lang.String |
getUserNameExample()
Returns an example string, which should indicate to the user how the
user name should look like.
|
protected java.lang.String |
getUsernameLabel()
Returns the display label used for the sip id field.
|
boolean |
isWebSignupSupported()
Returns
true if the web sign up is supported by the current
implementation, false - otherwise. |
void |
webSignup()
Opens a browser on the sign up page.
|
getExistingAccountLabel, getFirstPageIdentifier, getHomeLinkLabel, getLastPageIdentifier, getPages, getProtocolProvider, getRegistration, getSimpleForm, getSize, getSummary, installAccount, loadAccount, signin, signin
accountRemoved, getForgotPasswordLink, getForgotPasswordLinkName, getWizardContainer, isAdvancedConfigurationEnabled, isHidden, isModification, isPreferredProtocol, isSimpleFormEnabled, setModification, setWizardContainer
public static final java.lang.String PROTOCOL
public static final java.lang.String PROTOCOL_ICON
public static final java.lang.String PAGE_IMAGE
public GoogleTalkAccountRegistrationWizard(WizardContainer wizardContainer)
wizardContainer
- the wizard container, where this wizard
is addedpublic java.util.Iterator<WizardPage> getPages()
getPages
in class JabberAccountRegistrationWizard
public java.lang.Object getSimpleForm(boolean isCreateAccount)
getSimpleForm
in class JabberAccountRegistrationWizard
isCreateAccount
- indicates if the simple form should be opened as
a create account form or as a login formpublic byte[] getIcon()
AccountRegistrationWizard.getIcon
method.
Returns the icon to be used for this wizard.getIcon
in class JabberAccountRegistrationWizard
public byte[] getPageImage()
AccountRegistrationWizard.getPageImage
method.
Returns the image used to decorate the wizard pagegetPageImage
in class JabberAccountRegistrationWizard
public java.lang.String getProtocolName()
AccountRegistrationWizard.getProtocolName
method. Returns the protocol name for this wizard.getProtocolName
in class JabberAccountRegistrationWizard
public java.lang.String getProtocolDescription()
AccountRegistrationWizard.getProtocolDescription
method. Returns the description of the protocol for this wizard.getProtocolDescription
in class JabberAccountRegistrationWizard
public java.lang.String getUserNameExample()
getUserNameExample
in class JabberAccountRegistrationWizard
protected java.lang.String getUsernameLabel()
getUsernameLabel
in class JabberAccountRegistrationWizard
protected java.lang.String getCreateAccountButtonLabel()
getCreateAccountButtonLabel
in class JabberAccountRegistrationWizard
protected java.lang.String getCreateAccountLabel()
getCreateAccountLabel
in class JabberAccountRegistrationWizard
public java.lang.String getProtocol()
getProtocol
in class JabberAccountRegistrationWizard
public java.lang.String getProtocolIconPath()
getProtocolIconPath
in class JabberAccountRegistrationWizard
public java.lang.String getAccountIconPath()
getAccountIconPath
in class JabberAccountRegistrationWizard
public void webSignup()
webSignup
in class JabberAccountRegistrationWizard
public boolean isWebSignupSupported()
true
if the web sign up is supported by the current
implementation, false
- otherwise.isWebSignupSupported
in class JabberAccountRegistrationWizard
true
if the web sign up is supported by the current
implementation, false
- otherwiseprotected JabberAccountCreationFormService getCreateAccountService()
getCreateAccountService
in class JabberAccountRegistrationWizard
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.