class EmptyAccountRegistrationWizard extends AccountRegistrationWizard
Constructor and Description |
---|
EmptyAccountRegistrationWizard()
Creates the wizard.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getFirstPageIdentifier()
Returns the ID of our only page.
|
byte[] |
getIcon()
Called by the NewAccountDialog protocol combo renderer.
|
java.lang.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.
|
java.util.Iterator<WizardPage> |
getPages()
Returns an iterator over a list containing our only page.
|
java.lang.String |
getProtocolDescription()
Returns a dummy protocol description.
|
java.lang.String |
getProtocolName()
Returns the name of a dummy protocol which is actually a prompt to select
a network.
|
java.lang.Object |
getSimpleForm(boolean isCreateAccount)
Returns a simple account registration form that would be the first form
shown to the user.
|
java.awt.Dimension |
getSize()
Returns a dummy size that we never use here.
|
java.util.Iterator<java.util.Map.Entry<java.lang.String,java.lang.String>> |
getSummary()
Returns a dummy Iterator.
|
java.lang.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(java.lang.String userName,
java.lang.String password)
Empty interface method implementation, unused in the case of the
EmptyAccountRegistrationWizard |
accountRemoved, getForgotPasswordLink, getForgotPasswordLinkName, getWizardContainer, isAdvancedConfigurationEnabled, isHidden, isModification, isPreferredProtocol, isSimpleFormEnabled, isWebSignupSupported, setModification, setWizardContainer, webSignup
public EmptyAccountRegistrationWizard()
public java.lang.Object getFirstPageIdentifier()
getFirstPageIdentifier
in class AccountRegistrationWizard
public byte[] getIcon()
getIcon
in class AccountRegistrationWizard
public java.lang.Object getLastPageIdentifier()
getLastPageIdentifier
in class AccountRegistrationWizard
public byte[] getPageImage()
getPageImage
in class AccountRegistrationWizard
public java.util.Iterator<WizardPage> getPages()
getPages
in class AccountRegistrationWizard
public java.lang.String getProtocolDescription()
getProtocolDescription
in class AccountRegistrationWizard
public java.lang.String getProtocolName()
getProtocolName
in class AccountRegistrationWizard
public java.lang.Object getSimpleForm(boolean isCreateAccount)
getSimpleForm
in class AccountRegistrationWizard
isCreateAccount
- indicates if the simple form should be opened as
a create account form or as a login formpublic java.awt.Dimension getSize()
public java.util.Iterator<java.util.Map.Entry<java.lang.String,java.lang.String>> getSummary()
getSummary
in class AccountRegistrationWizard
public java.lang.String getUserNameExample()
getUserNameExample
in class AccountRegistrationWizard
public void loadAccount(ProtocolProviderService protocolProvider)
EmptyAccountRegistrationWizard
loadAccount
in class AccountRegistrationWizard
protocolProvider
- The ProtocolProviderService to
load data from.public ProtocolProviderService signin() throws OperationFailedException
EmptyAccountRegistrationWizard
signin
in class AccountRegistrationWizard
OperationFailedException
- if the operation didn't succeedpublic ProtocolProviderService signin(java.lang.String userName, java.lang.String password) throws OperationFailedException
EmptyAccountRegistrationWizard
signin
in class AccountRegistrationWizard
userName
- the user name to sign in withpassword
- the password to sign in withOperationFailedException
- if the operation didn't succeed
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.