|
Jitsi: 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.Objectnet.java.sip.communicator.service.gui.AccountRegistrationWizard
net.java.sip.communicator.plugin.jabberaccregwizz.JabberAccountRegistrationWizard
net.java.sip.communicator.plugin.googletalkaccregwizz.GoogleTalkAccountRegistrationWizard
public class GoogleTalkAccountRegistrationWizard
The GoogleTalkAccountRegistrationWizard is an implementation of the AccountRegistrationWizard for the Google Talk protocol. It should allow the user to create and configure a new Google Talk account.
| Field Summary | |
|---|---|
static String |
PAGE_IMAGE
A constant pointing to the Aim protocol wizard page image. |
static String |
PROTOCOL
The Google Talk protocol name. |
static String |
PROTOCOL_ICON
A constant pointing to the Google Talk protocol logo image. |
| Constructor Summary | |
|---|---|
GoogleTalkAccountRegistrationWizard(WizardContainer wizardContainer)
Creates an instance of GoogleTalkAccountRegistrationWizard. |
|
| Method Summary | |
|---|---|
String |
getAccountIconPath()
Returns the account icon path. |
protected String |
getCreateAccountButtonLabel()
Return the string for add existing account button. |
protected 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. |
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. |
protected 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. |
| Methods inherited from class net.java.sip.communicator.plugin.jabberaccregwizz.JabberAccountRegistrationWizard |
|---|
getExistingAccountLabel, getFirstPageIdentifier, getHomeLinkLabel, getLastPageIdentifier, getPages, getRegistration, getServerFromUserName, getSimpleForm, getSize, getSummary, installAccount, loadAccount, 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 |
|---|
public static final String PROTOCOL
public static final String PROTOCOL_ICON
public static final String PAGE_IMAGE
| Constructor Detail |
|---|
public GoogleTalkAccountRegistrationWizard(WizardContainer wizardContainer)
wizardContainer - the wizard container, where this wizard
is added| Method Detail |
|---|
public Iterator<WizardPage> getPages()
getPages in class JabberAccountRegistrationWizardpublic Object getSimpleForm(boolean isCreateAccount)
getSimpleForm in class JabberAccountRegistrationWizardisCreateAccount - indicates if the simple form should be opened as
a create account form or as a login form
public byte[] getIcon()
AccountRegistrationWizard.getIcon method.
Returns the icon to be used for this wizard.
getIcon in class JabberAccountRegistrationWizardpublic byte[] getPageImage()
AccountRegistrationWizard.getPageImage method.
Returns the image used to decorate the wizard page
getPageImage in class JabberAccountRegistrationWizardpublic String getProtocolName()
AccountRegistrationWizard.getProtocolName
method. Returns the protocol name for this wizard.
getProtocolName in class JabberAccountRegistrationWizardpublic String getProtocolDescription()
AccountRegistrationWizard.getProtocolDescription
method. Returns the description of the protocol for this wizard.
getProtocolDescription in class JabberAccountRegistrationWizardpublic String getUserNameExample()
getUserNameExample in class JabberAccountRegistrationWizardprotected String getUsernameLabel()
getUsernameLabel in class JabberAccountRegistrationWizardprotected String getCreateAccountButtonLabel()
getCreateAccountButtonLabel in class JabberAccountRegistrationWizardprotected String getCreateAccountLabel()
getCreateAccountLabel in class JabberAccountRegistrationWizardpublic String getProtocol()
getProtocol in class JabberAccountRegistrationWizardpublic String getProtocolIconPath()
getProtocolIconPath in class JabberAccountRegistrationWizardpublic String getAccountIconPath()
getAccountIconPath in class JabberAccountRegistrationWizardpublic void webSignup()
webSignup in class JabberAccountRegistrationWizardpublic boolean isWebSignupSupported()
true if the web sign up is supported by the current
implementation, false - otherwise.
isWebSignupSupported in class JabberAccountRegistrationWizardtrue 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. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||