|
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.impl.gui.main.account.EmptyAccountRegistrationForm
class EmptyAccountRegistrationForm
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.
| 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 | |
|---|---|
EmptyAccountRegistrationForm()
Creates the wizard. |
|
| Method Summary | |
|---|---|
Component |
getAdvancedForm()
Returns the advanced registration form. |
byte[] |
getIcon()
Returns null since we don't have any images associated with this form or no image in our case. |
byte[] |
getListIcon()
Called by the NewAccountDialog protocol combo renderer. |
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. |
Component |
getSimpleForm()
Returns our only wizard page. |
String |
getUserNameExample()
Returns an empty string since never used. |
boolean |
isModification()
Empty interface method implementation, unused in the case of the EmptyAccountRegistrationWizard |
boolean |
isSimpleFormEnabled()
Empty interface method implementation, unused in the case of the EmptyAccountRegistrationWizard |
boolean |
isWebSignupSupported()
Empty interface method implementation, unused in the case of the EmptyAccountRegistrationWizard |
void |
loadAccount(ProtocolProviderService protocolProvider)
Empty interface method implementation, unused in the case of the EmptyAccountRegistrationWizard |
void |
setModification(boolean isModification)
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 |
void |
webSignup()
Empty interface method implementation, unused in the case of the EmptyAccountRegistrationWizard |
| 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 EmptyAccountRegistrationForm()
| Method Detail |
|---|
public byte[] getListIcon()
getListIcon in interface AccountRegistrationFormpublic byte[] getIcon()
getIcon in interface AccountRegistrationFormpublic String getProtocolDescription()
getProtocolDescription in interface AccountRegistrationFormpublic String getProtocolName()
getProtocolName in interface AccountRegistrationFormpublic Component getSimpleForm()
getSimpleForm in interface AccountRegistrationFormpublic Component getAdvancedForm()
getAdvancedForm in interface AccountRegistrationFormpublic String getUserNameExample()
getUserNameExample in interface AccountRegistrationFormpublic boolean isModification()
EmptyAccountRegistrationWizard
isModification in interface AccountRegistrationFormtrue to indicate that this wizard is currently in
modification mode, false - otherwise.public boolean isSimpleFormEnabled()
EmptyAccountRegistrationWizard
isSimpleFormEnabled in interface AccountRegistrationFormtrue if the simple "Sign in" form is enabled or
false otherwise.public boolean isWebSignupSupported()
EmptyAccountRegistrationWizard
isWebSignupSupported in interface AccountRegistrationFormtrue if the web sign up is supported by the current
implementation, false - otherwisepublic void loadAccount(ProtocolProviderService protocolProvider)
EmptyAccountRegistrationWizard
loadAccount in interface AccountRegistrationFormprotocolProvider - The ProtocolProviderService to
load data from.public void setModification(boolean isModification)
EmptyAccountRegistrationWizard
setModification in interface AccountRegistrationFormisModification - indicates if this wizard is opened for modification
or for creating a new account.
public ProtocolProviderService signin()
throws OperationFailedException
EmptyAccountRegistrationWizard
signin in interface AccountRegistrationFormOperationFailedException
public ProtocolProviderService signin(String userName,
String password)
throws OperationFailedException
EmptyAccountRegistrationWizard
signin in interface AccountRegistrationFormuserName - the user name to sign in withpassword - the password to sign in with
OperationFailedException
public void webSignup()
throws UnsupportedOperationException
EmptyAccountRegistrationWizard
webSignup in interface AccountRegistrationFormUnsupportedOperationException - if the web sign up operation is
not supported by the current implementation.
|
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 | |||||||||