|
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.impl.gui.main.account.EmptyAccountRegistrationWizard
class EmptyAccountRegistrationWizard
We use this class as a dummy implementation of the AccountRegistrationWizard only containing a blank page and not related to a specific protocol. We are using this class so that we could have the NewAccountDialog open without having a specific protocol selected. The point of having this empty page is to avoid users mistakenly filling in data for the default protocol without noticing that it is not really the protocol they had in mind.
| Constructor Summary | |
|---|---|
EmptyAccountRegistrationWizard()
Creates the wizard. |
|
| Method Summary | |
|---|---|
Object |
getFirstPageIdentifier()
Returns the ID of our only page. |
byte[] |
getIcon()
Called by the NewAccountDialog protocol combo renderer. |
Object |
getLastPageIdentifier()
Returns the ID of our last and only page. |
byte[] |
getPageImage()
Returns null since we don't have any images associated with this wizard or no image in our case. |
Iterator<WizardPage> |
getPages()
Returns an iterator over a list containing our only page. |
String |
getProtocolDescription()
Returns a dummy protocol description. |
String |
getProtocolName()
Returns the name of a dummy protocol which is actually a prompt to select a network. |
Object |
getSimpleForm(boolean isCreateAccount)
Returns a simple account registration form that would be the first form shown to the user. |
Dimension |
getSize()
Returns a dummy size that we never use here. |
Iterator<Map.Entry<String,String>> |
getSummary()
Returns a dummy Iterator. |
String |
getUserNameExample()
Returns an empty string since never used. |
void |
loadAccount(ProtocolProviderService protocolProvider)
Empty interface method implementation, unused in the case of the EmptyAccountRegistrationWizard |
ProtocolProviderService |
signin()
Empty interface method implementation, unused in the case of the EmptyAccountRegistrationWizard |
ProtocolProviderService |
signin(String userName,
String password)
Empty interface method implementation, unused in the case of the EmptyAccountRegistrationWizard |
| Methods inherited from class net.java.sip.communicator.service.gui.AccountRegistrationWizard |
|---|
accountRemoved, getForgotPasswordLink, getForgotPasswordLinkName, getWizardContainer, isHidden, isModification, isPreferredProtocol, isSimpleFormEnabled, isWebSignupSupported, setModification, setWizardContainer, webSignup |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EmptyAccountRegistrationWizard()
| Method Detail |
|---|
public Object getFirstPageIdentifier()
getFirstPageIdentifier in class AccountRegistrationWizardpublic byte[] getIcon()
getIcon in class AccountRegistrationWizardpublic Object getLastPageIdentifier()
getLastPageIdentifier in class AccountRegistrationWizardpublic byte[] getPageImage()
getPageImage in class AccountRegistrationWizardpublic Iterator<WizardPage> getPages()
getPages in class AccountRegistrationWizardpublic String getProtocolDescription()
getProtocolDescription in class AccountRegistrationWizardpublic String getProtocolName()
getProtocolName in class AccountRegistrationWizardpublic Object getSimpleForm(boolean isCreateAccount)
getSimpleForm in class AccountRegistrationWizardisCreateAccount - indicates if the simple form should be opened as
a create account form or as a login form
public Dimension getSize()
getSize in class AccountRegistrationWizardpublic Iterator<Map.Entry<String,String>> getSummary()
getSummary in class AccountRegistrationWizardpublic String getUserNameExample()
getUserNameExample in class AccountRegistrationWizardpublic void loadAccount(ProtocolProviderService protocolProvider)
EmptyAccountRegistrationWizard
loadAccount in class AccountRegistrationWizardprotocolProvider - The ProtocolProviderService to
load data from.
public ProtocolProviderService signin()
throws OperationFailedException
EmptyAccountRegistrationWizard
signin in class AccountRegistrationWizardOperationFailedException - if the operation didn't succeed
public ProtocolProviderService signin(String userName,
String password)
throws OperationFailedException
EmptyAccountRegistrationWizard
signin in class AccountRegistrationWizarduserName - the user name to sign in withpassword - the password to sign in with
OperationFailedException - if the operation didn't succeed
|
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 | |||||||||