public class IrcAccountRegistrationWizard extends DesktopAccountRegistrationWizard
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CHAT_ROOM_PRESENCE_TASK
Repeated chat room presence task configuration key from
ProtocolProviderFactoryIrcImpl here to avoid having to import irc
protocol package directly.
|
static java.lang.String |
CONTACT_PRESENCE_TASK
Repeated contact presence task configuration key from
ProtocolProviderFactoryIrcImpl here to avoid having to import irc
protocol package directly.
|
static java.lang.String |
RESOLVE_DNS_THROUGH_PROXY
Property for resolving DNS names through configured proxy server.
|
static java.lang.String |
SASL_ENABLED
Property indicating SASL is enabled.
|
static java.lang.String |
SASL_ROLE
Property for SASL authorization role.
|
static java.lang.String |
SASL_USERNAME
Property name for SASL user.
|
Constructor and Description |
---|
IrcAccountRegistrationWizard(WizardContainer wizardContainer)
Creates an instance of IrcAccountRegistrationWizard.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getFirstPageIdentifier()
Returns the identifier of the page to show first in the wizard.
|
byte[] |
getIcon()
Implements the
AccountRegistrationWizard.getIcon method. |
java.lang.Object |
getLastPageIdentifier()
Returns the identifier of the page to show last in the wizard.
|
byte[] |
getPageImage()
Implements the
AccountRegistrationWizard.getPageImage
method. |
java.util.Iterator<WizardPage> |
getPages()
Returns the set of pages contained in this wizard.
|
java.lang.String |
getProtocolDescription()
Implements the
AccountRegistrationWizard.getProtocolDescription
method. |
java.lang.String |
getProtocolName()
Implements the
AccountRegistrationWizard.getProtocolName
method. |
IrcAccountRegistration |
getRegistration()
Returns the registration object, which will store all the data through
the wizard.
|
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 the size of this wizard.
|
java.util.Iterator<java.util.Map.Entry<java.lang.String,java.lang.String>> |
getSummary()
Returns the set of data that user has entered through this wizard.
|
java.lang.String |
getUserNameExample()
Returns an example string, which should indicate to the user how the
user name should look like.
|
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 coming
from the given protocolProvider.
|
ProtocolProviderService |
signin()
Defines the operations that will be executed when the user clicks on
the wizard "Signin" button.
|
ProtocolProviderService |
signin(java.lang.String userName,
java.lang.String password)
Defines the operations that will be executed when the user clicks on
the wizard "Signin" button.
|
accountRemoved, getForgotPasswordLink, getForgotPasswordLinkName, getWizardContainer, isAdvancedConfigurationEnabled, isHidden, isModification, isPreferredProtocol, isWebSignupSupported, setModification, setWizardContainer, webSignup
public static final java.lang.String CONTACT_PRESENCE_TASK
public static final java.lang.String CHAT_ROOM_PRESENCE_TASK
public static final java.lang.String SASL_ENABLED
public static final java.lang.String SASL_USERNAME
public static final java.lang.String SASL_ROLE
public static final java.lang.String RESOLVE_DNS_THROUGH_PROXY
public IrcAccountRegistrationWizard(WizardContainer wizardContainer)
wizardContainer
- the wizard container, where this wizard
is addedpublic byte[] getIcon()
AccountRegistrationWizard.getIcon
method.
Returns the icon to be used for this wizard.getIcon
in class AccountRegistrationWizard
public byte[] getPageImage()
AccountRegistrationWizard.getPageImage
method. Returns the image used to decorate the wizard pagegetPageImage
in class AccountRegistrationWizard
public java.lang.String getProtocolName()
AccountRegistrationWizard.getProtocolName
method. Returns the protocol name for this wizard.getProtocolName
in class AccountRegistrationWizard
public java.lang.String getProtocolDescription()
AccountRegistrationWizard.getProtocolDescription
method. Returns the description of the protocol for this wizard.getProtocolDescription
in class AccountRegistrationWizard
public java.util.Iterator<WizardPage> getPages()
getPages
in class AccountRegistrationWizard
public java.util.Iterator<java.util.Map.Entry<java.lang.String,java.lang.String>> getSummary()
getSummary
in class AccountRegistrationWizard
public ProtocolProviderService signin() throws OperationFailedException
signin
in class AccountRegistrationWizard
OperationFailedException
- if the operation didn't succeedpublic ProtocolProviderService signin(java.lang.String userName, java.lang.String password) throws OperationFailedException
signin
in class AccountRegistrationWizard
userName
- the user name to sign in withpassword
- the password to sign in withOperationFailedException
- if the operation didn't succeedpublic void loadAccount(ProtocolProviderService protocolProvider)
loadAccount
in class AccountRegistrationWizard
protocolProvider
- The ProtocolProviderService to load the
data from.public IrcAccountRegistration getRegistration()
public java.awt.Dimension getSize()
getSize
in class DesktopAccountRegistrationWizard
public java.lang.Object getFirstPageIdentifier()
getFirstPageIdentifier
in class AccountRegistrationWizard
public java.lang.Object getLastPageIdentifier()
getLastPageIdentifier
in class AccountRegistrationWizard
public java.lang.String getUserNameExample()
getUserNameExample
in class AccountRegistrationWizard
public boolean isSimpleFormEnabled()
isSimpleFormEnabled
in class AccountRegistrationWizard
true
if the simple "Sign in" form is enabled or
false
otherwise.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 form
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.