|
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.gibberishaccregwizz.GibberishAccountRegistrationWizard
public class GibberishAccountRegistrationWizard
The GibberishAccountRegistrationWizard is an implementation of the AccountRegistrationWizard for the Gibberish protocol. It allows the user to create and configure a new Gibberish account.
| Constructor Summary | |
|---|---|
GibberishAccountRegistrationWizard(WizardContainer wizardContainer)
Creates an instance of GibberishAccountRegistrationWizard. |
|
| Method Summary | |
|---|---|
Object |
getFirstPageIdentifier()
Returns the identifier of the page to show first in the wizard. |
byte[] |
getIcon()
Implements the AccountRegistrationWizard.getIcon method. |
Object |
getLastPageIdentifier()
Returns the identifier of the page to show last in the wizard. |
byte[] |
getPageImage()
Implements the AccountRegistrationWizard.getPageImage method. |
Iterator<WizardPage> |
getPages()
Returns the set of pages contained in this wizard. |
String |
getProtocolDescription()
Implements the AccountRegistrationWizard.getProtocolDescription
method. |
String |
getProtocolName()
Implements the AccountRegistrationWizard.getProtocolName
method. |
GibberishAccountRegistration |
getRegistration()
Returns the registration object, which will store all the data through the wizard. |
Object |
getSimpleForm(boolean isCreateAccount)
Returns a simple account registration form that would be the first form shown to the user. |
Dimension |
getSize()
Returns the size of this wizard. |
Iterator<Map.Entry<String,String>> |
getSummary()
Returns the set of data that user has entered through this wizard. |
String |
getUserNameExample()
Returns an example string, which should indicate to the user how the user name should look like. |
ProtocolProviderService |
installAccount(ProtocolProviderFactory providerFactory,
String user)
Creates an account for the given user and password. |
boolean |
isSimpleFormEnabled()
Indicates whether this wizard enables the simple "sign in" form shown when the user opens the application for the first time. |
void |
loadAccount(ProtocolProviderService protocolProvider)
Fills the UserID and Password fields in this panel with the data comming from the given protocolProvider. |
ProtocolProviderService |
signin()
Defines the operations that will be executed when the user clicks on the wizard "Signin" button. |
ProtocolProviderService |
signin(String userName,
String password)
Defines the operations that will be executed when the user clicks on the wizard "Signin" button. |
| Methods inherited from class net.java.sip.communicator.service.gui.AccountRegistrationWizard |
|---|
accountRemoved, getForgotPasswordLink, getForgotPasswordLinkName, getWizardContainer, isHidden, isModification, isPreferredProtocol, 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 GibberishAccountRegistrationWizard(WizardContainer wizardContainer)
wizardContainer - the wizard container, where this wizard
is added| Method Detail |
|---|
public byte[] getIcon()
AccountRegistrationWizard.getIcon method.
Returns the icon to be used for this wizard.
getIcon in class AccountRegistrationWizardpublic byte[] getPageImage()
AccountRegistrationWizard.getPageImage method.
Returns the image used to decorate the wizard page
getPageImage in class AccountRegistrationWizardpublic String getProtocolName()
AccountRegistrationWizard.getProtocolName
method. Returns the protocol name for this wizard.
getProtocolName in class AccountRegistrationWizardpublic String getProtocolDescription()
AccountRegistrationWizard.getProtocolDescription
method. Returns the description of the protocol for this wizard.
getProtocolDescription in class AccountRegistrationWizardpublic Iterator<WizardPage> getPages()
getPages in class AccountRegistrationWizardpublic Iterator<Map.Entry<String,String>> getSummary()
getSummary in class AccountRegistrationWizard
public ProtocolProviderService signin()
throws OperationFailedException
signin in class AccountRegistrationWizardOperationFailedException - if the operation didn't succeed
public ProtocolProviderService signin(String userName,
String password)
throws OperationFailedException
signin in class AccountRegistrationWizarduserName - the user name to sign in withpassword - the password to sign in with
OperationFailedException - if the operation didn't succeed
public ProtocolProviderService installAccount(ProtocolProviderFactory providerFactory,
String user)
throws OperationFailedException
providerFactory - the ProtocolProviderFactory which will create
the accountuser - the user identifier
OperationFailedExceptionpublic void loadAccount(ProtocolProviderService protocolProvider)
loadAccount in class AccountRegistrationWizardprotocolProvider - The ProtocolProviderService to load the
data from.public GibberishAccountRegistration getRegistration()
public Dimension getSize()
getSize in class AccountRegistrationWizardpublic Object getFirstPageIdentifier()
getFirstPageIdentifier in class AccountRegistrationWizardpublic Object getLastPageIdentifier()
getLastPageIdentifier in class AccountRegistrationWizardpublic String getUserNameExample()
getUserNameExample in class AccountRegistrationWizardpublic boolean isSimpleFormEnabled()
isSimpleFormEnabled in class AccountRegistrationWizardtrue if the simple "Sign in" form is enabled or
false otherwise.public 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
|
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 | |||||||||