|
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.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
net.java.sip.communicator.util.swing.TransparentPanel
net.java.sip.communicator.plugin.jabberaccregwizz.JabberAccountRegistrationForm
public class JabberAccountRegistrationForm
The JabberAccountRegistrationForm.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JPanel |
|---|
JPanel.AccessibleJPanel |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
JabberAccountRegistrationForm(JabberAccountRegistrationWizard wizard)
Creates an instance of JabberAccountRegistrationForm. |
|
| Method Summary | |
|---|---|
void |
addValidatingPanel(ValidatingPanel panel)
Adds panel to the list of panels with values which need validation. |
boolean |
commitPage(JabberAccountRegistration registration)
Saves the user input when the "Next" wizard buttons is clicked. |
protected String |
getCreateAccountButtonLabel()
Return the string for add existing account button. |
protected String |
getCreateAccountLabel()
Return the string for create new account button. |
JabberAccountCreationFormService |
getCreateAccountService()
Returns an instance of CreateAccountService through which the user could create an account. |
protected String |
getExistingAccountLabel()
Return the string for add existing account button. |
protected String |
getHomeLinkLabel()
Return the string for home page link label. |
JabberAccountRegistration |
getRegistration()
Returns the current jabber registration holding all values. |
(package private) String |
getServerAddress()
Returns the server address. |
(package private) static String |
getServerFromUserName(String userName)
Return the server part of the jabber user name. |
Component |
getSimpleForm()
Returns a simple version of this registration form. |
static String |
getUserFromUserName(String userName)
Return the user part of the user name (i.e. |
String |
getUsernameExample()
Returns the username example. |
protected String |
getUsernameLabel()
Returns the display label used for the jabber id field. |
(package private) void |
init()
Initializes all panels, buttons, etc. |
boolean |
isModification()
Indicates if this wizard is modifying an existing account or is creating a new one. |
boolean |
isWebSignupSupported()
Returns true if the web sign up is supported by the current
implementation, false - otherwise. |
void |
loadAccount(AccountID accountID)
Loads the account with the given identifier. |
(package private) void |
reValidateInput()
Call this to trigger revalidation of all the input values and change the state of next/finish button. |
void |
setModification(boolean isModification)
Sets the isModification property. |
(package private) void |
setServerFieldAccordingToUIN(String userName)
Parse the server part from the jabber id and set it to server as default value. |
void |
webSignup()
Sign ups through the web. |
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JabberAccountRegistrationForm(JabberAccountRegistrationWizard wizard)
wizard - the parent wizard| Method Detail |
|---|
void init()
void setServerFieldAccordingToUIN(String userName)
userName - the account user namevoid reValidateInput()
public void addValidatingPanel(ValidatingPanel panel)
panel - ValidatingPanel.static String getServerFromUserName(String userName)
userName - the username.
public static String getUserFromUserName(String userName)
userName - the username.
String getServerAddress()
public boolean isModification()
true to indicate that this wizard is currently in
modification mode, false - otherwise.public boolean commitPage(JabberAccountRegistration registration)
registration - the JabberAccountRegistration
public void loadAccount(AccountID accountID)
accountID - the account identifierpublic Component getSimpleForm()
public void setModification(boolean isModification)
isModification - indicates if this form is created for modificationpublic String getUsernameExample()
public void webSignup()
public boolean isWebSignupSupported()
true if the web sign up is supported by the current
implementation, false - otherwise.
true if the web sign up is supported by the current
implementation, false - otherwisepublic JabberAccountCreationFormService getCreateAccountService()
protected String getUsernameLabel()
public JabberAccountRegistration getRegistration()
protected String getCreateAccountButtonLabel()
protected String getCreateAccountLabel()
protected String getExistingAccountLabel()
protected String getHomeLinkLabel()
|
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 | |||||||||